Type Definition atsaml21e16b::nvmctrl::ctrlb::SLEEPPRM_R
source · pub type SLEEPPRM_R = FieldReader<u8, SLEEPPRMSELECT_A>;
Expand description
Field SLEEPPRM
reader - Power Reduction Mode during Sleep
Implementations§
source§impl SLEEPPRM_R
impl SLEEPPRM_R
sourcepub fn variant(&self) -> Option<SLEEPPRMSELECT_A>
pub fn variant(&self) -> Option<SLEEPPRMSELECT_A>
Get enumerated values variant
sourcepub fn is_wakeonaccess(&self) -> bool
pub fn is_wakeonaccess(&self) -> bool
Checks if the value of the field is WAKEONACCESS
sourcepub fn is_wakeupinstant(&self) -> bool
pub fn is_wakeupinstant(&self) -> bool
Checks if the value of the field is WAKEUPINSTANT
sourcepub fn is_disabled(&self) -> bool
pub fn is_disabled(&self) -> bool
Checks if the value of the field is DISABLED