oled 1.0
OLED Graphics Control Library
|
Macro definitions for TWI/I2C communication flags and operations. More...
Go to the source code of this file.
Macros | |
#define | TWI_ACKNOWLEDGE 0x01 |
Flag representing a TWI acknowledgment (ACK). | |
#define | TWI_NACKNOWLEDGE 0x00 |
Flag representing a TWI not-acknowledgment (NACK). | |
#define | TWI_WRITE 0x00 |
#define | TWI_READ 0x01 |
Flag representing a TWI read operation. |
Macro definitions for TWI/I2C communication flags and operations.
This header file contains essential macros for handling TWI (Two-Wire Interface) communication.
#define TWI_ACKNOWLEDGE 0x01 |
Flag representing a TWI acknowledgment (ACK).
This macro defines the value used to indicate that an acknowledgment has been received on the TWI (I2C) bus. It is typically used to signal successful data reception or transmission acknowledgement.
#define TWI_NACKNOWLEDGE 0x00 |
Flag representing a TWI not-acknowledgment (NACK).
Flag representing a TWI write operation.
This macro defines the value used to indicate that a not-acknowledgment (NACK) has been received on the TWI (I2C) bus. It signals that the last transmitted byte was not acknowledged by the receiver.
This macro defines the value used to indicate a write command on the TWI (I2C) bus, where the master sends data to a slave device.
#define TWI_READ 0x01 |
Flag representing a TWI read operation.
This macro defines the value used to indicate a read command on the TWI (I2C) bus, where the master requests data from the slave device.
#define TWI_WRITE 0x00 |