Struct nrf52832_pac::gpiote::config::_POLARITYW
source · pub struct _POLARITYW<'a> { /* private fields */ }
Expand description
Proxy
Implementations§
source§impl<'a> _POLARITYW<'a>
impl<'a> _POLARITYW<'a>
sourcepub fn none(self) -> &'a mut W
pub fn none(self) -> &'a mut W
Task mode: No effect on pin from OUT[n] task. Event mode: no IN[n] event generated on pin activity.
sourcepub fn lo_to_hi(self) -> &'a mut W
pub fn lo_to_hi(self) -> &'a mut W
Task mode: Set pin from OUT[n] task. Event mode: Generate IN[n] event when rising edge on pin.
sourcepub fn hi_to_lo(self) -> &'a mut W
pub fn hi_to_lo(self) -> &'a mut W
Task mode: Clear pin from OUT[n] task. Event mode: Generate IN[n] event when falling edge on pin.