Crate libgpiod

Source
Expand description

libgpiod public API

This is the complete documentation of the public Rust API made available to users of libgpiod.

The API is logically split into several parts such as: GPIO chip & line operators, GPIO events handling etc.

Modules§

chip
GPIO chip related definitions.
line
GPIO chip line related definitions.
request
GPIO chip request related definitions.

Enums§

Error
Error codes for libgpiod operations.
OperationType
Operation types, used with OperationFailed() Error.

Functions§

crate_version
Get the API version of the libgpiod crate as a human-readable string.
gpiochip_devices
GPIO devices.
is_gpiochip_device
Check if the file pointed to by path is a GPIO chip character device.
libgpiod_version
Get the API version of the libgpiod library as a human-readable string.

Type Aliases§

Result
Result of libgpiod operations.