Type Alias rp2040_pac::rtc::irq_setup_1::R

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

Register IRQ_SETUP_1 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn sec(&self) -> SEC_R

Bits 0:5 - Seconds

source

pub fn min(&self) -> MIN_R

Bits 8:13 - Minutes

source

pub fn hour(&self) -> HOUR_R

Bits 16:20 - Hours

source

pub fn dotw(&self) -> DOTW_R

Bits 24:26 - Day of the week

source

pub fn sec_ena(&self) -> SEC_ENA_R

Bit 28 - Enable second matching

source

pub fn min_ena(&self) -> MIN_ENA_R

Bit 29 - Enable minute matching

source

pub fn hour_ena(&self) -> HOUR_ENA_R

Bit 30 - Enable hour matching

source

pub fn dotw_ena(&self) -> DOTW_ENA_R

Bit 31 - Enable day of the week matching