|
|
Go to the documentation of this file. 46 #define USB_O_FADDR 0x00000000 // USB Device Functional Address 47 #define USB_O_POWER 0x00000001 // USB Power 48 #define USB_O_TXIS 0x00000002 // USB Transmit Interrupt Status 49 #define USB_O_RXIS 0x00000004 // USB Receive Interrupt Status 50 #define USB_O_TXIE 0x00000006 // USB Transmit Interrupt Enable 51 #define USB_O_RXIE 0x00000008 // USB Receive Interrupt Enable 52 #define USB_O_IS 0x0000000A // USB General Interrupt Status 53 #define USB_O_IE 0x0000000B // USB Interrupt Enable 54 #define USB_O_FRAME 0x0000000C // USB Frame Value 55 #define USB_O_EPIDX 0x0000000E // USB Endpoint Index 56 #define USB_O_TEST 0x0000000F // USB Test Mode 57 #define USB_O_FIFO0 0x00000020 // USB FIFO Endpoint 0 58 #define USB_O_FIFO1 0x00000024 // USB FIFO Endpoint 1 59 #define USB_O_FIFO2 0x00000028 // USB FIFO Endpoint 2 60 #define USB_O_FIFO3 0x0000002C // USB FIFO Endpoint 3 61 #define USB_O_FIFO4 0x00000030 // USB FIFO Endpoint 4 62 #define USB_O_FIFO5 0x00000034 // USB FIFO Endpoint 5 63 #define USB_O_FIFO6 0x00000038 // USB FIFO Endpoint 6 64 #define USB_O_FIFO7 0x0000003C // USB FIFO Endpoint 7 65 #define USB_O_DEVCTL 0x00000060 // USB Device Control 66 #define USB_O_CCONF 0x00000061 // USB Common Configuration 67 #define USB_O_TXFIFOSZ 0x00000062 // USB Transmit Dynamic FIFO Sizing 68 #define USB_O_RXFIFOSZ 0x00000063 // USB Receive Dynamic FIFO Sizing 69 #define USB_O_TXFIFOADD 0x00000064 // USB Transmit FIFO Start Address 70 #define USB_O_RXFIFOADD 0x00000066 // USB Receive FIFO Start Address 71 #define USB_O_ULPIVBUSCTL 0x00000070 // USB ULPI VBUS Control 72 #define USB_O_ULPIREGDATA 0x00000074 // USB ULPI Register Data 73 #define USB_O_ULPIREGADDR 0x00000075 // USB ULPI Register Address 74 #define USB_O_ULPIREGCTL 0x00000076 // USB ULPI Register Control 75 #define USB_O_EPINFO 0x00000078 // USB Endpoint Information 76 #define USB_O_RAMINFO 0x00000079 // USB RAM Information 77 #define USB_O_CONTIM 0x0000007A // USB Connect Timing 78 #define USB_O_VPLEN 0x0000007B // USB OTG VBUS Pulse Timing 79 #define USB_O_HSEOF 0x0000007C // USB High-Speed Last Transaction 81 #define USB_O_FSEOF 0x0000007D // USB Full-Speed Last Transaction 83 #define USB_O_LSEOF 0x0000007E // USB Low-Speed Last Transaction 85 #define USB_O_TXFUNCADDR0 0x00000080 // USB Transmit Functional Address 87 #define USB_O_TXHUBADDR0 0x00000082 // USB Transmit Hub Address 89 #define USB_O_TXHUBPORT0 0x00000083 // USB Transmit Hub Port Endpoint 0 90 #define USB_O_TXFUNCADDR1 0x00000088 // USB Transmit Functional Address 92 #define USB_O_TXHUBADDR1 0x0000008A // USB Transmit Hub Address 94 #define USB_O_TXHUBPORT1 0x0000008B // USB Transmit Hub Port Endpoint 1 95 #define USB_O_RXFUNCADDR1 0x0000008C // USB Receive Functional Address 97 #define USB_O_RXHUBADDR1 0x0000008E // USB Receive Hub Address Endpoint 99 #define USB_O_RXHUBPORT1 0x0000008F // USB Receive Hub Port Endpoint 1 100 #define USB_O_TXFUNCADDR2 0x00000090 // USB Transmit Functional Address 102 #define USB_O_TXHUBADDR2 0x00000092 // USB Transmit Hub Address 104 #define USB_O_TXHUBPORT2 0x00000093 // USB Transmit Hub Port Endpoint 2 105 #define USB_O_RXFUNCADDR2 0x00000094 // USB Receive Functional Address 107 #define USB_O_RXHUBADDR2 0x00000096 // USB Receive Hub Address Endpoint 109 #define USB_O_RXHUBPORT2 0x00000097 // USB Receive Hub Port Endpoint 2 110 #define USB_O_TXFUNCADDR3 0x00000098 // USB Transmit Functional Address 112 #define USB_O_TXHUBADDR3 0x0000009A // USB Transmit Hub Address 114 #define USB_O_TXHUBPORT3 0x0000009B // USB Transmit Hub Port Endpoint 3 115 #define USB_O_RXFUNCADDR3 0x0000009C // USB Receive Functional Address 117 #define USB_O_RXHUBADDR3 0x0000009E // USB Receive Hub Address Endpoint 119 #define USB_O_RXHUBPORT3 0x0000009F // USB Receive Hub Port Endpoint 3 120 #define USB_O_TXFUNCADDR4 0x000000A0 // USB Transmit Functional Address 122 #define USB_O_TXHUBADDR4 0x000000A2 // USB Transmit Hub Address 124 #define USB_O_TXHUBPORT4 0x000000A3 // USB Transmit Hub Port Endpoint 4 125 #define USB_O_RXFUNCADDR4 0x000000A4 // USB Receive Functional Address 127 #define USB_O_RXHUBADDR4 0x000000A6 // USB Receive Hub Address Endpoint 129 #define USB_O_RXHUBPORT4 0x000000A7 // USB Receive Hub Port Endpoint 4 130 #define USB_O_TXFUNCADDR5 0x000000A8 // USB Transmit Functional Address 132 #define USB_O_TXHUBADDR5 0x000000AA // USB Transmit Hub Address 134 #define USB_O_TXHUBPORT5 0x000000AB // USB Transmit Hub Port Endpoint 5 135 #define USB_O_RXFUNCADDR5 0x000000AC // USB Receive Functional Address 137 #define USB_O_RXHUBADDR5 0x000000AE // USB Receive Hub Address Endpoint 139 #define USB_O_RXHUBPORT5 0x000000AF // USB Receive Hub Port Endpoint 5 140 #define USB_O_TXFUNCADDR6 0x000000B0 // USB Transmit Functional Address 142 #define USB_O_TXHUBADDR6 0x000000B2 // USB Transmit Hub Address 144 #define USB_O_TXHUBPORT6 0x000000B3 // USB Transmit Hub Port Endpoint 6 145 #define USB_O_RXFUNCADDR6 0x000000B4 // USB Receive Functional Address 147 #define USB_O_RXHUBADDR6 0x000000B6 // USB Receive Hub Address Endpoint 149 #define USB_O_RXHUBPORT6 0x000000B7 // USB Receive Hub Port Endpoint 6 150 #define USB_O_TXFUNCADDR7 0x000000B8 // USB Transmit Functional Address 152 #define USB_O_TXHUBADDR7 0x000000BA // USB Transmit Hub Address 154 #define USB_O_TXHUBPORT7 0x000000BB // USB Transmit Hub Port Endpoint 7 155 #define USB_O_RXFUNCADDR7 0x000000BC // USB Receive Functional Address 157 #define USB_O_RXHUBADDR7 0x000000BE // USB Receive Hub Address Endpoint 159 #define USB_O_RXHUBPORT7 0x000000BF // USB Receive Hub Port Endpoint 7 160 #define USB_O_CSRL0 0x00000102 // USB Control and Status Endpoint 162 #define USB_O_CSRH0 0x00000103 // USB Control and Status Endpoint 164 #define USB_O_COUNT0 0x00000108 // USB Receive Byte Count Endpoint 166 #define USB_O_TYPE0 0x0000010A // USB Type Endpoint 0 167 #define USB_O_NAKLMT 0x0000010B // USB NAK Limit 168 #define USB_O_TXMAXP1 0x00000110 // USB Maximum Transmit Data 170 #define USB_O_TXCSRL1 0x00000112 // USB Transmit Control and Status 172 #define USB_O_TXCSRH1 0x00000113 // USB Transmit Control and Status 174 #define USB_O_RXMAXP1 0x00000114 // USB Maximum Receive Data 176 #define USB_O_RXCSRL1 0x00000116 // USB Receive Control and Status 178 #define USB_O_RXCSRH1 0x00000117 // USB Receive Control and Status 180 #define USB_O_RXCOUNT1 0x00000118 // USB Receive Byte Count Endpoint 182 #define USB_O_TXTYPE1 0x0000011A // USB Host Transmit Configure Type 184 #define USB_O_TXINTERVAL1 0x0000011B // USB Host Transmit Interval 186 #define USB_O_RXTYPE1 0x0000011C // USB Host Configure Receive Type 188 #define USB_O_RXINTERVAL1 0x0000011D // USB Host Receive Polling 190 #define USB_O_TXMAXP2 0x00000120 // USB Maximum Transmit Data 192 #define USB_O_TXCSRL2 0x00000122 // USB Transmit Control and Status 194 #define USB_O_TXCSRH2 0x00000123 // USB Transmit Control and Status 196 #define USB_O_RXMAXP2 0x00000124 // USB Maximum Receive Data 198 #define USB_O_RXCSRL2 0x00000126 // USB Receive Control and Status 200 #define USB_O_RXCSRH2 0x00000127 // USB Receive Control and Status 202 #define USB_O_RXCOUNT2 0x00000128 // USB Receive Byte Count Endpoint 204 #define USB_O_TXTYPE2 0x0000012A // USB Host Transmit Configure Type 206 #define USB_O_TXINTERVAL2 0x0000012B // USB Host Transmit Interval 208 #define USB_O_RXTYPE2 0x0000012C // USB Host Configure Receive Type 210 #define USB_O_RXINTERVAL2 0x0000012D // USB Host Receive Polling 212 #define USB_O_TXMAXP3 0x00000130 // USB Maximum Transmit Data 214 #define USB_O_TXCSRL3 0x00000132 // USB Transmit Control and Status 216 #define USB_O_TXCSRH3 0x00000133 // USB Transmit Control and Status 218 #define USB_O_RXMAXP3 0x00000134 // USB Maximum Receive Data 220 #define USB_O_RXCSRL3 0x00000136 // USB Receive Control and Status 222 #define USB_O_RXCSRH3 0x00000137 // USB Receive Control and Status 224 #define USB_O_RXCOUNT3 0x00000138 // USB Receive Byte Count Endpoint 226 #define USB_O_TXTYPE3 0x0000013A // USB Host Transmit Configure Type 228 #define USB_O_TXINTERVAL3 0x0000013B // USB Host Transmit Interval 230 #define USB_O_RXTYPE3 0x0000013C // USB Host Configure Receive Type 232 #define USB_O_RXINTERVAL3 0x0000013D // USB Host Receive Polling 234 #define USB_O_TXMAXP4 0x00000140 // USB Maximum Transmit Data 236 #define USB_O_TXCSRL4 0x00000142 // USB Transmit Control and Status 238 #define USB_O_TXCSRH4 0x00000143 // USB Transmit Control and Status 240 #define USB_O_RXMAXP4 0x00000144 // USB Maximum Receive Data 242 #define USB_O_RXCSRL4 0x00000146 // USB Receive Control and Status 244 #define USB_O_RXCSRH4 0x00000147 // USB Receive Control and Status 246 #define USB_O_RXCOUNT4 0x00000148 // USB Receive Byte Count Endpoint 248 #define USB_O_TXTYPE4 0x0000014A // USB Host Transmit Configure Type 250 #define USB_O_TXINTERVAL4 0x0000014B // USB Host Transmit Interval 252 #define USB_O_RXTYPE4 0x0000014C // USB Host Configure Receive Type 254 #define USB_O_RXINTERVAL4 0x0000014D // USB Host Receive Polling 256 #define USB_O_TXMAXP5 0x00000150 // USB Maximum Transmit Data 258 #define USB_O_TXCSRL5 0x00000152 // USB Transmit Control and Status 260 #define USB_O_TXCSRH5 0x00000153 // USB Transmit Control and Status 262 #define USB_O_RXMAXP5 0x00000154 // USB Maximum Receive Data 264 #define USB_O_RXCSRL5 0x00000156 // USB Receive Control and Status 266 #define USB_O_RXCSRH5 0x00000157 // USB Receive Control and Status 268 #define USB_O_RXCOUNT5 0x00000158 // USB Receive Byte Count Endpoint 270 #define USB_O_TXTYPE5 0x0000015A // USB Host Transmit Configure Type 272 #define USB_O_TXINTERVAL5 0x0000015B // USB Host Transmit Interval 274 #define USB_O_RXTYPE5 0x0000015C // USB Host Configure Receive Type 276 #define USB_O_RXINTERVAL5 0x0000015D // USB Host Receive Polling 278 #define USB_O_TXMAXP6 0x00000160 // USB Maximum Transmit Data 280 #define USB_O_TXCSRL6 0x00000162 // USB Transmit Control and Status 282 #define USB_O_TXCSRH6 0x00000163 // USB Transmit Control and Status 284 #define USB_O_RXMAXP6 0x00000164 // USB Maximum Receive Data 286 #define USB_O_RXCSRL6 0x00000166 // USB Receive Control and Status 288 #define USB_O_RXCSRH6 0x00000167 // USB Receive Control and Status 290 #define USB_O_RXCOUNT6 0x00000168 // USB Receive Byte Count Endpoint 292 #define USB_O_TXTYPE6 0x0000016A // USB Host Transmit Configure Type 294 #define USB_O_TXINTERVAL6 0x0000016B // USB Host Transmit Interval 296 #define USB_O_RXTYPE6 0x0000016C // USB Host Configure Receive Type 298 #define USB_O_RXINTERVAL6 0x0000016D // USB Host Receive Polling 300 #define USB_O_TXMAXP7 0x00000170 // USB Maximum Transmit Data 302 #define USB_O_TXCSRL7 0x00000172 // USB Transmit Control and Status 304 #define USB_O_TXCSRH7 0x00000173 // USB Transmit Control and Status 306 #define USB_O_RXMAXP7 0x00000174 // USB Maximum Receive Data 308 #define USB_O_RXCSRL7 0x00000176 // USB Receive Control and Status 310 #define USB_O_RXCSRH7 0x00000177 // USB Receive Control and Status 312 #define USB_O_RXCOUNT7 0x00000178 // USB Receive Byte Count Endpoint 314 #define USB_O_TXTYPE7 0x0000017A // USB Host Transmit Configure Type 316 #define USB_O_TXINTERVAL7 0x0000017B // USB Host Transmit Interval 318 #define USB_O_RXTYPE7 0x0000017C // USB Host Configure Receive Type 320 #define USB_O_RXINTERVAL7 0x0000017D // USB Host Receive Polling 322 #define USB_O_DMAINTR 0x00000200 // USB DMA Interrupt 323 #define USB_O_DMACTL0 0x00000204 // USB DMA Control 0 324 #define USB_O_DMAADDR0 0x00000208 // USB DMA Address 0 325 #define USB_O_DMACOUNT0 0x0000020C // USB DMA Count 0 326 #define USB_O_DMACTL1 0x00000214 // USB DMA Control 1 327 #define USB_O_DMAADDR1 0x00000218 // USB DMA Address 1 328 #define USB_O_DMACOUNT1 0x0000021C // USB DMA Count 1 329 #define USB_O_DMACTL2 0x00000224 // USB DMA Control 2 330 #define USB_O_DMAADDR2 0x00000228 // USB DMA Address 2 331 #define USB_O_DMACOUNT2 0x0000022C // USB DMA Count 2 332 #define USB_O_DMACTL3 0x00000234 // USB DMA Control 3 333 #define USB_O_DMAADDR3 0x00000238 // USB DMA Address 3 334 #define USB_O_DMACOUNT3 0x0000023C // USB DMA Count 3 335 #define USB_O_DMACTL4 0x00000244 // USB DMA Control 4 336 #define USB_O_DMAADDR4 0x00000248 // USB DMA Address 4 337 #define USB_O_DMACOUNT4 0x0000024C // USB DMA Count 4 338 #define USB_O_DMACTL5 0x00000254 // USB DMA Control 5 339 #define USB_O_DMAADDR5 0x00000258 // USB DMA Address 5 340 #define USB_O_DMACOUNT5 0x0000025C // USB DMA Count 5 341 #define USB_O_DMACTL6 0x00000264 // USB DMA Control 6 342 #define USB_O_DMAADDR6 0x00000268 // USB DMA Address 6 343 #define USB_O_DMACOUNT6 0x0000026C // USB DMA Count 6 344 #define USB_O_DMACTL7 0x00000274 // USB DMA Control 7 345 #define USB_O_DMAADDR7 0x00000278 // USB DMA Address 7 346 #define USB_O_DMACOUNT7 0x0000027C // USB DMA Count 7 347 #define USB_O_RQPKTCOUNT1 0x00000304 // USB Request Packet Count in 349 #define USB_O_RQPKTCOUNT2 0x00000308 // USB Request Packet Count in 351 #define USB_O_RQPKTCOUNT3 0x0000030C // USB Request Packet Count in 353 #define USB_O_RQPKTCOUNT4 0x00000310 // USB Request Packet Count in 355 #define USB_O_RQPKTCOUNT5 0x00000314 // USB Request Packet Count in 357 #define USB_O_RQPKTCOUNT6 0x00000318 // USB Request Packet Count in 359 #define USB_O_RQPKTCOUNT7 0x0000031C // USB Request Packet Count in 361 #define USB_O_RXDPKTBUFDIS 0x00000340 // USB Receive Double Packet Buffer 363 #define USB_O_TXDPKTBUFDIS 0x00000342 // USB Transmit Double Packet 365 #define USB_O_CTO 0x00000344 // USB Chirp Timeout 366 #define USB_O_HHSRTN 0x00000346 // USB High Speed to UTM Operating 368 #define USB_O_HSBT 0x00000348 // USB High Speed Time-out Adder 369 #define USB_O_LPMATTR 0x00000360 // USB LPM Attributes 370 #define USB_O_LPMCNTRL 0x00000362 // USB LPM Control 371 #define USB_O_LPMIM 0x00000363 // USB LPM Interrupt Mask 372 #define USB_O_LPMRIS 0x00000364 // USB LPM Raw Interrupt Status 373 #define USB_O_LPMFADDR 0x00000365 // USB LPM Function Address 374 #define USB_O_EPC 0x00000400 // USB External Power Control 375 #define USB_O_EPCRIS 0x00000404 // USB External Power Control Raw 377 #define USB_O_EPCIM 0x00000408 // USB External Power Control 379 #define USB_O_EPCISC 0x0000040C // USB External Power Control 381 #define USB_O_DRRIS 0x00000410 // USB Device RESUME Raw Interrupt 383 #define USB_O_DRIM 0x00000414 // USB Device RESUME Interrupt Mask 384 #define USB_O_DRISC 0x00000418 // USB Device RESUME Interrupt 386 #define USB_O_GPCS 0x0000041C // USB General-Purpose Control and 388 #define USB_O_VDC 0x00000430 // USB VBUS Droop Control 389 #define USB_O_VDCRIS 0x00000434 // USB VBUS Droop Control Raw 391 #define USB_O_VDCIM 0x00000438 // USB VBUS Droop Control Interrupt 393 #define USB_O_VDCISC 0x0000043C // USB VBUS Droop Control Interrupt 395 #define USB_O_IDVRIS 0x00000444 // USB ID Valid Detect Raw 397 #define USB_O_IDVIM 0x00000448 // USB ID Valid Detect Interrupt 399 #define USB_O_IDVISC 0x0000044C // USB ID Valid Detect Interrupt 401 #define USB_O_PP 0x00000FC0 // USB Peripheral Properties 402 #define USB_O_PC 0x00000FC4 // USB Peripheral Configuration 403 #define USB_O_CC 0x00000FC8 // USB Clock Configuration 410 #define USB_FADDR_M 0x0000007F // Function Address 411 #define USB_FADDR_S 0 418 #define USB_POWER_ISOUP 0x00000080 // Isochronous Update 419 #define USB_POWER_SOFTCONN 0x00000040 // Soft Connect/Disconnect 420 #define USB_POWER_HSENAB 0x00000020 // High Speed Enable 421 #define USB_POWER_HSMODE 0x00000010 // High Speed Enable 422 #define USB_POWER_RESET 0x00000008 // RESET Signaling 423 #define USB_POWER_RESUME 0x00000004 // RESUME Signaling 424 #define USB_POWER_SUSPEND 0x00000002 // SUSPEND Mode 425 #define USB_POWER_PWRDNPHY 0x00000001 // Power Down PHY 432 #define USB_TXIS_EP7 0x00000080 // TX Endpoint 7 Interrupt 433 #define USB_TXIS_EP6 0x00000040 // TX Endpoint 6 Interrupt 434 #define USB_TXIS_EP5 0x00000020 // TX Endpoint 5 Interrupt 435 #define USB_TXIS_EP4 0x00000010 // TX Endpoint 4 Interrupt 436 #define USB_TXIS_EP3 0x00000008 // TX Endpoint 3 Interrupt 437 #define USB_TXIS_EP2 0x00000004 // TX Endpoint 2 Interrupt 438 #define USB_TXIS_EP1 0x00000002 // TX Endpoint 1 Interrupt 439 #define USB_TXIS_EP0 0x00000001 // TX and RX Endpoint 0 Interrupt 446 #define USB_RXIS_EP7 0x00000080 // RX Endpoint 7 Interrupt 447 #define USB_RXIS_EP6 0x00000040 // RX Endpoint 6 Interrupt 448 #define USB_RXIS_EP5 0x00000020 // RX Endpoint 5 Interrupt 449 #define USB_RXIS_EP4 0x00000010 // RX Endpoint 4 Interrupt 450 #define USB_RXIS_EP3 0x00000008 // RX Endpoint 3 Interrupt 451 #define USB_RXIS_EP2 0x00000004 // RX Endpoint 2 Interrupt 452 #define USB_RXIS_EP1 0x00000002 // RX Endpoint 1 Interrupt 459 #define USB_TXIE_EP7 0x00000080 // TX Endpoint 7 Interrupt Enable 460 #define USB_TXIE_EP6 0x00000040 // TX Endpoint 6 Interrupt Enable 461 #define USB_TXIE_EP5 0x00000020 // TX Endpoint 5 Interrupt Enable 462 #define USB_TXIE_EP4 0x00000010 // TX Endpoint 4 Interrupt Enable 463 #define USB_TXIE_EP3 0x00000008 // TX Endpoint 3 Interrupt Enable 464 #define USB_TXIE_EP2 0x00000004 // TX Endpoint 2 Interrupt Enable 465 #define USB_TXIE_EP1 0x00000002 // TX Endpoint 1 Interrupt Enable 466 #define USB_TXIE_EP0 0x00000001 // TX and RX Endpoint 0 Interrupt 474 #define USB_RXIE_EP7 0x00000080 // RX Endpoint 7 Interrupt Enable 475 #define USB_RXIE_EP6 0x00000040 // RX Endpoint 6 Interrupt Enable 476 #define USB_RXIE_EP5 0x00000020 // RX Endpoint 5 Interrupt Enable 477 #define USB_RXIE_EP4 0x00000010 // RX Endpoint 4 Interrupt Enable 478 #define USB_RXIE_EP3 0x00000008 // RX Endpoint 3 Interrupt Enable 479 #define USB_RXIE_EP2 0x00000004 // RX Endpoint 2 Interrupt Enable 480 #define USB_RXIE_EP1 0x00000002 // RX Endpoint 1 Interrupt Enable 487 #define USB_IS_VBUSERR 0x00000080 // VBUS Error (OTG only) 488 #define USB_IS_SESREQ 0x00000040 // SESSION REQUEST (OTG only) 489 #define USB_IS_DISCON 0x00000020 // Session Disconnect (OTG only) 490 #define USB_IS_CONN 0x00000010 // Session Connect 491 #define USB_IS_SOF 0x00000008 // Start of Frame 492 #define USB_IS_BABBLE 0x00000004 // Babble Detected 493 #define USB_IS_RESET 0x00000004 // RESET Signaling Detected 494 #define USB_IS_RESUME 0x00000002 // RESUME Signaling Detected 495 #define USB_IS_SUSPEND 0x00000001 // SUSPEND Signaling Detected 502 #define USB_IE_VBUSERR 0x00000080 // Enable VBUS Error Interrupt (OTG 504 #define USB_IE_SESREQ 0x00000040 // Enable Session Request (OTG 506 #define USB_IE_DISCON 0x00000020 // Enable Disconnect Interrupt 507 #define USB_IE_CONN 0x00000010 // Enable Connect Interrupt 508 #define USB_IE_SOF 0x00000008 // Enable Start-of-Frame Interrupt 509 #define USB_IE_BABBLE 0x00000004 // Enable Babble Interrupt 510 #define USB_IE_RESET 0x00000004 // Enable RESET Interrupt 511 #define USB_IE_RESUME 0x00000002 // Enable RESUME Interrupt 512 #define USB_IE_SUSPND 0x00000001 // Enable SUSPEND Interrupt 519 #define USB_FRAME_M 0x000007FF // Frame Number 520 #define USB_FRAME_S 0 527 #define USB_EPIDX_EPIDX_M 0x0000000F // Endpoint Index 528 #define USB_EPIDX_EPIDX_S 0 535 #define USB_TEST_FORCEH 0x00000080 // Force Host Mode 536 #define USB_TEST_FIFOACC 0x00000040 // FIFO Access 537 #define USB_TEST_FORCEFS 0x00000020 // Force Full-Speed Mode 538 #define USB_TEST_FORCEHS 0x00000010 // Force High-Speed Mode 539 #define USB_TEST_TESTPKT 0x00000008 // Test Packet Mode Enable 540 #define USB_TEST_TESTK 0x00000004 // Test_K Mode Enable 541 #define USB_TEST_TESTJ 0x00000002 // Test_J Mode Enable 542 #define USB_TEST_TESTSE0NAK 0x00000001 // Test_SE0_NAK Test Mode Enable 549 #define USB_FIFO0_EPDATA_M 0xFFFFFFFF // Endpoint Data 550 #define USB_FIFO0_EPDATA_S 0 557 #define USB_FIFO1_EPDATA_M 0xFFFFFFFF // Endpoint Data 558 #define USB_FIFO1_EPDATA_S 0 565 #define USB_FIFO2_EPDATA_M 0xFFFFFFFF // Endpoint Data 566 #define USB_FIFO2_EPDATA_S 0 573 #define USB_FIFO3_EPDATA_M 0xFFFFFFFF // Endpoint Data 574 #define USB_FIFO3_EPDATA_S 0 581 #define USB_FIFO4_EPDATA_M 0xFFFFFFFF // Endpoint Data 582 #define USB_FIFO4_EPDATA_S 0 589 #define USB_FIFO5_EPDATA_M 0xFFFFFFFF // Endpoint Data 590 #define USB_FIFO5_EPDATA_S 0 597 #define USB_FIFO6_EPDATA_M 0xFFFFFFFF // Endpoint Data 598 #define USB_FIFO6_EPDATA_S 0 605 #define USB_FIFO7_EPDATA_M 0xFFFFFFFF // Endpoint Data 606 #define USB_FIFO7_EPDATA_S 0 613 #define USB_DEVCTL_DEV 0x00000080 // Device Mode (OTG only) 614 #define USB_DEVCTL_FSDEV 0x00000040 // Full-Speed Device Detected 615 #define USB_DEVCTL_LSDEV 0x00000020 // Low-Speed Device Detected 616 #define USB_DEVCTL_VBUS_M 0x00000018 // VBUS Level (OTG only) 617 #define USB_DEVCTL_VBUS_NONE 0x00000000 // Below SessionEnd 618 #define USB_DEVCTL_VBUS_SEND 0x00000008 // Above SessionEnd, below AValid 619 #define USB_DEVCTL_VBUS_AVALID 0x00000010 // Above AValid, below VBUSValid 620 #define USB_DEVCTL_VBUS_VALID 0x00000018 // Above VBUSValid 621 #define USB_DEVCTL_HOST 0x00000004 // Host Mode 622 #define USB_DEVCTL_HOSTREQ 0x00000002 // Host Request (OTG only) 623 #define USB_DEVCTL_SESSION 0x00000001 // Session Start/End (OTG only) 630 #define USB_CCONF_TXEDMA 0x00000002 // TX Early DMA Enable 631 #define USB_CCONF_RXEDMA 0x00000001 // TX Early DMA Enable 638 #define USB_TXFIFOSZ_DPB 0x00000010 // Double Packet Buffer Support 639 #define USB_TXFIFOSZ_SIZE_M 0x0000000F // Max Packet Size 640 #define USB_TXFIFOSZ_SIZE_8 0x00000000 // 8 641 #define USB_TXFIFOSZ_SIZE_16 0x00000001 // 16 642 #define USB_TXFIFOSZ_SIZE_32 0x00000002 // 32 643 #define USB_TXFIFOSZ_SIZE_64 0x00000003 // 64 644 #define USB_TXFIFOSZ_SIZE_128 0x00000004 // 128 645 #define USB_TXFIFOSZ_SIZE_256 0x00000005 // 256 646 #define USB_TXFIFOSZ_SIZE_512 0x00000006 // 512 647 #define USB_TXFIFOSZ_SIZE_1024 0x00000007 // 1024 648 #define USB_TXFIFOSZ_SIZE_2048 0x00000008 // 2048 655 #define USB_RXFIFOSZ_DPB 0x00000010 // Double Packet Buffer Support 656 #define USB_RXFIFOSZ_SIZE_M 0x0000000F // Max Packet Size 657 #define USB_RXFIFOSZ_SIZE_8 0x00000000 // 8 658 #define USB_RXFIFOSZ_SIZE_16 0x00000001 // 16 659 #define USB_RXFIFOSZ_SIZE_32 0x00000002 // 32 660 #define USB_RXFIFOSZ_SIZE_64 0x00000003 // 64 661 #define USB_RXFIFOSZ_SIZE_128 0x00000004 // 128 662 #define USB_RXFIFOSZ_SIZE_256 0x00000005 // 256 663 #define USB_RXFIFOSZ_SIZE_512 0x00000006 // 512 664 #define USB_RXFIFOSZ_SIZE_1024 0x00000007 // 1024 665 #define USB_RXFIFOSZ_SIZE_2048 0x00000008 // 2048 673 #define USB_TXFIFOADD_ADDR_M 0x000001FF // Transmit/Receive Start Address 674 #define USB_TXFIFOADD_ADDR_S 0 682 #define USB_RXFIFOADD_ADDR_M 0x000001FF // Transmit/Receive Start Address 683 #define USB_RXFIFOADD_ADDR_S 0 691 #define USB_ULPIVBUSCTL_USEEXTVBUSIND \ 692 0x00000002 // Use External VBUS Indicator 693 #define USB_ULPIVBUSCTL_USEEXTVBUS \ 694 0x00000001 // Use External VBUS 702 #define USB_ULPIREGDATA_REGDATA_M \ 703 0x000000FF // Register Data 704 #define USB_ULPIREGDATA_REGDATA_S \ 713 #define USB_ULPIREGADDR_ADDR_M 0x000000FF // Register Address 714 #define USB_ULPIREGADDR_ADDR_S 0 722 #define USB_ULPIREGCTL_RDWR 0x00000004 // Read/Write Control 723 #define USB_ULPIREGCTL_REGCMPLT 0x00000002 // Register Access Complete 724 #define USB_ULPIREGCTL_REGACC 0x00000001 // Initiate Register Access 731 #define USB_EPINFO_RXEP_M 0x000000F0 // RX Endpoints 732 #define USB_EPINFO_TXEP_M 0x0000000F // TX Endpoints 733 #define USB_EPINFO_RXEP_S 4 734 #define USB_EPINFO_TXEP_S 0 741 #define USB_RAMINFO_DMACHAN_M 0x000000F0 // DMA Channels 742 #define USB_RAMINFO_RAMBITS_M 0x0000000F // RAM Address Bus Width 743 #define USB_RAMINFO_DMACHAN_S 4 744 #define USB_RAMINFO_RAMBITS_S 0 751 #define USB_CONTIM_WTCON_M 0x000000F0 // Connect Wait 752 #define USB_CONTIM_WTID_M 0x0000000F // Wait ID 753 #define USB_CONTIM_WTCON_S 4 754 #define USB_CONTIM_WTID_S 0 761 #define USB_VPLEN_VPLEN_M 0x000000FF // VBUS Pulse Length 762 #define USB_VPLEN_VPLEN_S 0 769 #define USB_HSEOF_HSEOFG_M 0x000000FF // HIgh-Speed End-of-Frame Gap 770 #define USB_HSEOF_HSEOFG_S 0 777 #define USB_FSEOF_FSEOFG_M 0x000000FF // Full-Speed End-of-Frame Gap 778 #define USB_FSEOF_FSEOFG_S 0 785 #define USB_LSEOF_LSEOFG_M 0x000000FF // Low-Speed End-of-Frame Gap 786 #define USB_LSEOF_LSEOFG_S 0 794 #define USB_TXFUNCADDR0_ADDR_M 0x0000007F // Device Address 795 #define USB_TXFUNCADDR0_ADDR_S 0 803 #define USB_TXHUBADDR0_ADDR_M 0x0000007F // Hub Address 804 #define USB_TXHUBADDR0_ADDR_S 0 812 #define USB_TXHUBPORT0_PORT_M 0x0000007F // Hub Port 813 #define USB_TXHUBPORT0_PORT_S 0 821 #define USB_TXFUNCADDR1_ADDR_M 0x0000007F // Device Address 822 #define USB_TXFUNCADDR1_ADDR_S 0 830 #define USB_TXHUBADDR1_ADDR_M 0x0000007F // Hub Address 831 #define USB_TXHUBADDR1_ADDR_S 0 839 #define USB_TXHUBPORT1_PORT_M 0x0000007F // Hub Port 840 #define USB_TXHUBPORT1_PORT_S 0 848 #define USB_RXFUNCADDR1_ADDR_M 0x0000007F // Device Address 849 #define USB_RXFUNCADDR1_ADDR_S 0 857 #define USB_RXHUBADDR1_ADDR_M 0x0000007F // Hub Address 858 #define USB_RXHUBADDR1_ADDR_S 0 866 #define USB_RXHUBPORT1_PORT_M 0x0000007F // Hub Port 867 #define USB_RXHUBPORT1_PORT_S 0 875 #define USB_TXFUNCADDR2_ADDR_M 0x0000007F // Device Address 876 #define USB_TXFUNCADDR2_ADDR_S 0 884 #define USB_TXHUBADDR2_ADDR_M 0x0000007F // Hub Address 885 #define USB_TXHUBADDR2_ADDR_S 0 893 #define USB_TXHUBPORT2_PORT_M 0x0000007F // Hub Port 894 #define USB_TXHUBPORT2_PORT_S 0 902 #define USB_RXFUNCADDR2_ADDR_M 0x0000007F // Device Address 903 #define USB_RXFUNCADDR2_ADDR_S 0 911 #define USB_RXHUBADDR2_ADDR_M 0x0000007F // Hub Address 912 #define USB_RXHUBADDR2_ADDR_S 0 920 #define USB_RXHUBPORT2_PORT_M 0x0000007F // Hub Port 921 #define USB_RXHUBPORT2_PORT_S 0 929 #define USB_TXFUNCADDR3_ADDR_M 0x0000007F // Device Address 930 #define USB_TXFUNCADDR3_ADDR_S 0 938 #define USB_TXHUBADDR3_ADDR_M 0x0000007F // Hub Address 939 #define USB_TXHUBADDR3_ADDR_S 0 947 #define USB_TXHUBPORT3_PORT_M 0x0000007F // Hub Port 948 #define USB_TXHUBPORT3_PORT_S 0 956 #define USB_RXFUNCADDR3_ADDR_M 0x0000007F // Device Address 957 #define USB_RXFUNCADDR3_ADDR_S 0 965 #define USB_RXHUBADDR3_ADDR_M 0x0000007F // Hub Address 966 #define USB_RXHUBADDR3_ADDR_S 0 974 #define USB_RXHUBPORT3_PORT_M 0x0000007F // Hub Port 975 #define USB_RXHUBPORT3_PORT_S 0 983 #define USB_TXFUNCADDR4_ADDR_M 0x0000007F // Device Address 984 #define USB_TXFUNCADDR4_ADDR_S 0 992 #define USB_TXHUBADDR4_ADDR_M 0x0000007F // Hub Address 993 #define USB_TXHUBADDR4_ADDR_S 0 1001 #define USB_TXHUBPORT4_PORT_M 0x0000007F // Hub Port 1002 #define USB_TXHUBPORT4_PORT_S 0 1010 #define USB_RXFUNCADDR4_ADDR_M 0x0000007F // Device Address 1011 #define USB_RXFUNCADDR4_ADDR_S 0 1019 #define USB_RXHUBADDR4_ADDR_M 0x0000007F // Hub Address 1020 #define USB_RXHUBADDR4_ADDR_S 0 1028 #define USB_RXHUBPORT4_PORT_M 0x0000007F // Hub Port 1029 #define USB_RXHUBPORT4_PORT_S 0 1037 #define USB_TXFUNCADDR5_ADDR_M 0x0000007F // Device Address 1038 #define USB_TXFUNCADDR5_ADDR_S 0 1046 #define USB_TXHUBADDR5_ADDR_M 0x0000007F // Hub Address 1047 #define USB_TXHUBADDR5_ADDR_S 0 1055 #define USB_TXHUBPORT5_PORT_M 0x0000007F // Hub Port 1056 #define USB_TXHUBPORT5_PORT_S 0 1064 #define USB_RXFUNCADDR5_ADDR_M 0x0000007F // Device Address 1065 #define USB_RXFUNCADDR5_ADDR_S 0 1073 #define USB_RXHUBADDR5_ADDR_M 0x0000007F // Hub Address 1074 #define USB_RXHUBADDR5_ADDR_S 0 1082 #define USB_RXHUBPORT5_PORT_M 0x0000007F // Hub Port 1083 #define USB_RXHUBPORT5_PORT_S 0 1091 #define USB_TXFUNCADDR6_ADDR_M 0x0000007F // Device Address 1092 #define USB_TXFUNCADDR6_ADDR_S 0 1100 #define USB_TXHUBADDR6_ADDR_M 0x0000007F // Hub Address 1101 #define USB_TXHUBADDR6_ADDR_S 0 1109 #define USB_TXHUBPORT6_PORT_M 0x0000007F // Hub Port 1110 #define USB_TXHUBPORT6_PORT_S 0 1118 #define USB_RXFUNCADDR6_ADDR_M 0x0000007F // Device Address 1119 #define USB_RXFUNCADDR6_ADDR_S 0 1127 #define USB_RXHUBADDR6_ADDR_M 0x0000007F // Hub Address 1128 #define USB_RXHUBADDR6_ADDR_S 0 1136 #define USB_RXHUBPORT6_PORT_M 0x0000007F // Hub Port 1137 #define USB_RXHUBPORT6_PORT_S 0 1145 #define USB_TXFUNCADDR7_ADDR_M 0x0000007F // Device Address 1146 #define USB_TXFUNCADDR7_ADDR_S 0 1154 #define USB_TXHUBADDR7_ADDR_M 0x0000007F // Hub Address 1155 #define USB_TXHUBADDR7_ADDR_S 0 1163 #define USB_TXHUBPORT7_PORT_M 0x0000007F // Hub Port 1164 #define USB_TXHUBPORT7_PORT_S 0 1172 #define USB_RXFUNCADDR7_ADDR_M 0x0000007F // Device Address 1173 #define USB_RXFUNCADDR7_ADDR_S 0 1181 #define USB_RXHUBADDR7_ADDR_M 0x0000007F // Hub Address 1182 #define USB_RXHUBADDR7_ADDR_S 0 1190 #define USB_RXHUBPORT7_PORT_M 0x0000007F // Hub Port 1191 #define USB_RXHUBPORT7_PORT_S 0 1198 #define USB_CSRL0_NAKTO 0x00000080 // NAK Timeout 1199 #define USB_CSRL0_SETENDC 0x00000080 // Setup End Clear 1200 #define USB_CSRL0_STATUS 0x00000040 // STATUS Packet 1201 #define USB_CSRL0_RXRDYC 0x00000040 // RXRDY Clear 1202 #define USB_CSRL0_REQPKT 0x00000020 // Request Packet 1203 #define USB_CSRL0_STALL 0x00000020 // Send Stall 1204 #define USB_CSRL0_SETEND 0x00000010 // Setup End 1205 #define USB_CSRL0_ERROR 0x00000010 // Error 1206 #define USB_CSRL0_DATAEND 0x00000008 // Data End 1207 #define USB_CSRL0_SETUP 0x00000008 // Setup Packet 1208 #define USB_CSRL0_STALLED 0x00000004 // Endpoint Stalled 1209 #define USB_CSRL0_TXRDY 0x00000002 // Transmit Packet Ready 1210 #define USB_CSRL0_RXRDY 0x00000001 // Receive Packet Ready 1217 #define USB_CSRH0_DISPING 0x00000008 // PING Disable 1218 #define USB_CSRH0_DTWE 0x00000004 // Data Toggle Write Enable 1219 #define USB_CSRH0_DT 0x00000002 // Data Toggle 1220 #define USB_CSRH0_FLUSH 0x00000001 // Flush FIFO 1227 #define USB_COUNT0_COUNT_M 0x0000007F // FIFO Count 1228 #define USB_COUNT0_COUNT_S 0 1235 #define USB_TYPE0_SPEED_M 0x000000C0 // Operating Speed 1236 #define USB_TYPE0_SPEED_HIGH 0x00000040 // High 1237 #define USB_TYPE0_SPEED_FULL 0x00000080 // Full 1238 #define USB_TYPE0_SPEED_LOW 0x000000C0 // Low 1245 #define USB_NAKLMT_NAKLMT_M 0x0000001F // EP0 NAK Limit 1246 #define USB_NAKLMT_NAKLMT_S 0 1253 #define USB_TXMAXP1_MAXLOAD_M 0x000007FF // Maximum Payload 1254 #define USB_TXMAXP1_MAXLOAD_S 0 1261 #define USB_TXCSRL1_NAKTO 0x00000080 // NAK Timeout 1262 #define USB_TXCSRL1_CLRDT 0x00000040 // Clear Data Toggle 1263 #define USB_TXCSRL1_STALLED 0x00000020 // Endpoint Stalled 1264 #define USB_TXCSRL1_STALL 0x00000010 // Send STALL 1265 #define USB_TXCSRL1_SETUP 0x00000010 // Setup Packet 1266 #define USB_TXCSRL1_FLUSH 0x00000008 // Flush FIFO 1267 #define USB_TXCSRL1_ERROR 0x00000004 // Error 1268 #define USB_TXCSRL1_UNDRN 0x00000004 // Underrun 1269 #define USB_TXCSRL1_FIFONE 0x00000002 // FIFO Not Empty 1270 #define USB_TXCSRL1_TXRDY 0x00000001 // Transmit Packet Ready 1277 #define USB_TXCSRH1_AUTOSET 0x00000080 // Auto Set 1278 #define USB_TXCSRH1_ISO 0x00000040 // Isochronous Transfers 1279 #define USB_TXCSRH1_MODE 0x00000020 // Mode 1280 #define USB_TXCSRH1_DMAEN 0x00000010 // DMA Request Enable 1281 #define USB_TXCSRH1_FDT 0x00000008 // Force Data Toggle 1282 #define USB_TXCSRH1_DMAMOD 0x00000004 // DMA Request Mode 1283 #define USB_TXCSRH1_DTWE 0x00000002 // Data Toggle Write Enable 1284 #define USB_TXCSRH1_DT 0x00000001 // Data Toggle 1291 #define USB_RXMAXP1_MAXLOAD_M 0x000007FF // Maximum Payload 1292 #define USB_RXMAXP1_MAXLOAD_S 0 1299 #define USB_RXCSRL1_CLRDT 0x00000080 // Clear Data Toggle 1300 #define USB_RXCSRL1_STALLED 0x00000040 // Endpoint Stalled 1301 #define USB_RXCSRL1_STALL 0x00000020 // Send STALL 1302 #define USB_RXCSRL1_REQPKT 0x00000020 // Request Packet 1303 #define USB_RXCSRL1_FLUSH 0x00000010 // Flush FIFO 1304 #define USB_RXCSRL1_DATAERR 0x00000008 // Data Error 1305 #define USB_RXCSRL1_NAKTO 0x00000008 // NAK Timeout 1306 #define USB_RXCSRL1_OVER 0x00000004 // Overrun 1307 #define USB_RXCSRL1_ERROR 0x00000004 // Error 1308 #define USB_RXCSRL1_FULL 0x00000002 // FIFO Full 1309 #define USB_RXCSRL1_RXRDY 0x00000001 // Receive Packet Ready 1316 #define USB_RXCSRH1_AUTOCL 0x00000080 // Auto Clear 1317 #define USB_RXCSRH1_AUTORQ 0x00000040 // Auto Request 1318 #define USB_RXCSRH1_ISO 0x00000040 // Isochronous Transfers 1319 #define USB_RXCSRH1_DMAEN 0x00000020 // DMA Request Enable 1320 #define USB_RXCSRH1_DISNYET 0x00000010 // Disable NYET 1321 #define USB_RXCSRH1_PIDERR 0x00000010 // PID Error 1322 #define USB_RXCSRH1_DMAMOD 0x00000008 // DMA Request Mode 1323 #define USB_RXCSRH1_DTWE 0x00000004 // Data Toggle Write Enable 1324 #define USB_RXCSRH1_DT 0x00000002 // Data Toggle 1325 #define USB_RXCSRH1_INCOMPRX 0x00000001 // Incomplete RX Transmission 1333 #define USB_RXCOUNT1_COUNT_M 0x00001FFF // Receive Packet Count 1334 #define USB_RXCOUNT1_COUNT_S 0 1341 #define USB_TXTYPE1_SPEED_M 0x000000C0 // Operating Speed 1342 #define USB_TXTYPE1_SPEED_DFLT 0x00000000 // Default 1343 #define USB_TXTYPE1_SPEED_HIGH 0x00000040 // High 1344 #define USB_TXTYPE1_SPEED_FULL 0x00000080 // Full 1345 #define USB_TXTYPE1_SPEED_LOW 0x000000C0 // Low 1346 #define USB_TXTYPE1_PROTO_M 0x00000030 // Protocol 1347 #define USB_TXTYPE1_PROTO_CTRL 0x00000000 // Control 1348 #define USB_TXTYPE1_PROTO_ISOC 0x00000010 // Isochronous 1349 #define USB_TXTYPE1_PROTO_BULK 0x00000020 // Bulk 1350 #define USB_TXTYPE1_PROTO_INT 0x00000030 // Interrupt 1351 #define USB_TXTYPE1_TEP_M 0x0000000F // Target Endpoint Number 1352 #define USB_TXTYPE1_TEP_S 0 1360 #define USB_TXINTERVAL1_NAKLMT_M \ 1361 0x000000FF // NAK Limit 1362 #define USB_TXINTERVAL1_TXPOLL_M \ 1363 0x000000FF // TX Polling 1364 #define USB_TXINTERVAL1_TXPOLL_S \ 1366 #define USB_TXINTERVAL1_NAKLMT_S \ 1374 #define USB_RXTYPE1_SPEED_M 0x000000C0 // Operating Speed 1375 #define USB_RXTYPE1_SPEED_DFLT 0x00000000 // Default 1376 #define USB_RXTYPE1_SPEED_HIGH 0x00000040 // High 1377 #define USB_RXTYPE1_SPEED_FULL 0x00000080 // Full 1378 #define USB_RXTYPE1_SPEED_LOW 0x000000C0 // Low 1379 #define USB_RXTYPE1_PROTO_M 0x00000030 // Protocol 1380 #define USB_RXTYPE1_PROTO_CTRL 0x00000000 // Control 1381 #define USB_RXTYPE1_PROTO_ISOC 0x00000010 // Isochronous 1382 #define USB_RXTYPE1_PROTO_BULK 0x00000020 // Bulk 1383 #define USB_RXTYPE1_PROTO_INT 0x00000030 // Interrupt 1384 #define USB_RXTYPE1_TEP_M 0x0000000F // Target Endpoint Number 1385 #define USB_RXTYPE1_TEP_S 0 1393 #define USB_RXINTERVAL1_TXPOLL_M \ 1394 0x000000FF // RX Polling 1395 #define USB_RXINTERVAL1_NAKLMT_M \ 1396 0x000000FF // NAK Limit 1397 #define USB_RXINTERVAL1_TXPOLL_S \ 1399 #define USB_RXINTERVAL1_NAKLMT_S \ 1407 #define USB_TXMAXP2_MAXLOAD_M 0x000007FF // Maximum Payload 1408 #define USB_TXMAXP2_MAXLOAD_S 0 1415 #define USB_TXCSRL2_NAKTO 0x00000080 // NAK Timeout 1416 #define USB_TXCSRL2_CLRDT 0x00000040 // Clear Data Toggle 1417 #define USB_TXCSRL2_STALLED 0x00000020 // Endpoint Stalled 1418 #define USB_TXCSRL2_SETUP 0x00000010 // Setup Packet 1419 #define USB_TXCSRL2_STALL 0x00000010 // Send STALL 1420 #define USB_TXCSRL2_FLUSH 0x00000008 // Flush FIFO 1421 #define USB_TXCSRL2_ERROR 0x00000004 // Error 1422 #define USB_TXCSRL2_UNDRN 0x00000004 // Underrun 1423 #define USB_TXCSRL2_FIFONE 0x00000002 // FIFO Not Empty 1424 #define USB_TXCSRL2_TXRDY 0x00000001 // Transmit Packet Ready 1431 #define USB_TXCSRH2_AUTOSET 0x00000080 // Auto Set 1432 #define USB_TXCSRH2_ISO 0x00000040 // Isochronous Transfers 1433 #define USB_TXCSRH2_MODE 0x00000020 // Mode 1434 #define USB_TXCSRH2_DMAEN 0x00000010 // DMA Request Enable 1435 #define USB_TXCSRH2_FDT 0x00000008 // Force Data Toggle 1436 #define USB_TXCSRH2_DMAMOD 0x00000004 // DMA Request Mode 1437 #define USB_TXCSRH2_DTWE 0x00000002 // Data Toggle Write Enable 1438 #define USB_TXCSRH2_DT 0x00000001 // Data Toggle 1445 #define USB_RXMAXP2_MAXLOAD_M 0x000007FF // Maximum Payload 1446 #define USB_RXMAXP2_MAXLOAD_S 0 1453 #define USB_RXCSRL2_CLRDT 0x00000080 // Clear Data Toggle 1454 #define USB_RXCSRL2_STALLED 0x00000040 // Endpoint Stalled 1455 #define USB_RXCSRL2_REQPKT 0x00000020 // Request Packet 1456 #define USB_RXCSRL2_STALL 0x00000020 // Send STALL 1457 #define USB_RXCSRL2_FLUSH 0x00000010 // Flush FIFO 1458 #define USB_RXCSRL2_DATAERR 0x00000008 // Data Error 1459 #define USB_RXCSRL2_NAKTO 0x00000008 // NAK Timeout 1460 #define USB_RXCSRL2_ERROR 0x00000004 // Error 1461 #define USB_RXCSRL2_OVER 0x00000004 // Overrun 1462 #define USB_RXCSRL2_FULL 0x00000002 // FIFO Full 1463 #define USB_RXCSRL2_RXRDY 0x00000001 // Receive Packet Ready 1470 #define USB_RXCSRH2_AUTOCL 0x00000080 // Auto Clear 1471 #define USB_RXCSRH2_AUTORQ 0x00000040 // Auto Request 1472 #define USB_RXCSRH2_ISO 0x00000040 // Isochronous Transfers 1473 #define USB_RXCSRH2_DMAEN 0x00000020 // DMA Request Enable 1474 #define USB_RXCSRH2_DISNYET 0x00000010 // Disable NYET 1475 #define USB_RXCSRH2_PIDERR 0x00000010 // PID Error 1476 #define USB_RXCSRH2_DMAMOD 0x00000008 // DMA Request Mode 1477 #define USB_RXCSRH2_DTWE 0x00000004 // Data Toggle Write Enable 1478 #define USB_RXCSRH2_DT 0x00000002 // Data Toggle 1479 #define USB_RXCSRH2_INCOMPRX 0x00000001 // Incomplete RX Transmission 1487 #define USB_RXCOUNT2_COUNT_M 0x00001FFF // Receive Packet Count 1488 #define USB_RXCOUNT2_COUNT_S 0 1495 #define USB_TXTYPE2_SPEED_M 0x000000C0 // Operating Speed 1496 #define USB_TXTYPE2_SPEED_DFLT 0x00000000 // Default 1497 #define USB_TXTYPE2_SPEED_HIGH 0x00000040 // High 1498 #define USB_TXTYPE2_SPEED_FULL 0x00000080 // Full 1499 #define USB_TXTYPE2_SPEED_LOW 0x000000C0 // Low 1500 #define USB_TXTYPE2_PROTO_M 0x00000030 // Protocol 1501 #define USB_TXTYPE2_PROTO_CTRL 0x00000000 // Control 1502 #define USB_TXTYPE2_PROTO_ISOC 0x00000010 // Isochronous 1503 #define USB_TXTYPE2_PROTO_BULK 0x00000020 // Bulk 1504 #define USB_TXTYPE2_PROTO_INT 0x00000030 // Interrupt 1505 #define USB_TXTYPE2_TEP_M 0x0000000F // Target Endpoint Number 1506 #define USB_TXTYPE2_TEP_S 0 1514 #define USB_TXINTERVAL2_TXPOLL_M \ 1515 0x000000FF // TX Polling 1516 #define USB_TXINTERVAL2_NAKLMT_M \ 1517 0x000000FF // NAK Limit 1518 #define USB_TXINTERVAL2_NAKLMT_S \ 1520 #define USB_TXINTERVAL2_TXPOLL_S \ 1528 #define USB_RXTYPE2_SPEED_M 0x000000C0 // Operating Speed 1529 #define USB_RXTYPE2_SPEED_DFLT 0x00000000 // Default 1530 #define USB_RXTYPE2_SPEED_HIGH 0x00000040 // High 1531 #define USB_RXTYPE2_SPEED_FULL 0x00000080 // Full 1532 #define USB_RXTYPE2_SPEED_LOW 0x000000C0 // Low 1533 #define USB_RXTYPE2_PROTO_M 0x00000030 // Protocol 1534 #define USB_RXTYPE2_PROTO_CTRL 0x00000000 // Control 1535 #define USB_RXTYPE2_PROTO_ISOC 0x00000010 // Isochronous 1536 #define USB_RXTYPE2_PROTO_BULK 0x00000020 // Bulk 1537 #define USB_RXTYPE2_PROTO_INT 0x00000030 // Interrupt 1538 #define USB_RXTYPE2_TEP_M 0x0000000F // Target Endpoint Number 1539 #define USB_RXTYPE2_TEP_S 0 1547 #define USB_RXINTERVAL2_TXPOLL_M \ 1548 0x000000FF // RX Polling 1549 #define USB_RXINTERVAL2_NAKLMT_M \ 1550 0x000000FF // NAK Limit 1551 #define USB_RXINTERVAL2_TXPOLL_S \ 1553 #define USB_RXINTERVAL2_NAKLMT_S \ 1561 #define USB_TXMAXP3_MAXLOAD_M 0x000007FF // Maximum Payload 1562 #define USB_TXMAXP3_MAXLOAD_S 0 1569 #define USB_TXCSRL3_NAKTO 0x00000080 // NAK Timeout 1570 #define USB_TXCSRL3_CLRDT 0x00000040 // Clear Data Toggle 1571 #define USB_TXCSRL3_STALLED 0x00000020 // Endpoint Stalled 1572 #define USB_TXCSRL3_SETUP 0x00000010 // Setup Packet 1573 #define USB_TXCSRL3_STALL 0x00000010 // Send STALL 1574 #define USB_TXCSRL3_FLUSH 0x00000008 // Flush FIFO 1575 #define USB_TXCSRL3_ERROR 0x00000004 // Error 1576 #define USB_TXCSRL3_UNDRN 0x00000004 // Underrun 1577 #define USB_TXCSRL3_FIFONE 0x00000002 // FIFO Not Empty 1578 #define USB_TXCSRL3_TXRDY 0x00000001 // Transmit Packet Ready 1585 #define USB_TXCSRH3_AUTOSET 0x00000080 // Auto Set 1586 #define USB_TXCSRH3_ISO 0x00000040 // Isochronous Transfers 1587 #define USB_TXCSRH3_MODE 0x00000020 // Mode 1588 #define USB_TXCSRH3_DMAEN 0x00000010 // DMA Request Enable 1589 #define USB_TXCSRH3_FDT 0x00000008 // Force Data Toggle 1590 #define USB_TXCSRH3_DMAMOD 0x00000004 // DMA Request Mode 1591 #define USB_TXCSRH3_DTWE 0x00000002 // Data Toggle Write Enable 1592 #define USB_TXCSRH3_DT 0x00000001 // Data Toggle 1599 #define USB_RXMAXP3_MAXLOAD_M 0x000007FF // Maximum Payload 1600 #define USB_RXMAXP3_MAXLOAD_S 0 1607 #define USB_RXCSRL3_CLRDT 0x00000080 // Clear Data Toggle 1608 #define USB_RXCSRL3_STALLED 0x00000040 // Endpoint Stalled 1609 #define USB_RXCSRL3_STALL 0x00000020 // Send STALL 1610 #define USB_RXCSRL3_REQPKT 0x00000020 // Request Packet 1611 #define USB_RXCSRL3_FLUSH 0x00000010 // Flush FIFO 1612 #define USB_RXCSRL3_DATAERR 0x00000008 // Data Error 1613 #define USB_RXCSRL3_NAKTO 0x00000008 // NAK Timeout 1614 #define USB_RXCSRL3_ERROR 0x00000004 // Error 1615 #define USB_RXCSRL3_OVER 0x00000004 // Overrun 1616 #define USB_RXCSRL3_FULL 0x00000002 // FIFO Full 1617 #define USB_RXCSRL3_RXRDY 0x00000001 // Receive Packet Ready 1624 #define USB_RXCSRH3_AUTOCL 0x00000080 // Auto Clear 1625 #define USB_RXCSRH3_AUTORQ 0x00000040 // Auto Request 1626 #define USB_RXCSRH3_ISO 0x00000040 // Isochronous Transfers 1627 #define USB_RXCSRH3_DMAEN 0x00000020 // DMA Request Enable 1628 #define USB_RXCSRH3_DISNYET 0x00000010 // Disable NYET 1629 #define USB_RXCSRH3_PIDERR 0x00000010 // PID Error 1630 #define USB_RXCSRH3_DMAMOD 0x00000008 // DMA Request Mode 1631 #define USB_RXCSRH3_DTWE 0x00000004 // Data Toggle Write Enable 1632 #define USB_RXCSRH3_DT 0x00000002 // Data Toggle 1633 #define USB_RXCSRH3_INCOMPRX 0x00000001 // Incomplete RX Transmission 1641 #define USB_RXCOUNT3_COUNT_M 0x00001FFF // Receive Packet Count 1642 #define USB_RXCOUNT3_COUNT_S 0 1649 #define USB_TXTYPE3_SPEED_M 0x000000C0 // Operating Speed 1650 #define USB_TXTYPE3_SPEED_DFLT 0x00000000 // Default 1651 #define USB_TXTYPE3_SPEED_HIGH 0x00000040 // High 1652 #define USB_TXTYPE3_SPEED_FULL 0x00000080 // Full 1653 #define USB_TXTYPE3_SPEED_LOW 0x000000C0 // Low 1654 #define USB_TXTYPE3_PROTO_M 0x00000030 // Protocol 1655 #define USB_TXTYPE3_PROTO_CTRL 0x00000000 // Control 1656 #define USB_TXTYPE3_PROTO_ISOC 0x00000010 // Isochronous 1657 #define USB_TXTYPE3_PROTO_BULK 0x00000020 // Bulk 1658 #define USB_TXTYPE3_PROTO_INT 0x00000030 // Interrupt 1659 #define USB_TXTYPE3_TEP_M 0x0000000F // Target Endpoint Number 1660 #define USB_TXTYPE3_TEP_S 0 1668 #define USB_TXINTERVAL3_TXPOLL_M \ 1669 0x000000FF // TX Polling 1670 #define USB_TXINTERVAL3_NAKLMT_M \ 1671 0x000000FF // NAK Limit 1672 #define USB_TXINTERVAL3_TXPOLL_S \ 1674 #define USB_TXINTERVAL3_NAKLMT_S \ 1682 #define USB_RXTYPE3_SPEED_M 0x000000C0 // Operating Speed 1683 #define USB_RXTYPE3_SPEED_DFLT 0x00000000 // Default 1684 #define USB_RXTYPE3_SPEED_HIGH 0x00000040 // High 1685 #define USB_RXTYPE3_SPEED_FULL 0x00000080 // Full 1686 #define USB_RXTYPE3_SPEED_LOW 0x000000C0 // Low 1687 #define USB_RXTYPE3_PROTO_M 0x00000030 // Protocol 1688 #define USB_RXTYPE3_PROTO_CTRL 0x00000000 // Control 1689 #define USB_RXTYPE3_PROTO_ISOC 0x00000010 // Isochronous 1690 #define USB_RXTYPE3_PROTO_BULK 0x00000020 // Bulk 1691 #define USB_RXTYPE3_PROTO_INT 0x00000030 // Interrupt 1692 #define USB_RXTYPE3_TEP_M 0x0000000F // Target Endpoint Number 1693 #define USB_RXTYPE3_TEP_S 0 1701 #define USB_RXINTERVAL3_TXPOLL_M \ 1702 0x000000FF // RX Polling 1703 #define USB_RXINTERVAL3_NAKLMT_M \ 1704 0x000000FF // NAK Limit 1705 #define USB_RXINTERVAL3_TXPOLL_S \ 1707 #define USB_RXINTERVAL3_NAKLMT_S \ 1715 #define USB_TXMAXP4_MAXLOAD_M 0x000007FF // Maximum Payload 1716 #define USB_TXMAXP4_MAXLOAD_S 0 1723 #define USB_TXCSRL4_NAKTO 0x00000080 // NAK Timeout 1724 #define USB_TXCSRL4_CLRDT 0x00000040 // Clear Data Toggle 1725 #define USB_TXCSRL4_STALLED 0x00000020 // Endpoint Stalled 1726 #define USB_TXCSRL4_SETUP 0x00000010 // Setup Packet 1727 #define USB_TXCSRL4_STALL 0x00000010 // Send STALL 1728 #define USB_TXCSRL4_FLUSH 0x00000008 // Flush FIFO 1729 #define USB_TXCSRL4_ERROR 0x00000004 // Error 1730 #define USB_TXCSRL4_UNDRN 0x00000004 // Underrun 1731 #define USB_TXCSRL4_FIFONE 0x00000002 // FIFO Not Empty 1732 #define USB_TXCSRL4_TXRDY 0x00000001 // Transmit Packet Ready 1739 #define USB_TXCSRH4_AUTOSET 0x00000080 // Auto Set 1740 #define USB_TXCSRH4_ISO 0x00000040 // Isochronous Transfers 1741 #define USB_TXCSRH4_MODE 0x00000020 // Mode 1742 #define USB_TXCSRH4_DMAEN 0x00000010 // DMA Request Enable 1743 #define USB_TXCSRH4_FDT 0x00000008 // Force Data Toggle 1744 #define USB_TXCSRH4_DMAMOD 0x00000004 // DMA Request Mode 1745 #define USB_TXCSRH4_DTWE 0x00000002 // Data Toggle Write Enable 1746 #define USB_TXCSRH4_DT 0x00000001 // Data Toggle 1753 #define USB_RXMAXP4_MAXLOAD_M 0x000007FF // Maximum Payload 1754 #define USB_RXMAXP4_MAXLOAD_S 0 1761 #define USB_RXCSRL4_CLRDT 0x00000080 // Clear Data Toggle 1762 #define USB_RXCSRL4_STALLED 0x00000040 // Endpoint Stalled 1763 #define USB_RXCSRL4_STALL 0x00000020 // Send STALL 1764 #define USB_RXCSRL4_REQPKT 0x00000020 // Request Packet 1765 #define USB_RXCSRL4_FLUSH 0x00000010 // Flush FIFO 1766 #define USB_RXCSRL4_NAKTO 0x00000008 // NAK Timeout 1767 #define USB_RXCSRL4_DATAERR 0x00000008 // Data Error 1768 #define USB_RXCSRL4_OVER 0x00000004 // Overrun 1769 #define USB_RXCSRL4_ERROR 0x00000004 // Error 1770 #define USB_RXCSRL4_FULL 0x00000002 // FIFO Full 1771 #define USB_RXCSRL4_RXRDY 0x00000001 // Receive Packet Ready 1778 #define USB_RXCSRH4_AUTOCL 0x00000080 // Auto Clear 1779 #define USB_RXCSRH4_AUTORQ 0x00000040 // Auto Request 1780 #define USB_RXCSRH4_ISO 0x00000040 // Isochronous Transfers 1781 #define USB_RXCSRH4_DMAEN 0x00000020 // DMA Request Enable 1782 #define USB_RXCSRH4_DISNYET 0x00000010 // Disable NYET 1783 #define USB_RXCSRH4_PIDERR 0x00000010 // PID Error 1784 #define USB_RXCSRH4_DMAMOD 0x00000008 // DMA Request Mode 1785 #define USB_RXCSRH4_DTWE 0x00000004 // Data Toggle Write Enable 1786 #define USB_RXCSRH4_DT 0x00000002 // Data Toggle 1787 #define USB_RXCSRH4_INCOMPRX 0x00000001 // Incomplete RX Transmission 1795 #define USB_RXCOUNT4_COUNT_M 0x00001FFF // Receive Packet Count 1796 #define USB_RXCOUNT4_COUNT_S 0 1803 #define USB_TXTYPE4_SPEED_M 0x000000C0 // Operating Speed 1804 #define USB_TXTYPE4_SPEED_DFLT 0x00000000 // Default 1805 #define USB_TXTYPE4_SPEED_HIGH 0x00000040 // High 1806 #define USB_TXTYPE4_SPEED_FULL 0x00000080 // Full 1807 #define USB_TXTYPE4_SPEED_LOW 0x000000C0 // Low 1808 #define USB_TXTYPE4_PROTO_M 0x00000030 // Protocol 1809 #define USB_TXTYPE4_PROTO_CTRL 0x00000000 // Control 1810 #define USB_TXTYPE4_PROTO_ISOC 0x00000010 // Isochronous 1811 #define USB_TXTYPE4_PROTO_BULK 0x00000020 // Bulk 1812 #define USB_TXTYPE4_PROTO_INT 0x00000030 // Interrupt 1813 #define USB_TXTYPE4_TEP_M 0x0000000F // Target Endpoint Number 1814 #define USB_TXTYPE4_TEP_S 0 1822 #define USB_TXINTERVAL4_TXPOLL_M \ 1823 0x000000FF // TX Polling 1824 #define USB_TXINTERVAL4_NAKLMT_M \ 1825 0x000000FF // NAK Limit 1826 #define USB_TXINTERVAL4_NAKLMT_S \ 1828 #define USB_TXINTERVAL4_TXPOLL_S \ 1836 #define USB_RXTYPE4_SPEED_M 0x000000C0 // Operating Speed 1837 #define USB_RXTYPE4_SPEED_DFLT 0x00000000 // Default 1838 #define USB_RXTYPE4_SPEED_HIGH 0x00000040 // High 1839 #define USB_RXTYPE4_SPEED_FULL 0x00000080 // Full 1840 #define USB_RXTYPE4_SPEED_LOW 0x000000C0 // Low 1841 #define USB_RXTYPE4_PROTO_M 0x00000030 // Protocol 1842 #define USB_RXTYPE4_PROTO_CTRL 0x00000000 // Control 1843 #define USB_RXTYPE4_PROTO_ISOC 0x00000010 // Isochronous 1844 #define USB_RXTYPE4_PROTO_BULK 0x00000020 // Bulk 1845 #define USB_RXTYPE4_PROTO_INT 0x00000030 // Interrupt 1846 #define USB_RXTYPE4_TEP_M 0x0000000F // Target Endpoint Number 1847 #define USB_RXTYPE4_TEP_S 0 1855 #define USB_RXINTERVAL4_TXPOLL_M \ 1856 0x000000FF // RX Polling 1857 #define USB_RXINTERVAL4_NAKLMT_M \ 1858 0x000000FF // NAK Limit 1859 #define USB_RXINTERVAL4_NAKLMT_S \ 1861 #define USB_RXINTERVAL4_TXPOLL_S \ 1869 #define USB_TXMAXP5_MAXLOAD_M 0x000007FF // Maximum Payload 1870 #define USB_TXMAXP5_MAXLOAD_S 0 1877 #define USB_TXCSRL5_NAKTO 0x00000080 // NAK Timeout 1878 #define USB_TXCSRL5_CLRDT 0x00000040 // Clear Data Toggle 1879 #define USB_TXCSRL5_STALLED 0x00000020 // Endpoint Stalled 1880 #define USB_TXCSRL5_SETUP 0x00000010 // Setup Packet 1881 #define USB_TXCSRL5_STALL 0x00000010 // Send STALL 1882 #define USB_TXCSRL5_FLUSH 0x00000008 // Flush FIFO 1883 #define USB_TXCSRL5_ERROR 0x00000004 // Error 1884 #define USB_TXCSRL5_UNDRN 0x00000004 // Underrun 1885 #define USB_TXCSRL5_FIFONE 0x00000002 // FIFO Not Empty 1886 #define USB_TXCSRL5_TXRDY 0x00000001 // Transmit Packet Ready 1893 #define USB_TXCSRH5_AUTOSET 0x00000080 // Auto Set 1894 #define USB_TXCSRH5_ISO 0x00000040 // Isochronous Transfers 1895 #define USB_TXCSRH5_MODE 0x00000020 // Mode 1896 #define USB_TXCSRH5_DMAEN 0x00000010 // DMA Request Enable 1897 #define USB_TXCSRH5_FDT 0x00000008 // Force Data Toggle 1898 #define USB_TXCSRH5_DMAMOD 0x00000004 // DMA Request Mode 1899 #define USB_TXCSRH5_DTWE 0x00000002 // Data Toggle Write Enable 1900 #define USB_TXCSRH5_DT 0x00000001 // Data Toggle 1907 #define USB_RXMAXP5_MAXLOAD_M 0x000007FF // Maximum Payload 1908 #define USB_RXMAXP5_MAXLOAD_S 0 1915 #define USB_RXCSRL5_CLRDT 0x00000080 // Clear Data Toggle 1916 #define USB_RXCSRL5_STALLED 0x00000040 // Endpoint Stalled 1917 #define USB_RXCSRL5_STALL 0x00000020 // Send STALL 1918 #define USB_RXCSRL5_REQPKT 0x00000020 // Request Packet 1919 #define USB_RXCSRL5_FLUSH 0x00000010 // Flush FIFO 1920 #define USB_RXCSRL5_NAKTO 0x00000008 // NAK Timeout 1921 #define USB_RXCSRL5_DATAERR 0x00000008 // Data Error 1922 #define USB_RXCSRL5_ERROR 0x00000004 // Error 1923 #define USB_RXCSRL5_OVER 0x00000004 // Overrun 1924 #define USB_RXCSRL5_FULL 0x00000002 // FIFO Full 1925 #define USB_RXCSRL5_RXRDY 0x00000001 // Receive Packet Ready 1932 #define USB_RXCSRH5_AUTOCL 0x00000080 // Auto Clear 1933 #define USB_RXCSRH5_AUTORQ 0x00000040 // Auto Request 1934 #define USB_RXCSRH5_ISO 0x00000040 // Isochronous Transfers 1935 #define USB_RXCSRH5_DMAEN 0x00000020 // DMA Request Enable 1936 #define USB_RXCSRH5_DISNYET 0x00000010 // Disable NYET 1937 #define USB_RXCSRH5_PIDERR 0x00000010 // PID Error 1938 #define USB_RXCSRH5_DMAMOD 0x00000008 // DMA Request Mode 1939 #define USB_RXCSRH5_DTWE 0x00000004 // Data Toggle Write Enable 1940 #define USB_RXCSRH5_DT 0x00000002 // Data Toggle 1941 #define USB_RXCSRH5_INCOMPRX 0x00000001 // Incomplete RX Transmission 1949 #define USB_RXCOUNT5_COUNT_M 0x00001FFF // Receive Packet Count 1950 #define USB_RXCOUNT5_COUNT_S 0 1957 #define USB_TXTYPE5_SPEED_M 0x000000C0 // Operating Speed 1958 #define USB_TXTYPE5_SPEED_DFLT 0x00000000 // Default 1959 #define USB_TXTYPE5_SPEED_HIGH 0x00000040 // High 1960 #define USB_TXTYPE5_SPEED_FULL 0x00000080 // Full 1961 #define USB_TXTYPE5_SPEED_LOW 0x000000C0 // Low 1962 #define USB_TXTYPE5_PROTO_M 0x00000030 // Protocol 1963 #define USB_TXTYPE5_PROTO_CTRL 0x00000000 // Control 1964 #define USB_TXTYPE5_PROTO_ISOC 0x00000010 // Isochronous 1965 #define USB_TXTYPE5_PROTO_BULK 0x00000020 // Bulk 1966 #define USB_TXTYPE5_PROTO_INT 0x00000030 // Interrupt 1967 #define USB_TXTYPE5_TEP_M 0x0000000F // Target Endpoint Number 1968 #define USB_TXTYPE5_TEP_S 0 1976 #define USB_TXINTERVAL5_TXPOLL_M \ 1977 0x000000FF // TX Polling 1978 #define USB_TXINTERVAL5_NAKLMT_M \ 1979 0x000000FF // NAK Limit 1980 #define USB_TXINTERVAL5_NAKLMT_S \ 1982 #define USB_TXINTERVAL5_TXPOLL_S \ 1990 #define USB_RXTYPE5_SPEED_M 0x000000C0 // Operating Speed 1991 #define USB_RXTYPE5_SPEED_DFLT 0x00000000 // Default 1992 #define USB_RXTYPE5_SPEED_HIGH 0x00000040 // High 1993 #define USB_RXTYPE5_SPEED_FULL 0x00000080 // Full 1994 #define USB_RXTYPE5_SPEED_LOW 0x000000C0 // Low 1995 #define USB_RXTYPE5_PROTO_M 0x00000030 // Protocol 1996 #define USB_RXTYPE5_PROTO_CTRL 0x00000000 // Control 1997 #define USB_RXTYPE5_PROTO_ISOC 0x00000010 // Isochronous 1998 #define USB_RXTYPE5_PROTO_BULK 0x00000020 // Bulk 1999 #define USB_RXTYPE5_PROTO_INT 0x00000030 // Interrupt 2000 #define USB_RXTYPE5_TEP_M 0x0000000F // Target Endpoint Number 2001 #define USB_RXTYPE5_TEP_S 0 2009 #define USB_RXINTERVAL5_TXPOLL_M \ 2010 0x000000FF // RX Polling 2011 #define USB_RXINTERVAL5_NAKLMT_M \ 2012 0x000000FF // NAK Limit 2013 #define USB_RXINTERVAL5_TXPOLL_S \ 2015 #define USB_RXINTERVAL5_NAKLMT_S \ 2023 #define USB_TXMAXP6_MAXLOAD_M 0x000007FF // Maximum Payload 2024 #define USB_TXMAXP6_MAXLOAD_S 0 2031 #define USB_TXCSRL6_NAKTO 0x00000080 // NAK Timeout 2032 #define USB_TXCSRL6_CLRDT 0x00000040 // Clear Data Toggle 2033 #define USB_TXCSRL6_STALLED 0x00000020 // Endpoint Stalled 2034 #define USB_TXCSRL6_STALL 0x00000010 // Send STALL 2035 #define USB_TXCSRL6_SETUP 0x00000010 // Setup Packet 2036 #define USB_TXCSRL6_FLUSH 0x00000008 // Flush FIFO 2037 #define USB_TXCSRL6_ERROR 0x00000004 // Error 2038 #define USB_TXCSRL6_UNDRN 0x00000004 // Underrun 2039 #define USB_TXCSRL6_FIFONE 0x00000002 // FIFO Not Empty 2040 #define USB_TXCSRL6_TXRDY 0x00000001 // Transmit Packet Ready 2047 #define USB_TXCSRH6_AUTOSET 0x00000080 // Auto Set 2048 #define USB_TXCSRH6_ISO 0x00000040 // Isochronous Transfers 2049 #define USB_TXCSRH6_MODE 0x00000020 // Mode 2050 #define USB_TXCSRH6_DMAEN 0x00000010 // DMA Request Enable 2051 #define USB_TXCSRH6_FDT 0x00000008 // Force Data Toggle 2052 #define USB_TXCSRH6_DMAMOD 0x00000004 // DMA Request Mode 2053 #define USB_TXCSRH6_DTWE 0x00000002 // Data Toggle Write Enable 2054 #define USB_TXCSRH6_DT 0x00000001 // Data Toggle 2061 #define USB_RXMAXP6_MAXLOAD_M 0x000007FF // Maximum Payload 2062 #define USB_RXMAXP6_MAXLOAD_S 0 2069 #define USB_RXCSRL6_CLRDT 0x00000080 // Clear Data Toggle 2070 #define USB_RXCSRL6_STALLED 0x00000040 // Endpoint Stalled 2071 #define USB_RXCSRL6_REQPKT 0x00000020 // Request Packet 2072 #define USB_RXCSRL6_STALL 0x00000020 // Send STALL 2073 #define USB_RXCSRL6_FLUSH 0x00000010 // Flush FIFO 2074 #define USB_RXCSRL6_NAKTO 0x00000008 // NAK Timeout 2075 #define USB_RXCSRL6_DATAERR 0x00000008 // Data Error 2076 #define USB_RXCSRL6_ERROR 0x00000004 // Error 2077 #define USB_RXCSRL6_OVER 0x00000004 // Overrun 2078 #define USB_RXCSRL6_FULL 0x00000002 // FIFO Full 2079 #define USB_RXCSRL6_RXRDY 0x00000001 // Receive Packet Ready 2086 #define USB_RXCSRH6_AUTOCL 0x00000080 // Auto Clear 2087 #define USB_RXCSRH6_AUTORQ 0x00000040 // Auto Request 2088 #define USB_RXCSRH6_ISO 0x00000040 // Isochronous Transfers 2089 #define USB_RXCSRH6_DMAEN 0x00000020 // DMA Request Enable 2090 #define USB_RXCSRH6_DISNYET 0x00000010 // Disable NYET 2091 #define USB_RXCSRH6_PIDERR 0x00000010 // PID Error 2092 #define USB_RXCSRH6_DMAMOD 0x00000008 // DMA Request Mode 2093 #define USB_RXCSRH6_DTWE 0x00000004 // Data Toggle Write Enable 2094 #define USB_RXCSRH6_DT 0x00000002 // Data Toggle 2095 #define USB_RXCSRH6_INCOMPRX 0x00000001 // Incomplete RX Transmission 2103 #define USB_RXCOUNT6_COUNT_M 0x00001FFF // Receive Packet Count 2104 #define USB_RXCOUNT6_COUNT_S 0 2111 #define USB_TXTYPE6_SPEED_M 0x000000C0 // Operating Speed 2112 #define USB_TXTYPE6_SPEED_DFLT 0x00000000 // Default 2113 #define USB_TXTYPE6_SPEED_HIGH 0x00000040 // High 2114 #define USB_TXTYPE6_SPEED_FULL 0x00000080 // Full 2115 #define USB_TXTYPE6_SPEED_LOW 0x000000C0 // Low 2116 #define USB_TXTYPE6_PROTO_M 0x00000030 // Protocol 2117 #define USB_TXTYPE6_PROTO_CTRL 0x00000000 // Control 2118 #define USB_TXTYPE6_PROTO_ISOC 0x00000010 // Isochronous 2119 #define USB_TXTYPE6_PROTO_BULK 0x00000020 // Bulk 2120 #define USB_TXTYPE6_PROTO_INT 0x00000030 // Interrupt 2121 #define USB_TXTYPE6_TEP_M 0x0000000F // Target Endpoint Number 2122 #define USB_TXTYPE6_TEP_S 0 2130 #define USB_TXINTERVAL6_TXPOLL_M \ 2131 0x000000FF // TX Polling 2132 #define USB_TXINTERVAL6_NAKLMT_M \ 2133 0x000000FF // NAK Limit 2134 #define USB_TXINTERVAL6_TXPOLL_S \ 2136 #define USB_TXINTERVAL6_NAKLMT_S \ 2144 #define USB_RXTYPE6_SPEED_M 0x000000C0 // Operating Speed 2145 #define USB_RXTYPE6_SPEED_DFLT 0x00000000 // Default 2146 #define USB_RXTYPE6_SPEED_HIGH 0x00000040 // High 2147 #define USB_RXTYPE6_SPEED_FULL 0x00000080 // Full 2148 #define USB_RXTYPE6_SPEED_LOW 0x000000C0 // Low 2149 #define USB_RXTYPE6_PROTO_M 0x00000030 // Protocol 2150 #define USB_RXTYPE6_PROTO_CTRL 0x00000000 // Control 2151 #define USB_RXTYPE6_PROTO_ISOC 0x00000010 // Isochronous 2152 #define USB_RXTYPE6_PROTO_BULK 0x00000020 // Bulk 2153 #define USB_RXTYPE6_PROTO_INT 0x00000030 // Interrupt 2154 #define USB_RXTYPE6_TEP_M 0x0000000F // Target Endpoint Number 2155 #define USB_RXTYPE6_TEP_S 0 2163 #define USB_RXINTERVAL6_TXPOLL_M \ 2164 0x000000FF // RX Polling 2165 #define USB_RXINTERVAL6_NAKLMT_M \ 2166 0x000000FF // NAK Limit 2167 #define USB_RXINTERVAL6_NAKLMT_S \ 2169 #define USB_RXINTERVAL6_TXPOLL_S \ 2177 #define USB_TXMAXP7_MAXLOAD_M 0x000007FF // Maximum Payload 2178 #define USB_TXMAXP7_MAXLOAD_S 0 2185 #define USB_TXCSRL7_NAKTO 0x00000080 // NAK Timeout 2186 #define USB_TXCSRL7_CLRDT 0x00000040 // Clear Data Toggle 2187 #define USB_TXCSRL7_STALLED 0x00000020 // Endpoint Stalled 2188 #define USB_TXCSRL7_STALL 0x00000010 // Send STALL 2189 #define USB_TXCSRL7_SETUP 0x00000010 // Setup Packet 2190 #define USB_TXCSRL7_FLUSH 0x00000008 // Flush FIFO 2191 #define USB_TXCSRL7_ERROR 0x00000004 // Error 2192 #define USB_TXCSRL7_UNDRN 0x00000004 // Underrun 2193 #define USB_TXCSRL7_FIFONE 0x00000002 // FIFO Not Empty 2194 #define USB_TXCSRL7_TXRDY 0x00000001 // Transmit Packet Ready 2201 #define USB_TXCSRH7_AUTOSET 0x00000080 // Auto Set 2202 #define USB_TXCSRH7_ISO 0x00000040 // Isochronous Transfers 2203 #define USB_TXCSRH7_MODE 0x00000020 // Mode 2204 #define USB_TXCSRH7_DMAEN 0x00000010 // DMA Request Enable 2205 #define USB_TXCSRH7_FDT 0x00000008 // Force Data Toggle 2206 #define USB_TXCSRH7_DMAMOD 0x00000004 // DMA Request Mode 2207 #define USB_TXCSRH7_DTWE 0x00000002 // Data Toggle Write Enable 2208 #define USB_TXCSRH7_DT 0x00000001 // Data Toggle 2215 #define USB_RXMAXP7_MAXLOAD_M 0x000007FF // Maximum Payload 2216 #define USB_RXMAXP7_MAXLOAD_S 0 2223 #define USB_RXCSRL7_CLRDT 0x00000080 // Clear Data Toggle 2224 #define USB_RXCSRL7_STALLED 0x00000040 // Endpoint Stalled 2225 #define USB_RXCSRL7_REQPKT 0x00000020 // Request Packet 2226 #define USB_RXCSRL7_STALL 0x00000020 // Send STALL 2227 #define USB_RXCSRL7_FLUSH 0x00000010 // Flush FIFO 2228 #define USB_RXCSRL7_DATAERR 0x00000008 // Data Error 2229 #define USB_RXCSRL7_NAKTO 0x00000008 // NAK Timeout 2230 #define USB_RXCSRL7_ERROR 0x00000004 // Error 2231 #define USB_RXCSRL7_OVER 0x00000004 // Overrun 2232 #define USB_RXCSRL7_FULL 0x00000002 // FIFO Full 2233 #define USB_RXCSRL7_RXRDY 0x00000001 // Receive Packet Ready 2240 #define USB_RXCSRH7_AUTOCL 0x00000080 // Auto Clear 2241 #define USB_RXCSRH7_ISO 0x00000040 // Isochronous Transfers 2242 #define USB_RXCSRH7_AUTORQ 0x00000040 // Auto Request 2243 #define USB_RXCSRH7_DMAEN 0x00000020 // DMA Request Enable 2244 #define USB_RXCSRH7_PIDERR 0x00000010 // PID Error 2245 #define USB_RXCSRH7_DISNYET 0x00000010 // Disable NYET 2246 #define USB_RXCSRH7_DMAMOD 0x00000008 // DMA Request Mode 2247 #define USB_RXCSRH7_DTWE 0x00000004 // Data Toggle Write Enable 2248 #define USB_RXCSRH7_DT 0x00000002 // Data Toggle 2249 #define USB_RXCSRH7_INCOMPRX 0x00000001 // Incomplete RX Transmission 2257 #define USB_RXCOUNT7_COUNT_M 0x00001FFF // Receive Packet Count 2258 #define USB_RXCOUNT7_COUNT_S 0 2265 #define USB_TXTYPE7_SPEED_M 0x000000C0 // Operating Speed 2266 #define USB_TXTYPE7_SPEED_DFLT 0x00000000 // Default 2267 #define USB_TXTYPE7_SPEED_HIGH 0x00000040 // High 2268 #define USB_TXTYPE7_SPEED_FULL 0x00000080 // Full 2269 #define USB_TXTYPE7_SPEED_LOW 0x000000C0 // Low 2270 #define USB_TXTYPE7_PROTO_M 0x00000030 // Protocol 2271 #define USB_TXTYPE7_PROTO_CTRL 0x00000000 // Control 2272 #define USB_TXTYPE7_PROTO_ISOC 0x00000010 // Isochronous 2273 #define USB_TXTYPE7_PROTO_BULK 0x00000020 // Bulk 2274 #define USB_TXTYPE7_PROTO_INT 0x00000030 // Interrupt 2275 #define USB_TXTYPE7_TEP_M 0x0000000F // Target Endpoint Number 2276 #define USB_TXTYPE7_TEP_S 0 2284 #define USB_TXINTERVAL7_TXPOLL_M \ 2285 0x000000FF // TX Polling 2286 #define USB_TXINTERVAL7_NAKLMT_M \ 2287 0x000000FF // NAK Limit 2288 #define USB_TXINTERVAL7_NAKLMT_S \ 2290 #define USB_TXINTERVAL7_TXPOLL_S \ 2298 #define USB_RXTYPE7_SPEED_M 0x000000C0 // Operating Speed 2299 #define USB_RXTYPE7_SPEED_DFLT 0x00000000 // Default 2300 #define USB_RXTYPE7_SPEED_HIGH 0x00000040 // High 2301 #define USB_RXTYPE7_SPEED_FULL 0x00000080 // Full 2302 #define USB_RXTYPE7_SPEED_LOW 0x000000C0 // Low 2303 #define USB_RXTYPE7_PROTO_M 0x00000030 // Protocol 2304 #define USB_RXTYPE7_PROTO_CTRL 0x00000000 // Control 2305 #define USB_RXTYPE7_PROTO_ISOC 0x00000010 // Isochronous 2306 #define USB_RXTYPE7_PROTO_BULK 0x00000020 // Bulk 2307 #define USB_RXTYPE7_PROTO_INT 0x00000030 // Interrupt 2308 #define USB_RXTYPE7_TEP_M 0x0000000F // Target Endpoint Number 2309 #define USB_RXTYPE7_TEP_S 0 2317 #define USB_RXINTERVAL7_TXPOLL_M \ 2318 0x000000FF // RX Polling 2319 #define USB_RXINTERVAL7_NAKLMT_M \ 2320 0x000000FF // NAK Limit 2321 #define USB_RXINTERVAL7_NAKLMT_S \ 2323 #define USB_RXINTERVAL7_TXPOLL_S \ 2331 #define USB_DMAINTR_CH7 0x00000080 // Channel 7 DMA Interrupt 2332 #define USB_DMAINTR_CH6 0x00000040 // Channel 6 DMA Interrupt 2333 #define USB_DMAINTR_CH5 0x00000020 // Channel 5 DMA Interrupt 2334 #define USB_DMAINTR_CH4 0x00000010 // Channel 4 DMA Interrupt 2335 #define USB_DMAINTR_CH3 0x00000008 // Channel 3 DMA Interrupt 2336 #define USB_DMAINTR_CH2 0x00000004 // Channel 2 DMA Interrupt 2337 #define USB_DMAINTR_CH1 0x00000002 // Channel 1 DMA Interrupt 2338 #define USB_DMAINTR_CH0 0x00000001 // Channel 0 DMA Interrupt 2345 #define USB_DMACTL0_BRSTM_M 0x00000600 // Burst Mode 2346 #define USB_DMACTL0_BRSTM_ANY 0x00000000 // Bursts of unspecified length 2347 #define USB_DMACTL0_BRSTM_INC4 0x00000200 // INCR4 or unspecified length 2348 #define USB_DMACTL0_BRSTM_INC8 0x00000400 // INCR8, INCR4 or unspecified 2350 #define USB_DMACTL0_BRSTM_INC16 0x00000600 // INCR16, INCR8, INCR4 or 2352 #define USB_DMACTL0_ERR 0x00000100 // Bus Error Bit 2353 #define USB_DMACTL0_EP_M 0x000000F0 // Endpoint number 2354 #define USB_DMACTL0_IE 0x00000008 // DMA Interrupt Enable 2355 #define USB_DMACTL0_MODE 0x00000004 // DMA Transfer Mode 2356 #define USB_DMACTL0_DIR 0x00000002 // DMA Direction 2357 #define USB_DMACTL0_ENABLE 0x00000001 // DMA Transfer Enable 2358 #define USB_DMACTL0_EP_S 4 2365 #define USB_DMAADDR0_ADDR_M 0xFFFFFFFC // DMA Address 2366 #define USB_DMAADDR0_ADDR_S 2 2374 #define USB_DMACOUNT0_COUNT_M 0xFFFFFFFC // DMA Count 2375 #define USB_DMACOUNT0_COUNT_S 2 2382 #define USB_DMACTL1_BRSTM_M 0x00000600 // Burst Mode 2383 #define USB_DMACTL1_BRSTM_ANY 0x00000000 // Bursts of unspecified length 2384 #define USB_DMACTL1_BRSTM_INC4 0x00000200 // INCR4 or unspecified length 2385 #define USB_DMACTL1_BRSTM_INC8 0x00000400 // INCR8, INCR4 or unspecified 2387 #define USB_DMACTL1_BRSTM_INC16 0x00000600 // INCR16, INCR8, INCR4 or 2389 #define USB_DMACTL1_ERR 0x00000100 // Bus Error Bit 2390 #define USB_DMACTL1_EP_M 0x000000F0 // Endpoint number 2391 #define USB_DMACTL1_IE 0x00000008 // DMA Interrupt Enable 2392 #define USB_DMACTL1_MODE 0x00000004 // DMA Transfer Mode 2393 #define USB_DMACTL1_DIR 0x00000002 // DMA Direction 2394 #define USB_DMACTL1_ENABLE 0x00000001 // DMA Transfer Enable 2395 #define USB_DMACTL1_EP_S 4 2402 #define USB_DMAADDR1_ADDR_M 0xFFFFFFFC // DMA Address 2403 #define USB_DMAADDR1_ADDR_S 2 2411 #define USB_DMACOUNT1_COUNT_M 0xFFFFFFFC // DMA Count 2412 #define USB_DMACOUNT1_COUNT_S 2 2419 #define USB_DMACTL2_BRSTM_M 0x00000600 // Burst Mode 2420 #define USB_DMACTL2_BRSTM_ANY 0x00000000 // Bursts of unspecified length 2421 #define USB_DMACTL2_BRSTM_INC4 0x00000200 // INCR4 or unspecified length 2422 #define USB_DMACTL2_BRSTM_INC8 0x00000400 // INCR8, INCR4 or unspecified 2424 #define USB_DMACTL2_BRSTM_INC16 0x00000600 // INCR16, INCR8, INCR4 or 2426 #define USB_DMACTL2_ERR 0x00000100 // Bus Error Bit 2427 #define USB_DMACTL2_EP_M 0x000000F0 // Endpoint number 2428 #define USB_DMACTL2_IE 0x00000008 // DMA Interrupt Enable 2429 #define USB_DMACTL2_MODE 0x00000004 // DMA Transfer Mode 2430 #define USB_DMACTL2_DIR 0x00000002 // DMA Direction 2431 #define USB_DMACTL2_ENABLE 0x00000001 // DMA Transfer Enable 2432 #define USB_DMACTL2_EP_S 4 2439 #define USB_DMAADDR2_ADDR_M 0xFFFFFFFC // DMA Address 2440 #define USB_DMAADDR2_ADDR_S 2 2448 #define USB_DMACOUNT2_COUNT_M 0xFFFFFFFC // DMA Count 2449 #define USB_DMACOUNT2_COUNT_S 2 2456 #define USB_DMACTL3_BRSTM_M 0x00000600 // Burst Mode 2457 #define USB_DMACTL3_BRSTM_ANY 0x00000000 // Bursts of unspecified length 2458 #define USB_DMACTL3_BRSTM_INC4 0x00000200 // INCR4 or unspecified length 2459 #define USB_DMACTL3_BRSTM_INC8 0x00000400 // INCR8, INCR4 or unspecified 2461 #define USB_DMACTL3_BRSTM_INC16 0x00000600 // INCR16, INCR8, INCR4 or 2463 #define USB_DMACTL3_ERR 0x00000100 // Bus Error Bit 2464 #define USB_DMACTL3_EP_M 0x000000F0 // Endpoint number 2465 #define USB_DMACTL3_IE 0x00000008 // DMA Interrupt Enable 2466 #define USB_DMACTL3_MODE 0x00000004 // DMA Transfer Mode 2467 #define USB_DMACTL3_DIR 0x00000002 // DMA Direction 2468 #define USB_DMACTL3_ENABLE 0x00000001 // DMA Transfer Enable 2469 #define USB_DMACTL3_EP_S 4 2476 #define USB_DMAADDR3_ADDR_M 0xFFFFFFFC // DMA Address 2477 #define USB_DMAADDR3_ADDR_S 2 2485 #define USB_DMACOUNT3_COUNT_M 0xFFFFFFFC // DMA Count 2486 #define USB_DMACOUNT3_COUNT_S 2 2493 #define USB_DMACTL4_BRSTM_M 0x00000600 // Burst Mode 2494 #define USB_DMACTL4_BRSTM_ANY 0x00000000 // Bursts of unspecified length 2495 #define USB_DMACTL4_BRSTM_INC4 0x00000200 // INCR4 or unspecified length 2496 #define USB_DMACTL4_BRSTM_INC8 0x00000400 // INCR8, INCR4 or unspecified 2498 #define USB_DMACTL4_BRSTM_INC16 0x00000600 // INCR16, INCR8, INCR4 or 2500 #define USB_DMACTL4_ERR 0x00000100 // Bus Error Bit 2501 #define USB_DMACTL4_EP_M 0x000000F0 // Endpoint number 2502 #define USB_DMACTL4_IE 0x00000008 // DMA Interrupt Enable 2503 #define USB_DMACTL4_MODE 0x00000004 // DMA Transfer Mode 2504 #define USB_DMACTL4_DIR 0x00000002 // DMA Direction 2505 #define USB_DMACTL4_ENABLE 0x00000001 // DMA Transfer Enable 2506 #define USB_DMACTL4_EP_S 4 2513 #define USB_DMAADDR4_ADDR_M 0xFFFFFFFC // DMA Address 2514 #define USB_DMAADDR4_ADDR_S 2 2522 #define USB_DMACOUNT4_COUNT_M 0xFFFFFFFC // DMA Count 2523 #define USB_DMACOUNT4_COUNT_S 2 2530 #define USB_DMACTL5_BRSTM_M 0x00000600 // Burst Mode 2531 #define USB_DMACTL5_BRSTM_ANY 0x00000000 // Bursts of unspecified length 2532 #define USB_DMACTL5_BRSTM_INC4 0x00000200 // INCR4 or unspecified length 2533 #define USB_DMACTL5_BRSTM_INC8 0x00000400 // INCR8, INCR4 or unspecified 2535 #define USB_DMACTL5_BRSTM_INC16 0x00000600 // INCR16, INCR8, INCR4 or 2537 #define USB_DMACTL5_ERR 0x00000100 // Bus Error Bit 2538 #define USB_DMACTL5_EP_M 0x000000F0 // Endpoint number 2539 #define USB_DMACTL5_IE 0x00000008 // DMA Interrupt Enable 2540 #define USB_DMACTL5_MODE 0x00000004 // DMA Transfer Mode 2541 #define USB_DMACTL5_DIR 0x00000002 // DMA Direction 2542 #define USB_DMACTL5_ENABLE 0x00000001 // DMA Transfer Enable 2543 #define USB_DMACTL5_EP_S 4 2550 #define USB_DMAADDR5_ADDR_M 0xFFFFFFFC // DMA Address 2551 #define USB_DMAADDR5_ADDR_S 2 2559 #define USB_DMACOUNT5_COUNT_M 0xFFFFFFFC // DMA Count 2560 #define USB_DMACOUNT5_COUNT_S 2 2567 #define USB_DMACTL6_BRSTM_M 0x00000600 // Burst Mode 2568 #define USB_DMACTL6_BRSTM_ANY 0x00000000 // Bursts of unspecified length 2569 #define USB_DMACTL6_BRSTM_INC4 0x00000200 // INCR4 or unspecified length 2570 #define USB_DMACTL6_BRSTM_INC8 0x00000400 // INCR8, INCR4 or unspecified 2572 #define USB_DMACTL6_BRSTM_INC16 0x00000600 // INCR16, INCR8, INCR4 or 2574 #define USB_DMACTL6_ERR 0x00000100 // Bus Error Bit 2575 #define USB_DMACTL6_EP_M 0x000000F0 // Endpoint number 2576 #define USB_DMACTL6_IE 0x00000008 // DMA Interrupt Enable 2577 #define USB_DMACTL6_MODE 0x00000004 // DMA Transfer Mode 2578 #define USB_DMACTL6_DIR 0x00000002 // DMA Direction 2579 #define USB_DMACTL6_ENABLE 0x00000001 // DMA Transfer Enable 2580 #define USB_DMACTL6_EP_S 4 2587 #define USB_DMAADDR6_ADDR_M 0xFFFFFFFC // DMA Address 2588 #define USB_DMAADDR6_ADDR_S 2 2596 #define USB_DMACOUNT6_COUNT_M 0xFFFFFFFC // DMA Count 2597 #define USB_DMACOUNT6_COUNT_S 2 2604 #define USB_DMACTL7_BRSTM_M 0x00000600 // Burst Mode 2605 #define USB_DMACTL7_BRSTM_ANY 0x00000000 // Bursts of unspecified length 2606 #define USB_DMACTL7_BRSTM_INC4 0x00000200 // INCR4 or unspecified length 2607 #define USB_DMACTL7_BRSTM_INC8 0x00000400 // INCR8, INCR4 or unspecified 2609 #define USB_DMACTL7_BRSTM_INC16 0x00000600 // INCR16, INCR8, INCR4 or 2611 #define USB_DMACTL7_ERR 0x00000100 // Bus Error Bit 2612 #define USB_DMACTL7_EP_M 0x000000F0 // Endpoint number 2613 #define USB_DMACTL7_IE 0x00000008 // DMA Interrupt Enable 2614 #define USB_DMACTL7_MODE 0x00000004 // DMA Transfer Mode 2615 #define USB_DMACTL7_DIR 0x00000002 // DMA Direction 2616 #define USB_DMACTL7_ENABLE 0x00000001 // DMA Transfer Enable 2617 #define USB_DMACTL7_EP_S 4 2624 #define USB_DMAADDR7_ADDR_M 0xFFFFFFFC // DMA Address 2625 #define USB_DMAADDR7_ADDR_S 2 2633 #define USB_DMACOUNT7_COUNT_M 0xFFFFFFFC // DMA Count 2634 #define USB_DMACOUNT7_COUNT_S 2 2642 #define USB_RQPKTCOUNT1_M 0x0000FFFF // Block Transfer Packet Count 2643 #define USB_RQPKTCOUNT1_S 0 2651 #define USB_RQPKTCOUNT2_M 0x0000FFFF // Block Transfer Packet Count 2652 #define USB_RQPKTCOUNT2_S 0 2660 #define USB_RQPKTCOUNT3_M 0x0000FFFF // Block Transfer Packet Count 2661 #define USB_RQPKTCOUNT3_S 0 2669 #define USB_RQPKTCOUNT4_COUNT_M 0x0000FFFF // Block Transfer Packet Count 2670 #define USB_RQPKTCOUNT4_COUNT_S 0 2678 #define USB_RQPKTCOUNT5_COUNT_M 0x0000FFFF // Block Transfer Packet Count 2679 #define USB_RQPKTCOUNT5_COUNT_S 0 2687 #define USB_RQPKTCOUNT6_COUNT_M 0x0000FFFF // Block Transfer Packet Count 2688 #define USB_RQPKTCOUNT6_COUNT_S 0 2696 #define USB_RQPKTCOUNT7_COUNT_M 0x0000FFFF // Block Transfer Packet Count 2697 #define USB_RQPKTCOUNT7_COUNT_S 0 2705 #define USB_RXDPKTBUFDIS_EP7 0x00000080 // EP7 RX Double-Packet Buffer 2707 #define USB_RXDPKTBUFDIS_EP6 0x00000040 // EP6 RX Double-Packet Buffer 2709 #define USB_RXDPKTBUFDIS_EP5 0x00000020 // EP5 RX Double-Packet Buffer 2711 #define USB_RXDPKTBUFDIS_EP4 0x00000010 // EP4 RX Double-Packet Buffer 2713 #define USB_RXDPKTBUFDIS_EP3 0x00000008 // EP3 RX Double-Packet Buffer 2715 #define USB_RXDPKTBUFDIS_EP2 0x00000004 // EP2 RX Double-Packet Buffer 2717 #define USB_RXDPKTBUFDIS_EP1 0x00000002 // EP1 RX Double-Packet Buffer 2726 #define USB_TXDPKTBUFDIS_EP7 0x00000080 // EP7 TX Double-Packet Buffer 2728 #define USB_TXDPKTBUFDIS_EP6 0x00000040 // EP6 TX Double-Packet Buffer 2730 #define USB_TXDPKTBUFDIS_EP5 0x00000020 // EP5 TX Double-Packet Buffer 2732 #define USB_TXDPKTBUFDIS_EP4 0x00000010 // EP4 TX Double-Packet Buffer 2734 #define USB_TXDPKTBUFDIS_EP3 0x00000008 // EP3 TX Double-Packet Buffer 2736 #define USB_TXDPKTBUFDIS_EP2 0x00000004 // EP2 TX Double-Packet Buffer 2738 #define USB_TXDPKTBUFDIS_EP1 0x00000002 // EP1 TX Double-Packet Buffer 2746 #define USB_CTO_CCTV_M 0x0000FFFF // Configurable Chirp Timeout Value 2747 #define USB_CTO_CCTV_S 0 2754 #define USB_HHSRTN_HHSRTN_M 0x0000FFFF // HIgh Speed to UTM Operating 2756 #define USB_HHSRTN_HHSRTN_S 0 2763 #define USB_HSBT_HSBT_M 0x0000000F // High Speed Timeout Adder 2764 #define USB_HSBT_HSBT_S 0 2771 #define USB_LPMATTR_ENDPT_M 0x0000F000 // Endpoint 2772 #define USB_LPMATTR_RMTWAK 0x00000100 // Remote Wake 2773 #define USB_LPMATTR_HIRD_M 0x000000F0 // Host Initiated Resume Duration 2774 #define USB_LPMATTR_LS_M 0x0000000F // Link State 2775 #define USB_LPMATTR_LS_L1 0x00000001 // Sleep State (L1) 2776 #define USB_LPMATTR_ENDPT_S 12 2777 #define USB_LPMATTR_HIRD_S 4 2784 #define USB_LPMCNTRL_NAK 0x00000010 // LPM NAK 2785 #define USB_LPMCNTRL_EN_M 0x0000000C // LPM Enable 2786 #define USB_LPMCNTRL_EN_NONE 0x00000000 // LPM and Extended transactions 2791 #define USB_LPMCNTRL_EN_EXT 0x00000004 // LPM is not supported but 2796 #define USB_LPMCNTRL_EN_LPMEXT 0x0000000C // The USB supports LPM extended 2801 #define USB_LPMCNTRL_RES 0x00000002 // LPM Resume 2802 #define USB_LPMCNTRL_TXLPM 0x00000001 // Transmit LPM Transaction Enable 2809 #define USB_LPMIM_ERR 0x00000020 // LPM Error Interrupt Mask 2810 #define USB_LPMIM_RES 0x00000010 // LPM Resume Interrupt Mask 2811 #define USB_LPMIM_NC 0x00000008 // LPM NC Interrupt Mask 2812 #define USB_LPMIM_ACK 0x00000004 // LPM ACK Interrupt Mask 2813 #define USB_LPMIM_NY 0x00000002 // LPM NY Interrupt Mask 2814 #define USB_LPMIM_STALL 0x00000001 // LPM STALL Interrupt Mask 2821 #define USB_LPMRIS_ERR 0x00000020 // LPM Interrupt Status 2822 #define USB_LPMRIS_RES 0x00000010 // LPM Resume Interrupt Status 2823 #define USB_LPMRIS_NC 0x00000008 // LPM NC Interrupt Status 2824 #define USB_LPMRIS_ACK 0x00000004 // LPM ACK Interrupt Status 2825 #define USB_LPMRIS_NY 0x00000002 // LPM NY Interrupt Status 2826 #define USB_LPMRIS_LPMST 0x00000001 // LPM STALL Interrupt Status 2833 #define USB_LPMFADDR_ADDR_M 0x0000007F // LPM Function Address 2834 #define USB_LPMFADDR_ADDR_S 0 2841 #define USB_EPC_PFLTACT_M 0x00000300 // Power Fault Action 2842 #define USB_EPC_PFLTACT_UNCHG 0x00000000 // Unchanged 2843 #define USB_EPC_PFLTACT_TRIS 0x00000100 // Tristate 2844 #define USB_EPC_PFLTACT_LOW 0x00000200 // Low 2845 #define USB_EPC_PFLTACT_HIGH 0x00000300 // High 2846 #define USB_EPC_PFLTAEN 0x00000040 // Power Fault Action Enable 2847 #define USB_EPC_PFLTSEN_HIGH 0x00000020 // Power Fault Sense 2848 #define USB_EPC_PFLTEN 0x00000010 // Power Fault Input Enable 2849 #define USB_EPC_EPENDE 0x00000004 // EPEN Drive Enable 2850 #define USB_EPC_EPEN_M 0x00000003 // External Power Supply Enable 2852 #define USB_EPC_EPEN_LOW 0x00000000 // Power Enable Active Low 2853 #define USB_EPC_EPEN_HIGH 0x00000001 // Power Enable Active High 2854 #define USB_EPC_EPEN_VBLOW 0x00000002 // Power Enable High if VBUS Low 2856 #define USB_EPC_EPEN_VBHIGH 0x00000003 // Power Enable High if VBUS High 2864 #define USB_EPCRIS_PF 0x00000001 // USB Power Fault Interrupt Status 2871 #define USB_EPCIM_PF 0x00000001 // USB Power Fault Interrupt Mask 2878 #define USB_EPCISC_PF 0x00000001 // USB Power Fault Interrupt Status 2886 #define USB_DRRIS_RESUME 0x00000001 // RESUME Interrupt Status 2893 #define USB_DRIM_RESUME 0x00000001 // RESUME Interrupt Mask 2900 #define USB_DRISC_RESUME 0x00000001 // RESUME Interrupt Status and 2908 #define USB_GPCS_DEVMOD_M 0x00000007 // Device Mode 2909 #define USB_GPCS_DEVMOD_OTG 0x00000000 // Use USB0VBUS and USB0ID pin 2910 #define USB_GPCS_DEVMOD_HOST 0x00000002 // Force USB0VBUS and USB0ID low 2911 #define USB_GPCS_DEVMOD_DEV 0x00000003 // Force USB0VBUS and USB0ID high 2912 #define USB_GPCS_DEVMOD_HOSTVBUS \ 2913 0x00000004 // Use USB0VBUS and force USB0ID 2915 #define USB_GPCS_DEVMOD_DEVVBUS 0x00000005 // Use USB0VBUS and force USB0ID 2917 #define USB_GPCS_DEVMODOTG 0x00000002 // Enable Device Mode 2918 #define USB_GPCS_DEVMOD 0x00000001 // Device Mode 2925 #define USB_VDC_VBDEN 0x00000001 // VBUS Droop Enable 2932 #define USB_VDCRIS_VD 0x00000001 // VBUS Droop Raw Interrupt Status 2939 #define USB_VDCIM_VD 0x00000001 // VBUS Droop Interrupt Mask 2946 #define USB_VDCISC_VD 0x00000001 // VBUS Droop Interrupt Status and 2954 #define USB_IDVRIS_ID 0x00000001 // ID Valid Detect Raw Interrupt 2962 #define USB_IDVIM_ID 0x00000001 // ID Valid Detect Interrupt Mask 2969 #define USB_IDVISC_ID 0x00000001 // ID Valid Detect Interrupt Status 2977 #define USB_PP_ECNT_M 0x0000FF00 // Endpoint Count 2978 #define USB_PP_USB_M 0x000000C0 // USB Capability 2979 #define USB_PP_USB_DEVICE 0x00000040 // DEVICE 2980 #define USB_PP_USB_HOSTDEVICE 0x00000080 // HOST 2981 #define USB_PP_USB_OTG 0x000000C0 // OTG 2982 #define USB_PP_ULPI 0x00000020 // ULPI Present 2983 #define USB_PP_PHY 0x00000010 // PHY Present 2985 #define USB_PP_ECNT_S 8 2992 #define USB_PC_ULPIEN 0x00010000 // ULPI Enable 2999 #define USB_CC_CLKEN 0x00000200 // USB Clock Enable 3000 #define USB_CC_CSD 0x00000100 // Clock Source/Direction 3001 #define USB_CC_CLKDIV_M 0x0000000F // PLL Clock Divisor 3002 #define USB_CC_CLKDIV_S 0 3004 #endif // __HW_USB_H__
Copyright 2017, Texas Instruments Incorporated