pub enum SUSPR {
SUSPEND,
_Reserved(bool),
}
Expand description
Possible values of the field SUSP
Variants§
SUSPEND
no traffic has been received for 3 ms, indicating a suspend mode request from the USB bus
_Reserved(bool)
Reserved
Implementations§
Source§impl SUSPR
impl SUSPR
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_suspend(&self) -> bool
pub fn is_suspend(&self) -> bool
Checks if the value of the field is SUSPEND
Trait Implementations§
impl Copy for SUSPR
impl StructuralPartialEq for SUSPR
Auto Trait Implementations§
impl Freeze for SUSPR
impl RefUnwindSafe for SUSPR
impl Send for SUSPR
impl Sync for SUSPR
impl Unpin for SUSPR
impl UnwindSafe for SUSPR
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more