Esp8266/Core/twi_arch.h File Reference
Go to the source code of this file.
Macros | |
#define | SDA_LOW() (GPES = (1 << twi_sda)) |
#define | SDA_HIGH() (GPEC = (1 << twi_sda)) |
#define | SDA_READ() ((GPI & (1 << twi_sda)) != 0) |
#define | SCL_LOW() (GPES = (1 << twi_scl)) |
#define | SCL_HIGH() (GPEC = (1 << twi_scl)) |
#define | SCL_READ() ((GPI & (1 << twi_scl)) != 0) |
#define | DEFAULT_SDA_PIN 2 |
#define | DEFAULT_SCL_PIN 0 |
Macro Definition Documentation
◆ DEFAULT_SCL_PIN
#define DEFAULT_SCL_PIN 0 |
◆ DEFAULT_SDA_PIN
#define DEFAULT_SDA_PIN 2 |
◆ SCL_HIGH
#define SCL_HIGH | ( | ) | (GPEC = (1 << twi_scl)) |
◆ SCL_LOW
#define SCL_LOW | ( | ) | (GPES = (1 << twi_scl)) |
◆ SCL_READ
#define SCL_READ | ( | ) | ((GPI & (1 << twi_scl)) != 0) |
◆ SDA_HIGH
#define SDA_HIGH | ( | ) | (GPEC = (1 << twi_sda)) |
◆ SDA_LOW
#define SDA_LOW | ( | ) | (GPES = (1 << twi_sda)) |
◆ SDA_READ
#define SDA_READ | ( | ) | ((GPI & (1 << twi_sda)) != 0) |