twi_package_t Struct Reference

#include <twi.h>


Detailed Description

Information concerning the data transmission

Definition at line 103 of file twi.h.


Data Fields

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

Field Documentation

unsigned int twi_package_t::addr

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

Definition at line 110 of file twi.h.

Referenced by main(), twi_read(), and twi_write().

int twi_package_t::addr_length

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

Definition at line 113 of file twi.h.

Referenced by main(), twi_read(), and twi_write().

char* twi_package_t::buffer

buffer: Where to find the data to be written

Definition at line 116 of file twi.h.

Referenced by main(), twi_read(), and twi_write().

char twi_package_t::chip

chip: TWI chip address to communicate with

Definition at line 107 of file twi.h.

Referenced by main(), twi_read(), and twi_write().

unsigned int twi_package_t::length

length: How many bytes do we want to write

Definition at line 119 of file twi.h.

Referenced by main(), twi_read(), and twi_write().


Generated on Wed Sep 26 10:45:44 2007 for AVR32107 Using TWI as a Master on the AVR32 by  doxygen 1.5.3