Struct nrf5340_app_pac::usbd_ns::eventcause::R
source · [−]pub struct R(_);
Expand description
Register EVENTCAUSE
reader
Implementations
sourceimpl 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
sourceimpl From<R<EVENTCAUSE_SPEC>> for R
impl From<R<EVENTCAUSE_SPEC>> for R
sourcefn from(reader: R<EVENTCAUSE_SPEC>) -> Self
fn from(reader: R<EVENTCAUSE_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
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