I2C master packet for read/write.
Structure to be used when transferring I2C master packets.
#include <i2c_master.h>
Data Fields | |
uint16_t | address |
Address to slave device. More... | |
uint8_t * | data |
Data array containing all data to be transferred. More... | |
uint16_t | data_length |
Length of data array. More... | |
bool | high_speed |
Use high speed transfer. More... | |
uint8_t | hs_master_code |
High speed mode master code (0000 1XXX), valid when high_speed is true. More... | |
bool | ten_bit_address |
Use 10-bit addressing. More... | |
uint16_t i2c_master_packet::address |
Address to slave device.
Referenced by _i2c_master_read_packet(), _i2c_master_write_packet(), adp_interface_read_response(), adp_interface_send(), at30tse_eeprom_read(), at30tse_eeprom_write(), at30tse_read_register(), at30tse_set_register_pointer(), at30tse_write_register(), edbg_eui_read_eui64(), io1_board_get_info(), main(), run_i2c_full_speed_test(), run_i2c_master_transfer_test(), and show_extension_boards_information().
uint8_t* i2c_master_packet::data |
Data array containing all data to be transferred.
Referenced by _i2c_master_read_packet(), _i2c_master_write_packet(), adp_interface_read_response(), edbg_eui_read_eui64(), i2c_master_read_bytes(), i2c_master_write_bytes(), io1_board_get_info(), main(), run_i2c_full_speed_test(), run_i2c_master_transfer_test(), and show_extension_boards_information().
uint16_t i2c_master_packet::data_length |
Length of data array.
Referenced by _i2c_master_read_packet(), _i2c_master_write_packet(), adp_interface_read_response(), edbg_eui_read_eui64(), i2c_master_read_bytes(), i2c_master_write_bytes(), io1_board_get_info(), main(), and show_extension_boards_information().
bool i2c_master_packet::high_speed |
Use high speed transfer.
Set to false if the feature is not supported by the device
Referenced by _i2c_master_read_packet(), _i2c_master_write_packet(), edbg_eui_read_eui64(), io1_board_get_info(), and show_extension_boards_information().
uint8_t i2c_master_packet::hs_master_code |
High speed mode master code (0000 1XXX), valid when high_speed is true.
Referenced by _i2c_master_read_packet(), _i2c_master_write_packet(), edbg_eui_read_eui64(), io1_board_get_info(), and show_extension_boards_information().
bool i2c_master_packet::ten_bit_address |
Use 10-bit addressing.
Set to false if the feature is not supported by the device
Referenced by _i2c_master_read_packet(), _i2c_master_write_packet(), edbg_eui_read_eui64(), io1_board_get_info(), and show_extension_boards_information().