[][src]Type Definition nrf52832_pac::gpiote::config::W

type W = W<u32, CONFIG>;

Writer for register CONFIG[%s]

Methods

impl W[src]

pub fn mode(&mut self) -> MODE_W[src]

Bits 0:1 - Mode

pub fn psel(&mut self) -> PSEL_W[src]

Bits 8:12 - GPIO number associated with SET[n], CLR[n] and OUT[n] tasks and IN[n] event

pub fn polarity(&mut self) -> POLARITY_W[src]

Bits 16:17 - When In task mode: Operation to be performed on output when OUT[n] task is triggered. When In event mode: Operation on input that shall trigger IN[n] event.

pub fn outinit(&mut self) -> OUTINIT_W[src]

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