Type Alias nrf52840_pac::usbd::inten::ENDEPIN0_W

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

Field ENDEPIN0 writer - Enable or disable interrupt for ENDEPIN[0] event

Aliased Type§

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

Implementations§

source§

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

source

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

Disable

source

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

Enable