# W in k210_pac::rtc::alarm_date - Rust
Writer for register alarm_date
Keywords: rust, rustlang, rust-lang, W

# Type Definition k210_pac::rtc::alarm_date::W

source · [−]

    pub type W = W<u32, ALARM_DATE>;

Expand description

Writer for register alarm_date

## Implementations

source

### impl W

source

#### pub fn week(&mut self) -> WEEK_W<'_>

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

source

#### pub fn day(&mut self) -> DAY_W<'_>

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

source

#### pub fn month(&mut self) -> MONTH_W<'_>

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

source

#### pub fn year(&mut self) -> YEAR_W<'_>

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