libpynq (release 5EWC0-2023 version 0.2.6 of 2023-10-24 17:28)
|
Go to the source code of this file.
Enumerations | |
enum | gpio_direction_t { GPIO_DIR_INPUT = 0 , GPIO_DIR_OUTPUT = 1 } |
enum | gpio_level_t { GPIO_LEVEL_LOW = 0 , GPIO_LEVEL_HIGH = 1 } |
Functions | |
void | gpio_init (void) |
void | gpio_destroy (void) |
void | gpio_reset_pin (const io_t pin) |
void | gpio_set_direction (const io_t pin, const gpio_direction_t direction) |
gpio_direction_t | gpio_get_direction (const io_t pin) |
void | gpio_set_level (const io_t pin, const gpio_level_t level) |
gpio_level_t | gpio_get_level (const io_t pin) |
void | gpio_reset (void) |
bool | gpio_is_initialized (void) |