#include <nuttx/config.h>
#include <stdint.h>
#include <stdbool.h>
#include <nuttx/irq.h>
Go to the source code of this file.
GPIO Interrupt Setting | |
GPIO interrupt level and edge trigger types | |
#define | INT_HIGH_LEVEL (2) /* High Level */ |
#define | INT_LOW_LEVEL (3) /* Low Level */ |
#define | INT_RISING_EDGE (4) /* Rising Edge */ |
#define | INT_FALLING_EDGE (5) /* Falling Edge */ |
#define | INT_BOTH_EDGE (7) /* Both Edge */ |
int | board_gpio_config (uint32_t pin, int mode, bool input, bool drive, int pull) |
int | board_gpio_status (uint32_t pin, bool *input, bool *output, bool *drive, int *pull) |
void | board_gpio_write (uint32_t pin, int value) |
int | board_gpio_read (uint32_t pin) |
int | board_gpio_intconfig (uint32_t pin, int mode, bool filter, xcpt_t isr) |
int | board_gpio_intstatus (uint32_t pin, int *mode, bool *filter, bool *enabled) |
int | board_gpio_int (uint32_t pin, bool enable) |