USB Registers
1752
SLAU723A – October 2017 – Revised October 2018
Copyright © 2017–2018, Texas Instruments Incorporated
Universal Serial Bus (USB) Controller
27.5.43 USBRXCSRLn Register [reset = 0x0]
USB Receive Control and Status Endpoint 1 Low (USBRXCSRL1), offset 0x116
USB Receive Control and Status Endpoint 2 Low (USBRXCSRL2), offset 0x126
USB Receive Control and Status Endpoint 3 Low (USBRXCSRL3), offset 0x136
USB Receive Control and Status Endpoint 4 Low (USBRXCSRL4), offset 0x146
USB Receive Control and Status Endpoint 5 Low (USBRXCSRL5), offset 0x156
USB Receive Control and Status Endpoint 6 Low (USBRXCSRL6), offset 0x166
USB Receive Control and Status Endpoint 7 Low (USBRXCSRL7), offset 0x176
OTG A / Host
OTG B / Device
USBRXCSRLn is an 8-bit register that provides control and status bits for transfers through the currently
selected receive endpoint.
USBRXCSRLn for OTG A / Host is shown in
and described in
USBRXCSRLn for OTG B / Device is shown in
and described in
Return to
Figure 27-52. USBRXCSRLn Register (OTG A / Host)
7
6
5
4
3
2
1
0
CLRDT
STALLED
REQPKT
FLUSH
DATAERR/NAK
TO
ERROR
FULL
RXRDY
W1C-0x0
R/W-0x0
R/W-0x0
R/W-0x0
R/W-0x0
R/W-0x0
R-0x0
R/W-0x0
Table 27-57. USBRXCSRLn Register Field Descriptions (OTG A / Host)
Bit
Field
Type
Reset
Description
7
CLRDT
W1C
0x0
Clear Data Toggle.
Writing a 1 to this bit clears the DT bit in the USBRXCSRHn register.
6
STALLED
R/W
0x0
Endpoint Stalled.
Software must clear this bit.
0x0 = A STALL handshake has not been received.
0x1 = A STALL handshake has been received. The EPn bit in the
USBRXIS register is also set.
5
REQPKT
R/W
0x0
Request Packet.
This bit is cleared when RXRDY is set.
0x0 = No request.
0x1 = Requests an IN transaction.
4
FLUSH
R/W
0x0
Flush FIFO.
Note that if the FIFO is double-buffered, FLUSH may have to be set
twice to completely clear the FIFO.
This bit should only be set when the RXRDY bit is set.
At other times, it may cause data to be corrupted.
0x0 = No effect.
0x1 = Flushes the next packet to be read from the endpoint receive
FIFO. The FIFO pointer is reset and the RXRDY bit is cleared.