Microchip® Advanced Software Framework

•All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Twi Slave Example for megaRF STK600 Documentation

Introduction

This is the documentation for the data structures, functions, variables, defines, enums, and typedefs for the TWI slave mode example.

Main Files

twi slave Driver

The twi driver can be found here.

Device Info

AVR MEGARF device can be used.

Description of the example

The given example uses one kit as a TWI slave:

  • the TWI slave gets data for the a write request from TWI master,
  • the TWI slave send data for the a read request from TWI master,

Yellow LED , Green LED gives the result of the test: Green LED is ON when transmission is success. Yellow LED is ON when reception is success.

Compilation Info

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

Contact Information

For further information, visit Atmel AVR.