pub struct SLEEPPRM_R(_);
Expand description
Field SLEEPPRM
reader - Power Reduction Mode during Sleep
Implementations
sourceimpl SLEEPPRM_R
impl SLEEPPRM_R
sourcepub fn variant(&self) -> Option<SLEEPPRM_A>
pub fn variant(&self) -> Option<SLEEPPRM_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
Methods from Deref<Target = FieldReader<u8, SLEEPPRM_A>>
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0).
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1).
Trait Implementations
sourceimpl Deref for SLEEPPRM_R
impl Deref for SLEEPPRM_R
type Target = FieldReader<u8, SLEEPPRM_A>
type Target = FieldReader<u8, SLEEPPRM_A>
The resulting type after dereferencing.
Auto Trait Implementations
impl RefUnwindSafe for SLEEPPRM_R
impl Send for SLEEPPRM_R
impl Sync for SLEEPPRM_R
impl Unpin for SLEEPPRM_R
impl UnwindSafe for SLEEPPRM_R
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more