Add partial support for the Atmel A3BU Xplained's Dataflash IC (physical USART-as...
[pub/USBasp.git] / LUFA / Drivers / Peripheral / SPI.h
index 3fdc69d..3902a90 100644 (file)
@@ -58,9 +58,7 @@
 #define __SPI_H__
 
        /* Macros: */
 #define __SPI_H__
 
        /* Macros: */
-               #if !defined(__DOXYGEN__)
-                       #define __INCLUDE_FROM_SPI_H
-               #endif
+               #define __INCLUDE_FROM_SPI_H
 
        /* Includes: */
                #include "../../Common/Common.h"
 
        /* Includes: */
                #include "../../Common/Common.h"
@@ -68,6 +66,8 @@
        /* Includes: */
                #if (ARCH == ARCH_AVR8)
                        #include "AVR8/SPI_AVR8.h"
        /* Includes: */
                #if (ARCH == ARCH_AVR8)
                        #include "AVR8/SPI_AVR8.h"
+               #elif (ARCH == ARCH_XMEGA)
+                       #include "XMEGA/SPI_XMEGA.h"                    
                #else
                        #error The SPI peripheral driver is not currently available for your selected architecture.
                #endif
                #else
                        #error The SPI peripheral driver is not currently available for your selected architecture.
                #endif