Type Alias rp2040_pac::rtc::irq_setup_0::R

source ·
pub type R = R<IRQ_SETUP_0_SPEC>;
Expand description

Register IRQ_SETUP_0 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn day(&self) -> DAY_R

Bits 0:4 - Day of the month (1..31)

source

pub fn month(&self) -> MONTH_R

Bits 8:11 - Month (1..12)

source

pub fn year(&self) -> YEAR_R

Bits 12:23 - Year

source

pub fn day_ena(&self) -> DAY_ENA_R

Bit 24 - Enable day matching

source

pub fn month_ena(&self) -> MONTH_ENA_R

Bit 25 - Enable month matching

source

pub fn year_ena(&self) -> YEAR_ENA_R

Bit 26 - Enable year matching

source

pub fn match_ena(&self) -> MATCH_ENA_R

Bit 28 - Global match enable. Don’t change any other value while this one is enabled

source

pub fn match_active(&self) -> MATCH_ACTIVE_R

Bit 29