LUFA Library  120219
USBMode.h File Reference

USB mode and feature support definitions. More...

Defines

#define USB_SERIES_2_AVR
#define USB_SERIES_4_AVR
#define USB_SERIES_6_AVR
#define USB_SERIES_7_AVR
#define USB_SERIES_UC3A0_AVR
#define USB_SERIES_UC3A1_AVR
#define USB_SERIES_UC3A3_AVR
#define USB_SERIES_UC3B0_AVR
#define USB_SERIES_UC3B1_AVR
#define USB_SERIES_A1U_XMEGA
#define USB_SERIES_A3U_XMEGA
#define USB_SERIES_A4U_XMEGA
#define USB_SERIES_B1_XMEGA
#define USB_SERIES_B3_XMEGA
#define USB_CAN_BE_DEVICE
#define USB_CAN_BE_HOST
#define USB_CAN_BE_BOTH

Detailed Description

This file defines macros indicating the type of USB controller the library is being compiled for, and its capabilities. These macros may then be referenced in the user application to selectively enable or disable code sections depending on if they are defined or not.

After the inclusion of the master USB driver header, one or more of the following tokens may be defined, to allow the user code to conditionally enable or disable code based on the USB controller family and allowable USB modes. These tokens may be tested against to eliminate code relating to a USB mode which is not enabled for the given compilation.

Note:
This file should not be included directly. It is automatically included as needed by the USB driver dispatch header located in LUFA/Drivers/USB/USB.h.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines