24#ifndef __BOARDS_ARM_CXD56XX_SPRESENSE_INCLUDE_CXD56_GPIOIF_H
25#define __BOARDS_ARM_CXD56XX_SPRESENSE_INCLUDE_CXD56_GPIOIF_H
31#include <nuttx/config.h>
39#if defined(__cplusplus)
40#define EXTERN extern "C"
64#define PIN_PULLDOWN (2)
65#define PIN_BUSKEEPER (3)
75#define INT_HIGH_LEVEL (2)
76#define INT_LOW_LEVEL (3)
77#define INT_RISING_EDGE (4)
78#define INT_FALLING_EDGE (5)
79#define INT_BOTH_EDGE (7)
181 bool *filter,
bool *enabled);
197#if defined(__cplusplus)
void board_gpio_write(uint32_t pin, int value)
int board_gpio_intconfig(uint32_t pin, int mode, bool filter, xcpt_t isr)
int board_gpio_status(uint32_t pin, bool *input, bool *output, bool *drive, int *pull)
int board_gpio_config(uint32_t pin, int mode, bool input, bool drive, int pull)
int board_gpio_read(uint32_t pin)
int board_gpio_intstatus(uint32_t pin, int *mode, bool *filter, bool *enabled)
int board_gpio_int(uint32_t pin, bool enable)