Crate gpio [] [src]

GPIO interface

The GPIO crate allows easy and fast access to GPIO pins. It aims to provide an ergonomic interface while being as fast as possible, enabling applications like bitbanging which require fast switching without complicating simpler tasks.

The core interface is defined using GpioValue and the GpioOut and GpioIn traits. Concrete implementations are available in submodules.

TODO

  • GpioInput trait
  • /dev/mem interface

Modules

sysfs

Linux /sys-fs based GPIO control

Enums

GpioValue

Traits

GpioOut