Struct nrf52840_pac::usbd::eventcause::R
source · pub struct R(/* private fields */);
Expand description
Register EVENTCAUSE
reader
Implementations§
source§impl R
impl R
sourcepub fn isooutcrc(&self) -> ISOOUTCRC_R
pub fn isooutcrc(&self) -> ISOOUTCRC_R
Bit 0 - CRC error was detected on isochronous OUT endpoint 8. Write ‘1’ to clear.
sourcepub fn suspend(&self) -> SUSPEND_R
pub fn suspend(&self) -> SUSPEND_R
Bit 8 - Signals that USB lines have been idle long enough for the device to enter suspend. Write ‘1’ to clear.
sourcepub fn resume(&self) -> RESUME_R
pub fn resume(&self) -> RESUME_R
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(&self) -> USBWUALLOWED_R
pub fn usbwuallowed(&self) -> USBWUALLOWED_R
Bit 10 - USB MAC has been woken up and operational. Write ‘1’ to clear.
Methods from Deref<Target = R<EVENTCAUSE_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for R
impl RefUnwindSafe for R
impl Send for R
impl Sync for R
impl Unpin for R
impl UnwindSafe for R
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