Type Alias R

Source
pub type R = R<CRrs>;
Expand description

Register CR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn tsedge(&self) -> TSEDGE_R

Bit 3 - Time-stamp event active edge

Source

pub fn refckon(&self) -> REFCKON_R

Bit 4 - RTC_REFIN reference clock detection enable (50 or 60 Hz)

Source

pub fn bypshad(&self) -> BYPSHAD_R

Bit 5 - Bypass the shadow registers

Source

pub fn fmt(&self) -> FMT_R

Bit 6 - Hour format

Source

pub fn alrae(&self) -> ALRAE_R

Bit 8 - Alarm A enable

Source

pub fn tse(&self) -> TSE_R

Bit 11 - timestamp enable

Source

pub fn alraie(&self) -> ALRAIE_R

Bit 12 - Alarm A interrupt enable

Source

pub fn tsie(&self) -> TSIE_R

Bit 15 - Time-stamp interrupt enable

Source

pub fn bkp(&self) -> BKP_R

Bit 18 - Backup

Source

pub fn cosel(&self) -> COSEL_R

Bit 19 - Calibration output selection

Source

pub fn pol(&self) -> POL_R

Bit 20 - Output polarity

Source

pub fn osel(&self) -> OSEL_R

Bits 21:22 - Output selection

Source

pub fn coe(&self) -> COE_R

Bit 23 - Calibration output enable

Trait Implementations§

Source§

impl Debug for R

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more