k210_pac::rtc::time

Type Alias R

Source
pub type R = R<u32, TIME>;
Expand description

Reader of register time

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn second(&self) -> SECOND_R

Bits 10:15 - Second. Range [0,59]

Source

pub fn minute(&self) -> MINUTE_R

Bits 16:21 - Minute. Range [0,59]

Source

pub fn hour(&self) -> HOUR_R

Bits 24:28 - Hour. Range [0,23]