nrf52840_pac::gpiote::config

Type Alias MODE_W

Source
pub type MODE_W<'a, const O: u8> = FieldWriter<'a, u32, CONFIG_SPEC, u8, MODE_A, 2, O>;
Expand description

Field MODE writer - Mode

Aliased Type§

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

Implementations§

Source§

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

Source

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

Disabled. Pin specified by PSEL will not be acquired by the GPIOTE module.

Source

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

Event mode

Source

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

Task mode