Struct nrf52832_pac::gpiote::config::W
source · pub struct W { /* private fields */ }
Expand description
Value to write to the register
Implementations§
source§impl W
impl W
sourcepub fn reset_value() -> W
pub fn reset_value() -> W
Reset value of the register
sourcepub fn psel(&mut self) -> _PSELW<'_>
pub fn psel(&mut self) -> _PSELW<'_>
Bits 8:12 - GPIO number associated with SET[n], CLR[n] and OUT[n] tasks and IN[n] event
sourcepub fn polarity(&mut self) -> _POLARITYW<'_>
pub fn polarity(&mut self) -> _POLARITYW<'_>
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.