Browse Source

Fix USB_ENDPTCTRL_RXS define

main
PaulStoffregen 5 years ago
parent
commit
3bd199f895
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      teensy4/imxrt.h

+ 2
- 2
teensy4/imxrt.h View File

@@ -7902,8 +7902,8 @@ These register are used by the ROM code and should not be used by application so
#define USB_ENDPTCTRL_RXR ((uint32_t)(1<<6))
#define USB_ENDPTCTRL_RXI ((uint32_t)(1<<5))
#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_GPTRST ((uint32_t)(1<<30))
#define USB_GPTIMERCTRL_GPTMODE ((uint32_t)(1<<24))

Loading…
Cancel
Save