XCORE SDK
XCORE Software Development Kit
|
#include <i2c.h>
Callback group representing callback events that can occur during the operation of the I2C slave task. Must be initialized by the application prior to passing it to one of the I2C tasks.
I2C_CALLBACK_ATTR ack_read_request_t i2c_callback_group_t::ack_read_request |
Pointer to the application's ack_read_request_t function to be called by the I2C device
I2C_CALLBACK_ATTR ack_write_request_t i2c_callback_group_t::ack_write_request |
Pointer to the application's ack_write_request_t function to be called by the I2C device
void* i2c_callback_group_t::app_data |
Pointer to application specific data which is passed to each callback.
I2C_CALLBACK_ATTR master_requires_data_t i2c_callback_group_t::master_requires_data |
Pointer to the application's master_requires_data_t function to be called by the I2C device
I2C_CALLBACK_ATTR master_sent_data_t i2c_callback_group_t::master_sent_data |
Pointer to the application's master_sent_data_t function to be called by the I2C device
I2C_CALLBACK_ATTR shutdown_t i2c_callback_group_t::shutdown |
Pointer to the application's shutdown_t function to be called by the I2C device
I2C_CALLBACK_ATTR stop_bit_t i2c_callback_group_t::stop_bit |
Pointer to the application's stop_bit_t function to be called by the I2C device