mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 09:32:43 +01:00
25 lines
283 B
C
25 lines
283 B
C
|
#ifndef DRIVER_GPIO_H
|
||
|
#define DRIVER_GPIO_H
|
||
|
|
||
|
#ifdef ESP_IDF_CODE
|
||
|
|
||
|
#include_next "driver/gpio.h"
|
||
|
|
||
|
#else
|
||
|
|
||
|
#include "hal/gpio_types.h"
|
||
|
|
||
|
#define GPIO_PIN_COUNT (SOC_GPIO_PIN_COUNT)
|
||
|
|
||
|
#endif
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif /* DRIVER_GPIO_H */
|