gpio_common.h File Reference

Low-level GPIO driver implementation for ESP8266. More...

Detailed Description

Low-level GPIO driver implementation for ESP8266.

Author
Gunar Schorcht gunar.nosp@m.@sch.nosp@m.orcht.nosp@m..net

Definition in file gpio_common.h.

Go to the source code of this file.

Enumerations

enum  _gpio_pin_usage_t {
  _GPIO = 0, _I2C, _PWM, _SPI,
  _SPIF, _UART
}
 Definition of possible GPIO usage types. More...
 

Variables

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_pin_usage_t _gpio_pin_usage [GPIO_PIN_NUMOF]
 Holds the usage type of each GPIO pin.
 

Enumeration Type Documentation

◆ _gpio_pin_usage_t

Definition of possible GPIO usage types.

Enumerator
_GPIO 

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

Definition at line 35 of file gpio_common.h.