|
iPXE
|
GPIO operations. More...
#include <gpio.h>
Data Fields | |
| int(* | in )(struct gpios *gpios, struct gpio *gpio) |
| Get current GPIO input value. More... | |
| void(* | out )(struct gpios *gpios, struct gpio *gpio, int active) |
| Set current GPIO output value. More... | |
| int(* | config )(struct gpios *gpios, struct gpio *gpio, unsigned int config) |
| Configure GPIO pin. More... | |
Set current GPIO output value.
| gpios | GPIO controller |
| gpio | GPIO pin |
| active | Set pin to active state |
Definition at line 73 of file gpio.h.
Referenced by gpio_out().
Configure GPIO pin.
| gpios | GPIO controller |
| gpio | GPIO pin |
| config | Configuration |
| rc | Return status code |
Definition at line 82 of file gpio.h.
Referenced by gpio_config().
1.8.15