Type Definition atsame54p19a_pac::pm::sleepcfg::SLEEPMODE_R [−][src]
type SLEEPMODE_R = R<u8, SLEEPMODE_A>;
Reader of field SLEEPMODE
Implementations
impl SLEEPMODE_R
[src]
pub fn variant(&self) -> Variant<u8, SLEEPMODE_A>
[src]
Get enumerated values variant
pub fn is_idle(&self) -> bool
[src]
Checks if the value of the field is IDLE
pub fn is_standby(&self) -> bool
[src]
Checks if the value of the field is STANDBY
pub fn is_hibernate(&self) -> bool
[src]
Checks if the value of the field is HIBERNATE
pub fn is_backup(&self) -> bool
[src]
Checks if the value of the field is BACKUP
pub fn is_off(&self) -> bool
[src]
Checks if the value of the field is OFF