Type Alias W

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

Writer for register CR

Aliased Type§

pub struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn wucksel(&mut self) -> WUCKSEL_W<'_>

Bits 0:2 - Wakeup clock selection

Source

pub fn tsedge(&mut self) -> TSEDGE_W<'_>

Bit 3 - Time-stamp event active edge

Source

pub fn refckon(&mut self) -> REFCKON_W<'_>

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

Source

pub fn bypshad(&mut self) -> BYPSHAD_W<'_>

Bit 5 - Bypass the shadow registers

Source

pub fn fmt(&mut self) -> FMT_W<'_>

Bit 6 - Hour format

Source

pub fn alrae(&mut self) -> ALRAE_W<'_>

Bit 8 - Alarm A enable

Source

pub fn alrbe(&mut self) -> ALRBE_W<'_>

Bit 9 - Alarm B enable

Source

pub fn wute(&mut self) -> WUTE_W<'_>

Bit 10 - Wakeup timer enable

Source

pub fn tse(&mut self) -> TSE_W<'_>

Bit 11 - Time stamp enable

Source

pub fn alraie(&mut self) -> ALRAIE_W<'_>

Bit 12 - Alarm A interrupt enable

Source

pub fn alrbie(&mut self) -> ALRBIE_W<'_>

Bit 13 - Alarm B interrupt enable

Source

pub fn wutie(&mut self) -> WUTIE_W<'_>

Bit 14 - Wakeup timer interrupt enable

Source

pub fn tsie(&mut self) -> TSIE_W<'_>

Bit 15 - Time-stamp interrupt enable

Source

pub fn add1h(&mut self) -> ADD1H_W<'_>

Bit 16 - Add 1 hour (summer time change)

Source

pub fn sub1h(&mut self) -> SUB1H_W<'_>

Bit 17 - Subtract 1 hour (winter time change)

Source

pub fn bkp(&mut self) -> BKP_W<'_>

Bit 18 - Backup

Source

pub fn cosel(&mut self) -> COSEL_W<'_>

Bit 19 - Calibration output selection

Source

pub fn pol(&mut self) -> POL_W<'_>

Bit 20 - Output polarity

Source

pub fn osel(&mut self) -> OSEL_W<'_>

Bits 21:22 - Output selection

Source

pub fn coe(&mut self) -> COE_W<'_>

Bit 23 - Calibration output enable

Source

pub fn itse(&mut self) -> ITSE_W<'_>

Bit 24 - timestamp on internal event enable