Type Definition atsaml21e16b::pm::sleepcfg::SLEEPMODE_R
source · pub type SLEEPMODE_R = FieldReader<u8, SLEEPMODESELECT_A>;
Expand description
Field SLEEPMODE
reader - Sleep Mode
Implementations§
source§impl SLEEPMODE_R
impl SLEEPMODE_R
sourcepub fn variant(&self) -> Option<SLEEPMODESELECT_A>
pub fn variant(&self) -> Option<SLEEPMODESELECT_A>
Get enumerated values variant
sourcepub fn is_standby(&self) -> bool
pub fn is_standby(&self) -> bool
Checks if the value of the field is STANDBY