# R in k210_pac::rtc::alarm_date - Rust
Reader of register alarm_date
Keywords: rust, rustlang, rust-lang, R

# Type Definition k210_pac::rtc::alarm_date::R

source · [−]

    pub type R = R<u32, ALARM_DATE>;

Expand description

Reader of register alarm_date

## Implementations

source

### impl R

source

#### pub fn week(&self) -> WEEK_R

Bits 0:2 - Week. Range [0,6]. 0 is Sunday.

source

#### pub fn day(&self) -> DAY_R

Bits 8:12 - Day. Range [1,31] or [1,30] or [1,29] or [1,28]

source

#### pub fn month(&self) -> MONTH_R

Bits 16:19 - Month. Range [1,12]

source

#### pub fn year(&self) -> YEAR_R

Bits 20:31 - Year. Range [0,99]