Type Definition atsam4s2a_pac::rtc::cr::CALEVSEL_W

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

Field CALEVSEL writer - Calendar Event Selection

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)