#define USB_EP10_RD 0x0C66 /* Memory Buffer RD Offset EP10 */
#define USB_EP10_WR 0x0C68 /* Memory Buffer WR Offset EP10 */
#define USB_EP11_ADDR 0x0C70 /* Memory Buffer Base Addr. EP11 */
#define USB_EP11_SIZE 0x0C74 /* Memory Buffer Size EP11 */
#define USB_EP11_RD 0x0C76 /* Memory Buffer RD Offset EP11 */
#define USB_EP11_WR 0x0C78 /* Memory Buffer WR Offset EP11 */
#define USB_DescriptVendorID 0x0C80 /* USB Descriptor Vendor ID */
#define USB_DescriptProductID 0x0C84 /* USB Descriptor Product ID */ #define USB_DescriptReleaseNumber 0x0C86 /* USB Descriptor Release Number */
#define USB_DescriptDeviceAttributes 0x0C88 /* USB Descriptor Device Attrib */
/* USB MCU Register Definitions */
#define USB_MCU_SetupTokenCmd 0x0000 /* USB SETUP Token Cmd 8 bytestotal */
#define USB_MCU_SetupTokenData 0x0008 /* USB SETUP Token Data 8 bytes total */
#define USB_MCU_SetupCounter 0x0010 /* USB SETUP Counter 16 bit counter */ #define USB_MCU_CtlMiscCtl 0x0012 /* USB Control Misc including re-attach */
#define USB_MCU_EndPointAddress0x0014 /* USB Address/Endpt Address of */
/* device/active endpt */
#define USB_MCU_FrameNumber 0x0016 /* USB Frame Num. Current frame num. */
#define USB_MCU_EP4_DescriptConfig0x1000 /* USB EP4 Description Configs endpt */
#define USB_MCU_EP4_NAK_Counter 0x1002 /* USB EP4 NAK Counter */
#define USB_MCU_EP5_DescriptConfig 0x1004/* USB EP5 Description Configs endpt */ #define USB_MCU_EP5_NAK_Counter 0x1006 /* USB EP5 NAK Counter */ #define USB_MCU_EP6_DescriptConfig 0x1008 * USB EP6 Description Configs endpt */ #define USB_MCU_EP6_NAK_Counter 0x100A /* USB EP6 NAK Counter */
#define USB_MCU_EP7_DescriptConfig0x100C /* USB EP7 Description Configs endpt */
#define USB_MCU_EP7_NAK_Counter 0x100E /* USB EP7 NAK Counter */
#define USB_MCU_EP8_DescriptConfig0x1010/* USB EP8 Description Configs endpt */
#define USB_MCU_EP8_NAK_Counter 0x1012 /* USB EP8 NAK Counter */
#define USB_MCU_EP9_DescriptConfig0x1014/* USB EP8 Description Configs endpt */
#define USB_MCU_EP9_NAK_Counter 0x1016 /* USB EP9 NAK Counter */
#define USB_MCU_EP10_DescriptConfig0x1018/* USB EP10 Description Configs endpt */ #define USB_MCU_EP10_NAK_Counter 0x101A /* USB EP10 NAK Counter */
#define USB_MCU_EP11_DescriptConfig0x101C/* USB EP11 Description Configs endpt */ #define USB_MCU_EP11_NAK_Counter 0x101E /* USB EP11 NAK Counter */ #define USB_MCU_StallPolicy 0x1020 /* USB EP STALL Policy */
#define USB_MCU_EP1_DownloadStartAddress 0x1040
/* USB EP1 Code Download Start address for code download Base Address on endpt 1 */ #define USB_MCU_EP2_DownloadStartAddress 0x1044
/* USB EP2 Code Download Start address for code download Base Address on endpt 2 */ #define USB_MCU_EP3_DownloadStartAddress 0x1048
/* USB EP3 Code Download Start address for code download Base Address on endpt 3 */
#define USB_MCU_EP1_CurrentWrPtrOffset 0x1060 /* USB EP1 Current Write Pointer Offset */
#define USB_MCU_EP2_CurrentWrPtrOffset 0x1064 /* USB EP2 Current Write Pointer Offset */
#define USB_MCU_EP3_CurrentWrPtrOffset 0x1068
/* USB EP3 Current Write Pointer Offset */
#define USB_MCU_IO_RegisterAddress |
0x2000 /* USB Register I/O Address */ |
#define USB_MCU_IO_RegisterData |
0x2002 /* USB Register I/O Data */ |
#define USB_MCU_ProgramMemory |
0x3000 /* USB MCU Program Mem */ |
#endif
Уважаемый посетитель!
Чтобы распечатать файл, скачайте его (в формате Word).
Ссылка на скачивание - внизу страницы.