rp2040_pac::rtc::rtc_0

Type Alias 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