[−][src]Enum nrf52832_pac::gpiote::config::POLARITY_A
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.
Value on reset: 0
Variants
0: Task mode: No effect on pin from OUT[n] task. Event mode: no IN[n] event generated on pin activity.
1: Task mode: Set pin from OUT[n] task. Event mode: Generate IN[n] event when rising edge on pin.
2: Task mode: Clear pin from OUT[n] task. Event mode: Generate IN[n] event when falling edge on pin.
3: Task mode: Toggle pin from OUT[n]. Event mode: Generate IN[n] when any change on pin.
Trait Implementations
impl Clone for POLARITY_A
[src]
fn clone(&self) -> POLARITY_A
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for POLARITY_A
[src]
impl Debug for POLARITY_A
[src]
impl From<POLARITY_A> for u8
[src]
fn from(variant: POLARITY_A) -> Self
[src]
impl PartialEq<POLARITY_A> for POLARITY_A
[src]
fn eq(&self, other: &POLARITY_A) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for POLARITY_A
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,