[−][src]Type Definition saml10d16a::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_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_off(&self) -> bool
[src]
Checks if the value of the field is OFF