Type Definition atsam4s2a_pac::rtc::cr::TIMEVSEL_R

source ·
pub type TIMEVSEL_R = FieldReader<u8, TIMEVSEL_A>;
Expand description

Field TIMEVSEL reader - Time Event Selection

Implementations§

source§

impl TIMEVSEL_R

source

pub fn variant(&self) -> TIMEVSEL_A

Get enumerated values variant

source

pub fn is_minute(&self) -> bool

Checks if the value of the field is MINUTE

source

pub fn is_hour(&self) -> bool

Checks if the value of the field is HOUR

source

pub fn is_midnight(&self) -> bool

Checks if the value of the field is MIDNIGHT

source

pub fn is_noon(&self) -> bool

Checks if the value of the field is NOON