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)
 

Macro Definition Documentation

◆ 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)