nrf52840_pac::usbd::eventcause

Type Alias RESUME_W

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

Field RESUME writer - Signals that a RESUME condition (K state or activity restart) has been detected on USB lines. Write ‘1’ to clear.

Aliased Type§

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

Implementations§

Source§

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

Source

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

Resume not detected

Source

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

Resume detected