Type Alias nrf52840_pac::saadc::inten::DONE_W

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

Field DONE writer - Enable or disable interrupt for DONE event

Aliased Type§

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

Implementations§

source§

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

source

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

Disable

source

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

Enable