Type Alias rp2040_pac::rtc::irq_setup_1::W
source · pub type W = W<IRQ_SETUP_1_SPEC>;
Expand description
Register IRQ_SETUP_1
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn sec(&mut self) -> SEC_W<'_, IRQ_SETUP_1_SPEC>
pub fn sec(&mut self) -> SEC_W<'_, IRQ_SETUP_1_SPEC>
Bits 0:5 - Seconds
sourcepub fn min(&mut self) -> MIN_W<'_, IRQ_SETUP_1_SPEC>
pub fn min(&mut self) -> MIN_W<'_, IRQ_SETUP_1_SPEC>
Bits 8:13 - Minutes
sourcepub fn hour(&mut self) -> HOUR_W<'_, IRQ_SETUP_1_SPEC>
pub fn hour(&mut self) -> HOUR_W<'_, IRQ_SETUP_1_SPEC>
Bits 16:20 - Hours
sourcepub fn dotw(&mut self) -> DOTW_W<'_, IRQ_SETUP_1_SPEC>
pub fn dotw(&mut self) -> DOTW_W<'_, IRQ_SETUP_1_SPEC>
Bits 24:26 - Day of the week
sourcepub fn sec_ena(&mut self) -> SEC_ENA_W<'_, IRQ_SETUP_1_SPEC>
pub fn sec_ena(&mut self) -> SEC_ENA_W<'_, IRQ_SETUP_1_SPEC>
Bit 28 - Enable second matching
sourcepub fn min_ena(&mut self) -> MIN_ENA_W<'_, IRQ_SETUP_1_SPEC>
pub fn min_ena(&mut self) -> MIN_ENA_W<'_, IRQ_SETUP_1_SPEC>
Bit 29 - Enable minute matching
sourcepub fn hour_ena(&mut self) -> HOUR_ENA_W<'_, IRQ_SETUP_1_SPEC>
pub fn hour_ena(&mut self) -> HOUR_ENA_W<'_, IRQ_SETUP_1_SPEC>
Bit 30 - Enable hour matching
sourcepub fn dotw_ena(&mut self) -> DOTW_ENA_W<'_, IRQ_SETUP_1_SPEC>
pub fn dotw_ena(&mut self) -> DOTW_ENA_W<'_, IRQ_SETUP_1_SPEC>
Bit 31 - Enable day of the week matching