Type Alias rp2040_pac::rtc::rtc_0::R

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

Register RTC_0 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