Module riot_wrappers::gpio

source ·
Expand description

Access to RIOT’s GPIO pins

The various configured GPIO types (InputGPIO, OutputGPIO, InOutGPIO) can be used through the embedded_hal::digital::v2 traits.

Structs

A Rust representation of RIOT’s gpio_t, representing a single pin in no particular configuration.
A GPIO configured and usable for input and output
A GPIO configured and usable for input
A GPIO configured and usable for output

Enums

The subset of gpio_mode_t equivalents usable when creating an InOutGPIO
The subset of gpio_mode_t equivalents usable when creating an InputGPIO
The subset of gpio_mode_t equivalents usable when creating an OutputGPIO