Struct atsamd21e18a::rtc::mode2::alarm::R [−][src]
pub struct R { /* fields omitted */ }
Value read from the register
Methods
impl R
[src]
impl R
pub fn bits(&self) -> u32
[src]
pub fn bits(&self) -> u32
Value of the register as raw bits
pub fn second(&self) -> SECONDR
[src]
pub fn second(&self) -> SECONDR
Bits 0:5 - Second
pub fn minute(&self) -> MINUTER
[src]
pub fn minute(&self) -> MINUTER
Bits 6:11 - Minute
pub fn hour(&self) -> HOURR
[src]
pub fn hour(&self) -> HOURR
Bits 12:16 - Hour
pub fn day(&self) -> DAYR
[src]
pub fn day(&self) -> DAYR
Bits 17:21 - Day
pub fn month(&self) -> MONTHR
[src]
pub fn month(&self) -> MONTHR
Bits 22:25 - Month
pub fn year(&self) -> YEARR
[src]
pub fn year(&self) -> YEARR
Bits 26:31 - Year