32 #ifndef __HAL_LPC11UXX_H__
33 #define __HAL_LPC11UXX_H__
35 #define __INCLUDE_FROM_USB_DRIVER
37 #include "../../../USBMode.h"
38 #if defined(__LPC11UXX__)
40 #elif defined(__LPC13UXX__)
44 #define USBRAM_SECTION RAM2
48 #define __DATA(x) __attribute__ ((section("usbram")))
50 #if defined(__ICCARM__)
51 #define __DATA(x) @ "USB_PACKET_MEMORY"
57 __IO uint16_t NBytes : 10;
59 uint16_t RateFeedback_Toogle : 1;
60 uint16_t ToogleReset : 1;
61 __IO uint16_t Stall : 1;
62 uint16_t Disabled : 1;
71 #endif // __HAL_LPC11UXX_H__