Browse Source

Fix USB_USBCMD_ATDTW define

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

+ 1
- 1
teensy4/imxrt.h View File

#define USB2_ENDPTCTRL7 (IMXRT_USB2.offset1DC) #define USB2_ENDPTCTRL7 (IMXRT_USB2.offset1DC)
#define USB_USBCMD_ITC(n) ((uint32_t)(((n) & 0xFF) << 16)) #define USB_USBCMD_ITC(n) ((uint32_t)(((n) & 0xFF) << 16))
#define USB_USBCMD_FS_2 ((uint32_t)(1<<15)) #define USB_USBCMD_FS_2 ((uint32_t)(1<<15))
#define USB_USBCMD_ATDTW ((uint32_t)(1<<14))
#define USB_USBCMD_SUTW ((uint32_t)(1<<13)) #define USB_USBCMD_SUTW ((uint32_t)(1<<13))
#define USB_USBCMD_ATDTW ((uint32_t)(1<<12))
#define USB_USBCMD_ASPE ((uint32_t)(1<<11)) #define USB_USBCMD_ASPE ((uint32_t)(1<<11))
#define USB_USBCMD_ASP(n) ((uint32_t)(((n) & 0x03) << 8)) #define USB_USBCMD_ASP(n) ((uint32_t)(((n) & 0x03) << 8))
#define USB_USBCMD_IAA ((uint32_t)(1<<6)) #define USB_USBCMD_IAA ((uint32_t)(1<<6))

Loading…
Cancel
Save