X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/de0df8b16259458c78c742b5dbedd4ac90856285..07e521db928dc7e8ae707e8e395dfade95d031f0:/LUFA/Drivers/Peripheral/TWI.h diff --git a/LUFA/Drivers/Peripheral/TWI.h b/LUFA/Drivers/Peripheral/TWI.h index e8e45769a..00e4ffde8 100644 --- a/LUFA/Drivers/Peripheral/TWI.h +++ b/LUFA/Drivers/Peripheral/TWI.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2013. + Copyright (C) Dean Camera, 2015. 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 @@ -42,11 +42,11 @@ * \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/ARCH/TWI_ARCH.c (Makefile source module name: LUFA_SRC_TWI) * - * \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. * @@ -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