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"
9
extern
"C"
10
{
11
#else
12
#define EXTERN extern
13
#endif
14
15
/********************************************************************************
16
* Public Function Prototypes
17
********************************************************************************/
18
19
void
board_gpio_write
(uint32_t pin,
int
value);
20
int
board_gpio_read
(uint32_t pin);
21
22
#undef EXTERN
23
#ifdef __cplusplus
24
}
25
#endif
26
27
#endif
/* __INCLUDE_ASMP_GPIO_H */
board_gpio_write
void board_gpio_write(uint32_t pin, int value)
board_gpio_read
int board_gpio_read(uint32_t pin)
spresense
sdk
modules
include
asmp
gpio.h
Generated by
1.9.4