pub enum LOWPOWERR {
FORCENORMAL,
LOWPOWER,
}
Expand description
Possible values of the field LOWPOWER
Variants
FORCENORMAL
Software must write this value to exit low power mode and before performing a remote wake-up
LOWPOWER
Software must write this value to enter low power mode after DMA and software have finished interacting with the USB peripheral
Implementations
sourceimpl LOWPOWERR
impl LOWPOWERR
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)
sourcepub fn is_force_normal(&self) -> bool
pub fn is_force_normal(&self) -> bool
Checks if the value of the field is FORCENORMAL
sourcepub fn is_low_power(&self) -> bool
pub fn is_low_power(&self) -> bool
Checks if the value of the field is LOWPOWER
Trait Implementations
impl Copy for LOWPOWERR
impl StructuralPartialEq for LOWPOWERR
Auto Trait Implementations
impl RefUnwindSafe for LOWPOWERR
impl Send for LOWPOWERR
impl Sync for LOWPOWERR
impl Unpin for LOWPOWERR
impl UnwindSafe for LOWPOWERR
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