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.
- Operation
Type - 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.