pub type W = W<CTRL_SPEC>;
Expand description
Register CTRL
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
Source§impl W
impl W
Sourcepub fn rtc_enable(&mut self) -> RTC_ENABLE_W<'_, CTRL_SPEC>
pub fn rtc_enable(&mut self) -> RTC_ENABLE_W<'_, CTRL_SPEC>
Bit 0 - Enable RTC
Sourcepub fn force_notleapyear(&mut self) -> FORCE_NOTLEAPYEAR_W<'_, CTRL_SPEC>
pub fn force_notleapyear(&mut self) -> FORCE_NOTLEAPYEAR_W<'_, CTRL_SPEC>
Bit 8 - If set, leapyear is forced off.
Useful for years divisible by 100 but not by 400