LUFA Library  140302
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

Supported library architecture defines. More...


#define ARCH_AVR8   0
#define ARCH_UC3   1
#define ARCH_XMEGA   2

Detailed Description

Architecture macros for selecting the desired target microcontroller architecture. One of these values should be defined as the value of ARCH in the user project makefile via the -D compiler switch to GCC, to select the target architecture.

The selected architecture should remain consistent with the makefile ARCH value, which is used to select the underlying driver source files for each architecture.

Macro Definition Documentation

#define ARCH_AVR8   0

Selects the Atmel 8-bit AVR (AT90USB* and ATMEGA*U* chips) architecture.

#define ARCH_UC3   1

Selects the Atmel 32-bit UC3 AVR (AT32UC3* chips) architecture.

#define ARCH_XMEGA   2

Selects the Atmel XMEGA AVR (ATXMEGA* chips) architecture.