I2C slave packet for read/write.
Structure to be used when transferring I2C slave packets.
#include <i2c_slave.h>
Data Fields | |
uint8_t * | data |
Data array containing all data to be transferred. More... | |
uint16_t | data_length |
Length of data array. More... | |
uint8_t* i2c_slave_packet::data |
Data array containing all data to be transferred.
Referenced by i2c_read_request_callback(), i2c_slave_read_packet_job(), i2c_slave_read_packet_wait(), i2c_slave_read_request_callback(), i2c_slave_write_packet_job(), i2c_slave_write_packet_wait(), i2c_slave_write_request_callback(), i2c_write_request_callback(), and main().
uint16_t i2c_slave_packet::data_length |