This is the documentation for the data structures, functions, variables, defines, enums, and typedefs for the TWI driver slave mode example.
The given example uses one evaluation kit for TWI master (EVK1100, EVK1101 or STK1000 to program with MASTER_EXAMPLE) and another one for TWI slave (EVK1100 or EVK1101).
The TWI slave initializes the TWI as slave and registers its receive and transmit callbacks. It displays on USART1 a status message upon initialization.
This software is written for GNU GCC for AVR32 and for IAR Embedded Workbench for Atmel AVR32. Other compilers may or may not work.
You can change the following defines but you should make sure that there are the same on the TWI master side for the tests to pass:
All AVR32 devices with a TWI module can be used.
This example has been tested with the following configuration:
For further information, visit Atmel AVR32.