Microchip® Advanced Software Framework

twi_package_t Struct Reference

Information concerning the data transmission.

#include <twim.h>

Data Fields

unsigned int addr
 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...
 

unsigned int twi_package_t::addr

TWI address/commands to issue to the other chip (node).

Referenced by twi_master_read(), twi_probe(), twim_read_packet(), and twim_write_packet().

int twi_package_t::addr_length
void* twi_package_t::buffer
unsigned int twi_package_t::length