Developer World
Spresense SDK Library v3.4.0-d5e7e77
gpio.h
1#ifndef __INCLUDE_ASMP_GPIO_H
2#define __INCLUDE_ASMP_GPIO_H
3
4#include <stdint.h>
5#include <arch/chip/pin.h>
6
7#ifdef __cplusplus
8#define EXTERN extern "C"
9extern "C"
10{
11#else
12#define EXTERN extern
13#endif
14
15/********************************************************************************
16 * Public Function Prototypes
17 ********************************************************************************/
18
19void board_gpio_write(uint32_t pin, int value);
20int board_gpio_read(uint32_t pin);
21
22#undef EXTERN
23#ifdef __cplusplus
24}
25#endif
26
27#endif /* __INCLUDE_ASMP_GPIO_H */
void board_gpio_write(uint32_t pin, int value)
int board_gpio_read(uint32_t pin)