Information concerning the data transmission.
#include <twim.h>
Data Fields | |
uint8_t | addr [3] |
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 |
Where to find the data to be written. More... | |
uint32_t | chip |
TWI chip address to communicate with. More... | |
uint32_t | 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 twim_package_t::addr[3] |
TWI address/commands to issue to the other chip (node).
Referenced by twim_read_packet(), and twim_write_packet().
uint8_t twim_package_t::addr_length |
Length of the TWI data address segment (1-3 bytes).
Referenced by twim_read_packet(), and twim_write_packet().
void* twim_package_t::buffer |
Where to find the data to be written.
Referenced by ISR(), twim_read_packet(), and twim_write_packet().
uint32_t twim_package_t::chip |
TWI chip address to communicate with.
Referenced by twim_read_packet(), and twim_write_packet().
uint32_t twim_package_t::length |
How many bytes do we want to write.
Referenced by ISR(), twim_read_packet(), and twim_write_packet().
bool twim_package_t::no_wait |
Whether to wait if bus is busy (false) or return immediately (true)