Struct nrf52811_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.

Writes raw bits to the field

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.