CI: Build on Arch (bleeding-ege) and Ubuntu (stable) AVR-GCC toolchains.
[pub/USBasp.git] / LUFA / Drivers / Peripheral / TWI.h
index 2cf1435..e5b476c 100644 (file)
@@ -1,13 +1,13 @@
 /*
              LUFA Library
 /*
              LUFA Library
-     Copyright (C) Dean Camera, 2012.
+     Copyright (C) Dean Camera, 2018.
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
-  Copyright 2012  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2018  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