Type Alias nrf52840_pac::usbd::inten::EP0DATADONE_W

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

Field EP0DATADONE writer - Enable or disable interrupt for EP0DATADONE event

Aliased Type§

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

Implementations§

source§

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

source

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

Disable

source

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

Enable