#include <stdint.h>
Go to the source code of this file.
|
int | rc_gpio_init (int chip, int pin, int handle_flags) |
| Configures a gpio pin as input or output. More...
|
|
int | rc_gpio_set_value (int chip, int pin, int value) |
| Sets the value of a GPIO pin when in output mode. More...
|
|
int | rc_gpio_get_value (int chip, int pin) |
| Reads the value of a GPIO pin when in input mode or output mode. More...
|
|
int | rc_gpio_init_event (int chip, int pin, int handle_flags, int event_flags) |
| Initializes a pin for interrupt event polling and normal reading. More...
|
|
int | rc_gpio_poll (int chip, int pin, int timeout_ms, uint64_t *event_time_ns) |
| polls a pin when configured for interrupt event polling More...
|
|
void | rc_gpio_cleanup (int chip, int pin) |
| closes the file descriptor for a pin More...
|
|