nrf52840_pac::gpiote::config

Type Alias OUTINIT_W

Source
pub type OUTINIT_W<'a, const O: u8> = BitWriter<'a, u32, CONFIG_SPEC, OUTINIT_A, O>;
Expand description

Field OUTINIT writer - When in task mode: Initial value of the output when the GPIOTE channel is configured. When in event mode: No effect.

Aliased Type§

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

Implementations§

Source§

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

Source

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

Task mode: Initial value of pin before task triggering is low

Source

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

Task mode: Initial value of pin before task triggering is high