Type Alias nrf52840_pac::usbd::eventcause::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