Module riot_wrappers::gpio

source ·
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::v2] traits. As recommended for infallible types, they also provide identically named direct methods, which (for input pins) also work on shared reference.

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§