Available on
riot_module_periph_gpio
only.Expand description
Access to RIOT’s GPIO pins
The various configured GPIO types (InputGPIO, OutputGPIO, InOutGPIO) can be used through the embedded_hal::digital traits. As recommended for infallible types, they also provide identically named direct methods, which (for input pins) also work on shared reference.
Modules§
- impl_1 🔒
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