Microchip® Advanced Software Framework

twi_packet Struct Reference

Information concerning the data transmission.

#include <twi.h>

Data Fields

uint8_t addr [3]
 TWI address/commands to issue to the other chip (node). More...
 
uint32_t addr_length
 Length of the TWI data address segment (1-3 bytes). More...
 
void * buffer
 Where to find the data to be transferred. More...
 
uint8_t chip
 TWI chip address to communicate with. More...
 
uint32_t length
 How many bytes do we want to transfer. More...