Type Alias xmc4800::rtc::ctr::W

source ·
pub type W = W<CTR_SPEC>;
Expand description

Register CTR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn enb(&mut self) -> ENB_W<'_, CTR_SPEC>

Bit 0 - RTC Module Enable

source

pub fn tae(&mut self) -> TAE_W<'_, CTR_SPEC>

Bit 2 - Timer Alarm Enable for Hibernation Wake-up

source

pub fn esec(&mut self) -> ESEC_W<'_, CTR_SPEC>

Bit 8 - Enable Seconds Comparison for Hibernation Wake-up

source

pub fn emic(&mut self) -> EMIC_W<'_, CTR_SPEC>

Bit 9 - Enable Minutes Comparison for Hibernation Wake-up

source

pub fn ehoc(&mut self) -> EHOC_W<'_, CTR_SPEC>

Bit 10 - Enable Hours Comparison for Hibernation Wake-up

source

pub fn edac(&mut self) -> EDAC_W<'_, CTR_SPEC>

Bit 11 - Enable Days Comparison for Hibernation Wake-up

source

pub fn emoc(&mut self) -> EMOC_W<'_, CTR_SPEC>

Bit 13 - Enable Months Comparison for Hibernation Wake-up

source

pub fn eyec(&mut self) -> EYEC_W<'_, CTR_SPEC>

Bit 14 - Enable Years Comparison for Hibernation Wake-up

source

pub fn div(&mut self) -> DIV_W<'_, CTR_SPEC>

Bits 16:31 - RTC Clock Divider Value