Type Alias R

Source
pub type R = R<u32, CR>;
Expand description

Reader of register CR

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn wucksel(&self) -> WUCKSEL_R

Bits 0:2 - Wakeup clock selection

Source

pub fn tsedge(&self) -> TSEDGE_R

Bit 3 - Time-stamp event active edge

Source

pub fn refckon(&self) -> REFCKON_R

Bit 4 - 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 alrbe(&self) -> ALRBE_R

Bit 9 - Alarm B enable

Source

pub fn wute(&self) -> WUTE_R

Bit 10 - Wakeup timer enable

Source

pub fn tse(&self) -> TSE_R

Bit 11 - Time stamp enable

Source

pub fn alraie(&self) -> ALRAIE_R

Bit 12 - Alarm A interrupt enable

Source

pub fn alrbie(&self) -> ALRBIE_R

Bit 13 - Alarm B interrupt enable

Source

pub fn wutie(&self) -> WUTIE_R

Bit 14 - Wakeup timer interrupt enable

Source

pub fn tsie(&self) -> TSIE_R

Bit 15 - Time-stamp interrupt enable

Source

pub fn add1h(&self) -> ADD1H_R

Bit 16 - Add 1 hour (summer time change)

Source

pub fn sub1h(&self) -> SUB1H_R

Bit 17 - Subtract 1 hour (winter time change)

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

Source

pub fn itse(&self) -> ITSE_R

Bit 24 - timestamp on internal event enable