embassy-nrf

Crates

git

Versions

nrf51

Flavors

Skip to main content

Module gpiote

Module gpiote 

Source
Expand description

GPIO task/event (GPIOTE) driver.

GPIOTE channels are driven by InputChannel and OutputChannel. Async waits on a single pin through the PORT event are provided by gpio::Input and friends in async mode, see gpio::InterruptHandler.

Structs§

InputChannel
GPIOTE channel driver in input mode
InterruptHandler
GPIOTE channel interrupt handler.
OutputChannel
GPIOTE channel driver in output mode

Enums§

InputChannelPolarity
Polarity for listening to events for GPIOTE input channels.
OutputChannelPolarity
Polarity of the OUT task operation for GPIOTE output channels.

Traits§

Channel
GPIOTE channel trait.
GpiotePin
A GPIO pin served by a GPIOTE instance.