XCORE SDK
XCORE Software Development Kit
Public Attributes | List of all members
i2c_callback_group_t Struct Reference

#include <i2c.h>

Public Attributes

I2C_CALLBACK_ATTR ack_read_request_t ack_read_request
 
I2C_CALLBACK_ATTR ack_write_request_t ack_write_request
 
I2C_CALLBACK_ATTR master_requires_data_t master_requires_data
 
I2C_CALLBACK_ATTR master_sent_data_t master_sent_data
 
I2C_CALLBACK_ATTR stop_bit_t stop_bit
 
I2C_CALLBACK_ATTR shutdown_t shutdown
 
void * app_data
 

Detailed Description

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.

Member Data Documentation

◆ ack_read_request

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

◆ ack_write_request

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

◆ app_data

void* i2c_callback_group_t::app_data

Pointer to application specific data which is passed to each callback.

◆ master_requires_data

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

◆ master_sent_data

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

◆ shutdown

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

◆ stop_bit

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


The documentation for this struct was generated from the following file: