AVR32107 Using TWI as a Master on the AVR32 Documentation

Atmel AVR32 Application Notes

Introduction

This is the documentation for the data structures, functions, variables, defines, enums, and typedefs in the software for application note AVR32107. It also gives an example of the usage of the TWI driver

Compilation Info

This software was written for the GNU GCC for AVR32 and IAR Systems compiler for AVR32. Other compilers may or may not work.

Device Info

All AVR32 devices with a TWI module can be used. This example has been tested with the following setup:

Setup Information

CPU speed: 20 MHz

Application Usage

The device will start up and initialize the TWI module. Depending on the settings in twi_example.c it will send and/or receive data. The two global definitions WRITE and READ can be set to 1 or 0 to enable or disable the feature.

Remote address, data lengths and ID's are set directly as parameters in the example code. Consult comments in twi_example.c for more information about altering these settings.

Contact Info

For more info about Atmel AVR32 visit Atmel AVR32
AVR32 Application Notes
Support mail: avr32@atmel.com
Generated on Wed Sep 26 10:45:42 2007 for AVR32107 Using TWI as a Master on the AVR32 by  doxygen 1.5.3