Struct nrf52840_pac::usbd::eventcause::W
source · pub struct W(/* private fields */);
Expand description
Register EVENTCAUSE
writer
Implementations§
source§impl W
impl W
sourcepub fn isooutcrc(&mut self) -> ISOOUTCRC_W<'_, 0>
pub fn isooutcrc(&mut self) -> ISOOUTCRC_W<'_, 0>
Bit 0 - CRC error was detected on isochronous OUT endpoint 8. Write ‘1’ to clear.
sourcepub fn suspend(&mut self) -> SUSPEND_W<'_, 8>
pub fn suspend(&mut self) -> SUSPEND_W<'_, 8>
Bit 8 - Signals that USB lines have been idle long enough for the device to enter suspend. Write ‘1’ to clear.
sourcepub fn resume(&mut self) -> RESUME_W<'_, 9>
pub fn resume(&mut self) -> RESUME_W<'_, 9>
Bit 9 - Signals that a RESUME condition (K state or activity restart) has been detected on USB lines. Write ‘1’ to clear.
sourcepub fn usbwuallowed(&mut self) -> USBWUALLOWED_W<'_, 10>
pub fn usbwuallowed(&mut self) -> USBWUALLOWED_W<'_, 10>
Bit 10 - USB MAC has been woken up and operational. Write ‘1’ to clear.
Methods from Deref<Target = W<EVENTCAUSE_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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