Struct nrf52840_hal::target::usbd::eventcause::W
source · pub struct W { /* private fields */ }
Expand description
Value to write to the register
Implementations
sourceimpl W
impl W
sourcepub fn reset_value() -> W
pub fn reset_value() -> W
Reset value of the register
sourcepub fn isooutcrc(&mut self) -> _ISOOUTCRCW<'_>
pub fn isooutcrc(&mut self) -> _ISOOUTCRCW<'_>
Bit 0 - CRC error was detected on isochronous OUT endpoint 8. Write ‘1’ to clear.
sourcepub fn suspend(&mut self) -> _SUSPENDW<'_>
pub fn suspend(&mut self) -> _SUSPENDW<'_>
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) -> _RESUMEW<'_>
pub fn resume(&mut self) -> _RESUMEW<'_>
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) -> _USBWUALLOWEDW<'_>
pub fn usbwuallowed(&mut self) -> _USBWUALLOWEDW<'_>
Bit 10 - USB MAC has been woken up and operational. Write ‘1’ to clear.
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