gpio_common.h¶
Low-level GPIO driver implementation for ESP8266.
-
enum
_gpio_pin_usage_t
¶ - _GPIO
= 0
- pin used as standard GPIO
- _I2C
- pin used as I2C signal
- _PWM
- pin used as PWM output
- _SPI
- pin used as SPI interface
- _SPIF
- pin used as SPI flash interface
- _UART
- pin used as UART interface
- _GPIO
-
const uint8_t
_gpio_to_iomux
()¶ Map of GPIO pin numbers to IOMUX pin numbers.
-
const uint8_t
_iomux_to_gpio
()¶ Map of IOMUX pin numbers to GPIO pin numbers.
-
gpio_common.h::_gpio_pin_usage_t
_gpio_pin_usage
()¶ Holds the usage type of each GPIO pin.