Enum nrf5340_app_pac::usbd_ns::eventcause::SUSPEND_A
source · [−]pub enum SUSPEND_A {
NOT_DETECTED,
DETECTED,
}
Expand description
Signals that USB lines have been idle long enough for the device to enter suspend. Write ‘1’ to clear.
Value on reset: 0
Variants
NOT_DETECTED
0: Suspend not detected
DETECTED
1: Suspend detected
Trait Implementations
impl Copy for SUSPEND_A
impl StructuralPartialEq for SUSPEND_A
Auto Trait Implementations
impl RefUnwindSafe for SUSPEND_A
impl Send for SUSPEND_A
impl Sync for SUSPEND_A
impl Unpin for SUSPEND_A
impl UnwindSafe for SUSPEND_A
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