diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-02-23 14:46:11 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-02-23 14:46:11 +0000 |
commit | 3702ba1fb31f265360a0e4cf1736465e44389103 (patch) | |
tree | 851b026782944e683eb480896a6512ea18ec56e2 /LUFA/Drivers/USB/USB.h | |
parent | 0e6d5cf5b4fea133cbd3c16b958617deb42332cf (diff) | |
download | lufa-3702ba1fb31f265360a0e4cf1736465e44389103.tar.gz lufa-3702ba1fb31f265360a0e4cf1736465e44389103.tar.bz2 lufa-3702ba1fb31f265360a0e4cf1736465e44389103.zip |
More porting of the USB core to the AVR32.
Diffstat (limited to 'LUFA/Drivers/USB/USB.h')
-rw-r--r-- | LUFA/Drivers/USB/USB.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/LUFA/Drivers/USB/USB.h b/LUFA/Drivers/USB/USB.h index 484978bed..d648ebe51 100644 --- a/LUFA/Drivers/USB/USB.h +++ b/LUFA/Drivers/USB/USB.h @@ -354,6 +354,10 @@ #if !defined(__DOXYGEN__)
#define __INCLUDE_FROM_USB_DRIVER
#endif
+
+ #if defined(__AVR32__)
+ #define __AVR32_EPREG_X(x) ((volatile uint32_t*)AVR32_USBB_ ## x)[USB_SelectedEPNumber]
+ #endif
/* Includes: */
#include "HighLevel/USBMode.h"
|