Microchip® Advanced Software Framework

twis_package_t Struct Reference

Information concerning the data transmission.

#include <twis.h>

Data Fields

uint32_t addr
 TWI address/commands to issue to the other chip (node). More...
 
uint8_t addr_length
 Length of the TWI data address segment (1-3 bytes). More...
 
void * buffer
 Pointer to the transmit buffer. More...
 
uint8_t chip
 TWI chip address to communicate with. More...
 
uint32_t length
 The number of bytes in the buffer. More...
 

uint32_t twis_package_t::addr

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

uint8_t twis_package_t::addr_length

Length of the TWI data address segment (1-3 bytes).

void* twis_package_t::buffer

Pointer to the transmit buffer.

uint8_t twis_package_t::chip

TWI chip address to communicate with.

uint32_t twis_package_t::length

The number of bytes in the buffer.