Type Alias atsame54n::rtc::mode2::clock::HOUR_R

source ·
pub type HOUR_R = FieldReader<HOURSELECT_A>;
Expand description

Field HOUR reader - Hour

Aliased Type§

struct HOUR_R { /* private fields */ }

Implementations§

source§

impl HOUR_R

source

pub const fn variant(&self) -> Option<HOURSELECT_A>

Get enumerated values variant

source

pub fn is_am(&self) -> bool

AM when CLKREP in 12-hour

source

pub fn is_pm(&self) -> bool

PM when CLKREP in 12-hour