Skip to content

Instantly share code, notes, and snippets.

@smccarney
Created December 16, 2023 04:34
Show Gist options
  • Save smccarney/659876b718f47b4b82da62a0dba9086e to your computer and use it in GitHub Desktop.
Save smccarney/659876b718f47b4b82da62a0dba9086e to your computer and use it in GitHub Desktop.
gpio.md

gpio

Description

A General Purpose Input/Output (GPIO) that can be read to obtain the pgood status of a voltage rail.

GPIO values are read using the libgpiod interface.

Properties

Name Required Type Description
line yes number The libgpiod line offset of the GPIO.
active_low no boolean (true or false) If true, the GPIO value 0 indicates a true pgood status. If false, the GPIO value 1 indicates a true pgood status. The default value of this property is false.

Example

{
    "line": 60
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment