I2C Master Status¶
Macros to check current I2C master status returned by Cy_SCB_I2C_MasterGetStatus function.
Each I2C master status is encoded in a separate bit, therefore multiple bits may be set to indicate the current status.
All Write data has been loaded into the TX FIFO.
The slave NACKed the address.
Write completed before all bytes were sent (last byte was NAKed)
The master lost arbitration, the transaction was aborted.
The master detected an erroneous start or stop, the transaction was aborted.
The master transaction was aborted and the slave transaction is on-going because the slave was addressed before the master generated a start.