Type Alias atsame54n::rtc::mode2::clock::HOUR_W

source ·
pub type HOUR_W<'a, REG, const O: u8> = FieldWriter<'a, REG, 5, O, HOURSELECT_A>;
Expand description

Field HOUR writer - Hour

Aliased Type§

struct HOUR_W<'a, REG, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, REG, const O: u8> HOUR_W<'a, REG, O>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn am(self) -> &'a mut W<REG>

AM when CLKREP in 12-hour

source

pub fn pm(self) -> &'a mut W<REG>

PM when CLKREP in 12-hour