Type Alias rp2040_pac::rtc::irq_setup_0::W
source · pub type W = W<IRQ_SETUP_0_SPEC>;
Expand description
Register IRQ_SETUP_0
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn day(&mut self) -> DAY_W<'_, IRQ_SETUP_0_SPEC>
pub fn day(&mut self) -> DAY_W<'_, IRQ_SETUP_0_SPEC>
Bits 0:4 - Day of the month (1..31)
sourcepub fn month(&mut self) -> MONTH_W<'_, IRQ_SETUP_0_SPEC>
pub fn month(&mut self) -> MONTH_W<'_, IRQ_SETUP_0_SPEC>
Bits 8:11 - Month (1..12)
sourcepub fn year(&mut self) -> YEAR_W<'_, IRQ_SETUP_0_SPEC>
pub fn year(&mut self) -> YEAR_W<'_, IRQ_SETUP_0_SPEC>
Bits 12:23 - Year
sourcepub fn day_ena(&mut self) -> DAY_ENA_W<'_, IRQ_SETUP_0_SPEC>
pub fn day_ena(&mut self) -> DAY_ENA_W<'_, IRQ_SETUP_0_SPEC>
Bit 24 - Enable day matching
sourcepub fn month_ena(&mut self) -> MONTH_ENA_W<'_, IRQ_SETUP_0_SPEC>
pub fn month_ena(&mut self) -> MONTH_ENA_W<'_, IRQ_SETUP_0_SPEC>
Bit 25 - Enable month matching
sourcepub fn year_ena(&mut self) -> YEAR_ENA_W<'_, IRQ_SETUP_0_SPEC>
pub fn year_ena(&mut self) -> YEAR_ENA_W<'_, IRQ_SETUP_0_SPEC>
Bit 26 - Enable year matching
sourcepub fn match_ena(&mut self) -> MATCH_ENA_W<'_, IRQ_SETUP_0_SPEC>
pub fn match_ena(&mut self) -> MATCH_ENA_W<'_, IRQ_SETUP_0_SPEC>
Bit 28 - Global match enable. Don’t change any other value while this one is enabled