Type Alias nrf52840_pac::twis0::inten::ERROR_W

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

Field ERROR writer - Enable or disable interrupt for ERROR event

Aliased Type§

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

Implementations§

source§

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

source

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

Disable

source

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

Enable