Crate gpiocdev_uapi

source ·
Expand description

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

Modules§

  • This module implements GPIO ABI v1 which was released in Linux v4.8.
  • This module implements GPIO ABI v2 which is the current version of the ABI, released in Linux v5.10.

Structs§

  • An error number returned by a kernel ioctl call.
  • A uAPI name string, common to ABI v1 and v2.
  • A failure to validate a struct returned from a system call.

Enums§

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 Aliases§