[][src]Type Definition k210_pac::rtc::alarm_date::R

type R = R<u32, ALARM_DATE>;

Reader of register alarm_date

Methods

impl R[src]

pub fn week(&self) -> WEEK_R[src]

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

pub fn day(&self) -> DAY_R[src]

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

pub fn month(&self) -> MONTH_R[src]

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

pub fn year(&self) -> YEAR_R[src]

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