fix endpoint buffer address set error bug.add print color define.

This commit is contained in:
WoodData
2022-06-02 09:08:07 +08:00
committed by sakumisu
parent 9248fe04cc
commit 84a68fc040
3 changed files with 12 additions and 1 deletions

View File

@@ -1112,7 +1112,10 @@ typedef struct
*/
#define BTABLE_ADDRESS 0x000U
#ifndef PMA_ACCESS
#define PMA_ACCESS 2U
#endif
/******************** Bit definition for USB_COUNTn_RX register *************/
#define USB_CNTRX_NBLK_MSK (0x1FU << 10)
#define USB_CNTRX_BLSIZE (0x1U << 15)