23#include "driver/gpio.h"
27#define GPIO_pinWrite(gpioNum, state) gpio_set_level(gpioNum, state)
28#define GPIO_pinRead(gpioNum) gpio_get_level(gpioNum)
void(* gpio_intr_handler)(void *arg)
GPIO interrupt handler callback function. The application should define it and provide it in GPIO_pin...
Definition: lib_gpio.h:35
void GPIO_pinMode(gpio_num_t, gpio_mode_t, GPIO_INT_TYPE, gpio_intr_handler)
Configure GPIO pin, mode, interrupt & interrupt handler.