|
|
|
|
|
|
|
|
#define USB_ENDPTCTRL_RXR ((uint32_t)(1<<6)) |
|
|
#define USB_ENDPTCTRL_RXR ((uint32_t)(1<<6)) |
|
|
#define USB_ENDPTCTRL_RXI ((uint32_t)(1<<5)) |
|
|
#define USB_ENDPTCTRL_RXI ((uint32_t)(1<<5)) |
|
|
#define USB_ENDPTCTRL_RXT(n) ((uint32_t)(((n) & 0x03) << 2)) |
|
|
#define USB_ENDPTCTRL_RXT(n) ((uint32_t)(((n) & 0x03) << 2)) |
|
|
#define USB_ENDPTCTRL_RXD ((uint32_t)(1<<0)) |
|
|
|
|
|
#define USB_ENDPTCTRL_RXS ((uint32_t)(1<<1)) |
|
|
|
|
|
|
|
|
#define USB_ENDPTCTRL_RXD ((uint32_t)(1<<1)) |
|
|
|
|
|
#define USB_ENDPTCTRL_RXS ((uint32_t)(1<<0)) |
|
|
#define USB_GPTIMERCTRL_GPTRUN ((uint32_t)(1<<31)) |
|
|
#define USB_GPTIMERCTRL_GPTRUN ((uint32_t)(1<<31)) |
|
|
#define USB_GPTIMERCTRL_GPTRST ((uint32_t)(1<<30)) |
|
|
#define USB_GPTIMERCTRL_GPTRST ((uint32_t)(1<<30)) |
|
|
#define USB_GPTIMERCTRL_GPTMODE ((uint32_t)(1<<24)) |
|
|
#define USB_GPTIMERCTRL_GPTMODE ((uint32_t)(1<<24)) |