More AVR32 achitecture ports.

This commit is contained in:
Dean Camera 2010-02-24 06:21:46 +00:00
parent 3702ba1fb3
commit a7aaa45ec4
11 changed files with 113 additions and 75 deletions

View file

@ -103,6 +103,10 @@
#error Do not include this file directly. Include LUFA/Drivers/USB/USB.h instead.
#endif
#if defined(__AVR32__) && !defined(__AVR32_EPREG_X)
#define __AVR32_EPREG_X(x) ((volatile uint32_t*)AVR32_USBB_ ## x)[USB_SelectedEPNumber]
#endif
/* Public Interface - May be used in end-application: */
/* Macros: */
/** Mask for \ref Pipe_GetErrorFlags(), indicating that an overflow error occurred in the pipe on the received data. */