Type Definition atsam4s2a_pac::rtc::cr::CALEVSEL_R

source ·
pub type CALEVSEL_R = FieldReader<u8, CALEVSEL_A>;
Expand description

Field CALEVSEL reader - Calendar Event Selection

Implementations§

source§

impl CALEVSEL_R

source

pub fn variant(&self) -> Option<CALEVSEL_A>

Get enumerated values variant

source

pub fn is_week(&self) -> bool

Checks if the value of the field is WEEK

source

pub fn is_month(&self) -> bool

Checks if the value of the field is MONTH

source

pub fn is_year(&self) -> bool

Checks if the value of the field is YEAR