USB Device Controller
1564
SPNU503C – March 2018
Copyright © 2018, Texas Instruments Incorporated
Universal Serial Bus (USB)
29.3.1.3 Data Register (DATA)
This register is the entry point to write into a selected TX endpoint or to read data from a selected RX
endpoint, or to read data from setup FIFO. If selected endpoint direction is OUT, this register is read-only
and a write into it is denied. If selected endpoint direction is IN, this register is write-only and a read to this
register is denied.
Figure 29-30. Data Register (DATA) [address = FCF78A04h]
15
0
DATA
R/W-0
LEGEND: R/W = Read/Write; -
n
= value after reset
Table 29-33. Data Register (DATA) Field Descriptions
Bit
Field
Description
15-0
DATA
Transmit/receive FIFO data:
EP_NUM.EP_DIR = 1: This register contains the data written by the USB device controller to be sent to the
USB host during the next IN transaction. Data can be written successfully only if the EP_NUM.EP_SEL bit
is asserted.
EP_NUM.EP_DIR = 0: This register contains the data received by the USB core from USB host OUT or
SETUP transactions. Data can be read successfully only if the EP_NUM.EP_SEL bit is asserted, or if
EP_NUM.SETUP_SEL bit is asserted (for setup data).