twi_package_t Struct Reference

#include <twi.h>


Detailed Description

Information concerning the data transmission.

Definition at line 86 of file twi.h.


Data Fields

unsigned int addr
 TWI address/commands to issue to the other chip (node).
int addr_length
 Length of the TWI data address segment (1-3 bytes).
void * buffer
 Where to find the data to be written.
char chip
 TWI chip address to communicate with.
unsigned int length
 How many bytes do we want to write.

Field Documentation

unsigned int twi_package_t::addr

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

Definition at line 91 of file twi.h.

Referenced by main(), twi_master_read(), twi_master_write(), twi_master_write_ex(), and twi_probe().

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

Definition at line 93 of file twi.h.

Referenced by main(), twi_master_read(), twi_master_write(), twi_master_write_ex(), and twi_probe().

Where to find the data to be written.

Definition at line 95 of file twi.h.

Referenced by main(), twi_master_read(), twi_master_write(), twi_master_write_ex(), and twi_probe().

TWI chip address to communicate with.

Definition at line 89 of file twi.h.

Referenced by main(), twi_master_read(), twi_master_write(), twi_master_write_ex(), and twi_probe().

unsigned int twi_package_t::length

How many bytes do we want to write.

Definition at line 97 of file twi.h.

Referenced by main(), twi_master_read(), twi_master_write(), twi_master_write_ex(), and twi_probe().


Generated on Fri Feb 19 02:27:08 2010 for AVR32 - TWI Driver - Single-Master Mode by  doxygen 1.5.5