Sfoglia il codice sorgente

Fix USB_USBCMD_ATDTW define

main
PaulStoffregen 5 anni fa
parent
commit
253c747256
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      teensy4/imxrt.h

+ 1
- 1
teensy4/imxrt.h Vedi File

@@ -7754,8 +7754,8 @@ These register are used by the ROM code and should not be used by application so
#define USB2_ENDPTCTRL7 (IMXRT_USB2.offset1DC)
#define USB_USBCMD_ITC(n) ((uint32_t)(((n) & 0xFF) << 16))
#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_ATDTW ((uint32_t)(1<<12))
#define USB_USBCMD_ASPE ((uint32_t)(1<<11))
#define USB_USBCMD_ASP(n) ((uint32_t)(((n) & 0x03) << 8))
#define USB_USBCMD_IAA ((uint32_t)(1<<6))

Loading…
Annulla
Salva