Type Alias rp2040_pac::rtc::rtc_1::R

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

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