Add TWI Peripheral driver for XMEGA

This commit is contained in:
Michael Janssen 2013-07-24 11:07:46 -05:00
parent 15828b1d5f
commit 2d21e36dd9
3 changed files with 481 additions and 0 deletions

View file

@ -66,6 +66,8 @@
/* Includes: */
#if (ARCH == ARCH_AVR8)
#include "AVR8/TWI_AVR8.h"
#elif (ARCH == ARCH_XMEGA)
#include "XMEGA/TWI_XMEGA.h"
#else
#error The TWI peripheral driver is not currently available for your selected architecture.
#endif