Information concerning the data transmission.
#include <twi_common.h>
Data Fields | |
uint8_t | addr [3] |
TWI address/commands to issue to the other chip (node). More... | |
int | addr_length |
Length of the TWI data address segment (1-3 bytes). More... | |
void * | buffer |
Where to find the data to be written. More... | |
char | chip |
TWI chip address to communicate with. More... | |
unsigned int | length |
How many bytes do we want to write. More... | |
bool | no_wait |
Whether to wait if bus is busy (false) or return immediately (true) More... | |
uint8_t twi_package_t::addr[3] |
TWI address/commands to issue to the other chip (node).
Referenced by main(), mxt_get_crc_value(), mxt_get_message_count(), mxt_probe_device(), mxt_read_config_object(), mxt_read_config_reg(), mxt_read_id_block(), mxt_read_message(), mxt_read_object_table(), mxt_write_config_object(), mxt_write_config_reg(), qt_write_regs(), ts_read_eeprom(), ts_write_eeprom(), twi_probe_device(), and twim_write_handler().
int twi_package_t::addr_length |
Length of the TWI data address segment (1-3 bytes).
Referenced by qt_read_regs(), run_twi_master_recv_test(), run_twi_master_send_test(), run_twi_slave_recv_test(), sha204p_wakeup(), ts75_copy_nonvol_vol_register(), ts75_copy_vol_nonvol_register(), ts75_probe_nonvol_register(), ts_read_eeprom(), ts_read_register(), ts_write_eeprom(), ts_write_register(), twi_master_transfer(), twi_probe_device(), and twim_write_handler().
void* twi_package_t::buffer |
Where to find the data to be written.
Referenced by mxt_validate_message(), sha204p_receive_response(), sha204p_wakeup(), ts75_copy_nonvol_vol_register(), ts75_copy_vol_nonvol_register(), ts75_probe_nonvol_register(), ts_read_eeprom(), ts_read_register(), ts_write_eeprom(), ts_write_register(), twi_probe_device(), twim_read_handler(), and twim_write_handler().
char twi_package_t::chip |
TWI chip address to communicate with.
Referenced by sha204p_receive_response(), sha204p_resync(), sha204p_send(), sha204p_wakeup(), ts75_copy_nonvol_vol_register(), ts75_copy_vol_nonvol_register(), ts75_probe_nonvol_register(), ts_construct_eeprom_address(), ts_read_register(), ts_write_eeprom(), ts_write_register(), twi_master_transfer(), and twi_probe_device().
unsigned int twi_package_t::length |
How many bytes do we want to write.
Referenced by sha204p_receive_response(), sha204p_wakeup(), ts75_copy_nonvol_vol_register(), ts75_copy_vol_nonvol_register(), ts75_probe_nonvol_register(), ts_read_eeprom(), ts_read_register(), ts_write_eeprom(), ts_write_register(), twi_probe_device(), twim_read_handler(), and twim_write_handler().
bool twi_package_t::no_wait |
Whether to wait if bus is busy (false) or return immediately (true)
Referenced by twi_master_transfer().