Struct nrf52832_hal::pac::gpiote::config::POLARITY_W [−][src]
pub struct POLARITY_W<'a> { /* fields omitted */ }
Expand description
Field POLARITY
writer - 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.
Implementations
Writes variant
to the field
Task mode: No effect on pin from OUT[n] task. Event mode: no IN[n] event generated on pin activity.
Task mode: Set pin from OUT[n] task. Event mode: Generate IN[n] event when rising edge on pin.
Task mode: Clear pin from OUT[n] task. Event mode: Generate IN[n] event when falling edge on pin.
Task mode: Toggle pin from OUT[n]. Event mode: Generate IN[n] when any change on pin.
Auto Trait Implementations
impl<'a> RefUnwindSafe for POLARITY_W<'a>
impl<'a> Send for POLARITY_W<'a>
impl<'a> Sync for POLARITY_W<'a>
impl<'a> Unpin for POLARITY_W<'a>
impl<'a> !UnwindSafe for POLARITY_W<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Casts the value.
Casts the value.
Performs the conversion.
Performs the conversion.
Casts the value.
OverflowingCasts the value.
Casts the value.
Casts the value.
Casts the value.
UnwrappedCasts the value.
Casts the value.
WrappingCasts the value.