[−][src]Type Definition nrf52832_pac::gpiote::config::R
type R = R<u32, CONFIG>;
Reader of register CONFIG[%s]
Methods
impl R
[src]
pub fn mode(&self) -> MODE_R
[src]
Bits 0:1 - Mode
pub fn psel(&self) -> PSEL_R
[src]
Bits 8:12 - GPIO number associated with SET[n], CLR[n] and OUT[n] tasks and IN[n] event
pub fn polarity(&self) -> POLARITY_R
[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(&self) -> OUTINIT_R
[src]
Bit 20 - When in task mode: Initial value of the output when the GPIOTE channel is configured. When in event mode: No effect.