Type Alias atsame70n21b::rtc::cr::CALEVSEL_R

source ·
pub type CALEVSEL_R = FieldReader<CALEVSELSELECT_A>;
Expand description

Field CALEVSEL reader - Calendar Event Selection

Aliased Type§

struct CALEVSEL_R { /* private fields */ }

Implementations§

source§

impl CALEVSEL_R

source

pub fn variant(&self) -> Option<CALEVSELSELECT_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