Usb Control And Status Endpoint 0 Low Register (Usbcsrl0) In Otg B/Device Mode; Usb Control And Status Endpoint 0 Low Register (Usbcsrl0) In Otg B/Device Mode Field Descriptions - Texas Instruments Concerto F28M35 Series Technical Reference Manual

Table of Contents

Advertisement

www.ti.com
Figure 18-35. USB Control and Status Endpoint 0 Low Register (USBCSRL0) in OTG B/Device
7
6
SETENDC
RXRDYC
W1C-0
W1C-0
LEGEND: R/W = Read/Write; -n = value after reset
Bit
Field
Value
7
SETENDC
0
1
6
RXRDYC
0
1
5
STALL
0
1
4
SETEND
0
1
3
DATAEND
0
1
2
STALLED
0
1
1
TXRDY
0
1
0
RXRDY
0
1
SPRUH22I – April 2012 – Revised November 2019
Submit Documentation Feedback
5
4
STALL
SETEND
R/W-0
R-0
Table 18-38. USB Control and Status Endpoint 0 Low Register
(USBCSRL0) in OTG B/Device Mode Field Descriptions
Description
Setup End Clear
No effect
Writing a 1 to this bit clears the SETEND bit.
RXRDY Clear
No effect
Writing a 1 to this bit clears the RXRDY bit.
Send Stall.
No effect
Terminates the current transaction and transmits the STALL handshake.
This bit is cleared automatically after the STALL handshake is transmitted.
Setup end.
A control transaction has not ended or ended after the DATAEND bit was set.
A control transaction has ended before the DATAEND bit has been set. The EP0 bit in the USBTXIS
register is also set in this situation.
This bit is cleared by writing a 1 to the SETENDC bit.
Data end.
No effect
Set this bit in the following situations:
• When setting TXRDY for the last data packet
• When clearing RXRDY after unloading the last data packet
• When setting TXRDY for a zero-length data packet
This bit is cleared automatically.
Endpoint Stalled. Software must clear this bit.
A STALL handshake has not been transmitted.
A STALL handshake has been transmitted.
Transmit Packet Ready. If both the TXRDY and SETUP bits are set, a setup packet is sent. If just
TXRDY is set, an OUT packet is sent.
No transmit packet is ready.
Software sets this bit after loading an IN data packet into the TX FIFO. The EP0 bit in the USBTXIS
register is also set in this situation.
Receive Packet Ready.
No receive packet has been received.
A data packet has been received. The EP0 bit in the USBTXIS register is also set in this situation.
This bit is cleared by writing a 1 to the RXRDYC bit.
Copyright © 2012–2019, Texas Instruments Incorporated
Mode
3
2
DATAEND
STALLED
R/W-0
R/W-0
M3 Universal Serial Bus (USB) Controller
Register Descriptions
1
0
TXRDY
RXRDY
R/W-0
R-0
1335

Advertisement

Table of Contents
loading

Table of Contents