I2C Address Callback Events

group group_scb_i2c_macros_addr_callback_events

Macros to check I2C address events passed by cy_cb_scb_i2c_handle_addr_t callback.

Each event is encoded in a separate bit and therefore it is possible to notify about multiple events.

Defines

CY_SCB_I2C_GENERAL_CALL_EVENT

Indicates the slave was addressed by the general call address.

CY_SCB_I2C_ADDR_IN_FIFO_EVENT

The slave address is in the RX FIFO.

Note that the address must be read from the RX FIFO using the Cy_SCB_ReadRxFifo function.