Bläddra i källkod

Fix USB_ENDPTCTRL_RXS define

teensy4-core
PaulStoffregen 5 år sedan
förälder
incheckning
3bd199f895
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. +2
    -2
      teensy4/imxrt.h

+ 2
- 2
teensy4/imxrt.h Visa fil

@@ -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))

Laddar…
Avbryt
Spara