Type Alias atsame70n21b::rtc::cr::CALEVSEL_W

source ·
pub type CALEVSEL_W<'a, const O: u8> = FieldWriter<'a, CR_SPEC, 2, O, CALEVSELSELECT_A>;
Expand description

Field CALEVSEL writer - Calendar Event Selection

Aliased Type§

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

Implementations§

source§

impl<'a, const O: u8> CALEVSEL_W<'a, O>

source

pub fn week(self) -> &'a mut W

Week change (every Monday at time 00:00:00)

source

pub fn month(self) -> &'a mut W

Month change (every 01 of each month at time 00:00:00)

source

pub fn year(self) -> &'a mut W

Year change (every January 1 at time 00:00:00)