Type Alias rp2040_pac::rtc::setup_0::W
source · pub type W = W<SETUP_0_SPEC>;
Expand description
Register SETUP_0
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn day(&mut self) -> DAY_W<'_, SETUP_0_SPEC>
pub fn day(&mut self) -> DAY_W<'_, SETUP_0_SPEC>
Bits 0:4 - Day of the month (1..31)
sourcepub fn month(&mut self) -> MONTH_W<'_, SETUP_0_SPEC>
pub fn month(&mut self) -> MONTH_W<'_, SETUP_0_SPEC>
Bits 8:11 - Month (1..12)
sourcepub fn year(&mut self) -> YEAR_W<'_, SETUP_0_SPEC>
pub fn year(&mut self) -> YEAR_W<'_, SETUP_0_SPEC>
Bits 12:23 - Year