Type Alias nrf52840_pac::usbd::inten::USBEVENT_W

source ·
pub type USBEVENT_W<'a, const O: u8> = BitWriter<'a, u32, INTEN_SPEC, USBEVENT_A, O>;
Expand description

Field USBEVENT writer - Enable or disable interrupt for USBEVENT event

Aliased Type§

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

Implementations§

source§

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

source

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

Disable

source

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

Enable