17.5.29 USB Control and Status Endpoint 0 High Register (USBCSRH0), offset 0x103
The USB control and status endpoint 0 high 8-bit register (USBCSRH0) provides control and status bits for
endpoint 0.
Mode(s):
Host
Device
USBCSRH0 in Host mode is shown in
Figure 17-36. USB Control and Status Endpoint 0 High Register (USBCSRH0) in Host Mode
7
3
2
1
0
Reserved
DTWE
DT
FLUSH
R-0
R/W-0
R/W-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 17-37. USB Control and Status Endpoint 0 High Register (USBCSRH0) in Host Mode Field
Descriptions
Bit
Field
Value
Description
7-3
Reserved
0
Reserved
2
DTWE
Data Toggle Write Enable. This bit is automatically cleared once the new value is written.
0
The DT bit cannot be written.
1
Enables the current state of the endpoint 0 data toggle to be written (see DT bit).
1
DT
Data Toggle. When read, this bit indicates the current state of the endpoint 0 data toggle.
If DTWE is set, this bit may be written with the required setting of the data toggle. If DTWE is Low,
this bit cannot be written. Care should be taken when writing to this bit as it should only be changed to
RESET USB endpoint 0.
0
FLUSH
Flush FIFO. This bit is automatically cleared after the flush is performed.
0
No effect
1
Flushes the next packet to be transmitted/read from the endpoint 0 FIFO. The FIFO pointer is reset
and the TXRDY/RXRDY bit is cleared.
Note:
This bit should only be set when TXRDY/RXRDY is set. At other times, it may cause data to be
corrupted.
Universal Serial Bus (USB) Controller
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
TMS320x2806x Microcontrollers
1105
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......