Type Alias rp2040_pac::rtc::ctrl::R
source · pub type R = R<CTRL_SPEC>;
Expand description
Register CTRL
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
source§impl R
impl R
sourcepub fn rtc_enable(&self) -> RTC_ENABLE_R
pub fn rtc_enable(&self) -> RTC_ENABLE_R
Bit 0 - Enable RTC
sourcepub fn rtc_active(&self) -> RTC_ACTIVE_R
pub fn rtc_active(&self) -> RTC_ACTIVE_R
Bit 1 - RTC enabled (running)
sourcepub fn force_notleapyear(&self) -> FORCE_NOTLEAPYEAR_R
pub fn force_notleapyear(&self) -> FORCE_NOTLEAPYEAR_R
Bit 8 - If set, leapyear is forced off.
Useful for years divisible by 100 but not by 400