[−][src]Type Definition atsamd51g19a::pm::sleepcfg::SLEEPMODE_R
type SLEEPMODE_R = R<u8, SLEEPMODE_A>;
Reader of field SLEEPMODE
Methods
impl SLEEPMODE_R
[src]
pub fn variant(&self) -> Variant<u8, SLEEPMODE_A>
[src]
Get enumerated values variant
pub fn is_idle0(&self) -> bool
[src]
Checks if the value of the field is IDLE0
pub fn is_idle1(&self) -> bool
[src]
Checks if the value of the field is IDLE1
pub fn is_idle2(&self) -> bool
[src]
Checks if the value of the field is IDLE2
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