Expand description

A thin but safe Rust layer around the Linux GPIO uAPI.

Modules

This module implements GPIO ABI v2 which is the current version of the ABI, released in Linux v5.10.

Structs

A uAPI name string, common to ABI v1 and v2.
A failure to validate a struct returned from a system call.

Enums

Errors returned by gpiocdev_uapi functions.

Constants

The maximum number of bytes stored in a Name.
The maximum number of lines that may be requested in a single request.

Functions

Check if the file has an event available to read.
Read an event from a chip or request file descriptor.
Wait for the file to have an event available to read.

Type Definitions

The result returned by gpiocdev_uapi functions.