Newer AS7 integration binary, with ASF detection fixes and newer image assets.
[pub/USBasp.git] / LUFA / Drivers / Peripheral / TWI.h
index e8e4576..00e4ffd 100644 (file)
@@ -1,13 +1,13 @@
 /*
              LUFA Library
 /*
              LUFA Library
-     Copyright (C) Dean Camera, 2013.
+     Copyright (C) Dean Camera, 2015.
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
-  Copyright 2013  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2015  Dean Camera (dean [at] fourwalledcubicle [dot] com)
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
  *  \defgroup Group_TWI TWI Driver - LUFA/Drivers/Peripheral/TWI.h
  *  \brief Hardware Two Wire Interface (I2C) driver.
  *
  *  \defgroup Group_TWI TWI Driver - LUFA/Drivers/Peripheral/TWI.h
  *  \brief Hardware Two Wire Interface (I2C) driver.
  *
- *  \section Sec_Dependencies Module Source Dependencies
+ *  \section Sec_TWI_Dependencies Module Source Dependencies
  *  The following files must be built with any user project that uses this module:
  *    - LUFA/Drivers/Peripheral/<i>ARCH</i>/TWI_<i>ARCH</i>.c <i>(Makefile source module name: LUFA_SRC_TWI)</i>
  *
  *  The following files must be built with any user project that uses this module:
  *    - LUFA/Drivers/Peripheral/<i>ARCH</i>/TWI_<i>ARCH</i>.c <i>(Makefile source module name: LUFA_SRC_TWI)</i>
  *
- *  \section Sec_ModDescription Module Description
+ *  \section Sec_TWI_ModDescription Module Description
  *  Hardware TWI driver. This module provides an easy to use driver for the setup and transfer of data over
  *  the selected architecture and microcontroller model's TWI bus port.
  *
  *  Hardware TWI driver. This module provides an easy to use driver for the setup and transfer of data over
  *  the selected architecture and microcontroller model's TWI bus port.
  *
@@ -66,6 +66,8 @@
        /* Includes: */
                #if (ARCH == ARCH_AVR8)
                        #include "AVR8/TWI_AVR8.h"
        /* 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
                #else
                        #error The TWI peripheral driver is not currently available for your selected architecture.
                #endif