17.5.36 USB Receive Control and Status Endpoint n Low Register (USBRXCSRL[1]-USBRXCSRL[3)
The USB receive control and status endpoint
n
low 8-bit register (USBCSRL[
n
]) provides control and status bits
for transfers through the currently selected receive endpoint.
For the specific offset for each register, see
Mode(s):
Host
Device
The USBCSRL[
n
] registers in Host mode are shown in
and described in
.
Figure 17-46. USB Receive Control and Status Endpoint n Low Register (USBCSRL[n]) in Host Mode
7
6
5
4
3
2
1
0
CLRDT
STALLED
REQPKT
FLUSH
DATAERR /
NAKTO
ERROR
FULL
RXRDY
W1C-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
LEGEND: R/W = Read/Write; -
n
= value after reset
Table 17-47. USB Control and Status Endpoint n Low Register(USBCSRL[n]) in Host Mode Field
Descriptions
Bit
Field
Value
Description
7
NAKTO
Clear Data Toggle.
0
No effect
1
Writing a 1 to this bit clears the DT bit in the USBRXCSRH[
n
] register.
6
STALLED
Endpoint Stalled. Software must clear this bit.
0
No handshake has been received.
1
A STALL handshake has been received. The EP
n
bit in the USBRXIS register is also set.
5
REQPKT
Request Packet. This bit is cleared when the RXRDY bit is set.
0
No request
1
Requests an IN transaction.
4
FLUSH
Flush FIFO. If the FIFO is double-buffered, FLUSH may have to be set twice to completely clear the
FIFO.
Note:
This bit should only be set when the RXRDY bit is set. At other times, it may cause data to be
corrupted.
0
No effect
1
Flushes the next packet to be read from the endpoint receive FIFO. The FIFO pointer is reset and the
RXRDY bit is cleared.
3
DATAERR /
NAKTO
Data Error / NAK Timeout
0
Normal operation
1
Bulk endpoints only: Indicates that the receive endpoint is halted following the receipt of NAK
responses for longer than the time set by the NAKLMT field in the USBRXINTERVAL[
n
] register.
Software must clear this bit to allow the endpoint to continue.
2
ERROR
Error. Software must clear this bit.
Note:
This bit is only valid when the receive endpoint is operating in Bulk or Interrupt mode.
0
No error
1
Three attempts have been made to receive a packet and no data packet has been received. The EP
n
bit in the USBRXIS register is set in this situation.
1
FULL
FIFO Full
0
The receive FIFO is not full.
1
No more packets can be loaded into the receive FIFO.
Universal Serial Bus (USB) Controller
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
TMS320x2806x Microcontrollers
1115
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......