nrf52840_pac::usbd::eventcause

Type Alias SUSPEND_W

Source
pub type SUSPEND_W<'a, const O: u8> = BitWriter1C<'a, u32, EVENTCAUSE_SPEC, SUSPEND_A, O>;
Expand description

Field SUSPEND writer - Signals that USB lines have been idle long enough for the device to enter suspend. Write ‘1’ to clear.

Aliased Type§

struct SUSPEND_W<'a, const O: u8> { /* private fields */ }

Implementations§

Source§

impl<'a, const O: u8> SUSPEND_W<'a, O>

Source

pub fn not_detected(self) -> &'a mut W

Suspend not detected

Source

pub fn detected(self) -> &'a mut W

Suspend detected