18.6.4.2 Enum i2c_slave_callback
The available callback types for the I2C slave.
Enum value | Description |
---|---|
I2C_SLAVE_CALLBACK_WRITE_COMPLETE |
Callback for packet write complete |
I2C_SLAVE_CALLBACK_READ_COMPLETE |
Callback for packet read complete |
I2C_SLAVE_CALLBACK_READ_REQUEST |
Callback for read request from master - can be used to issue a write |
I2C_SLAVE_CALLBACK_WRITE_REQUEST |
Callback for write request from master - can be used to issue a read |
I2C_SLAVE_CALLBACK_ERROR |
Callback for error |
I2C_SLAVE_CALLBACK_ERROR_LAST_TRANSFER |
Callback for error in last transfer. Discovered on a new address interrupt. |