More porting of the USB core to the AVR32.
[pub/lufa.git] / LUFA / Drivers / USB / USB.h
index 484978b..d648ebe 100644 (file)
                #if !defined(__DOXYGEN__)\r
                        #define __INCLUDE_FROM_USB_DRIVER\r
                #endif\r
+               \r
+               #if defined(__AVR32__)\r
+                       #define __AVR32_EPREG_X(x) ((volatile uint32_t*)AVR32_USBB_ ## x)[USB_SelectedEPNumber]                 \r
+               #endif\r
 \r
        /* Includes: */\r
                #include "HighLevel/USBMode.h"\r