HS_USB 2.0 device
RM0082
500/844
Doc ID 018672 Rev 1
Table 408.
Endpoint status register bit assignments
Bit
Name
Reset value Description
[31:24]
Reserved
-
Read: undefined.
[23]
ISO IN
DONE
1'h0
Isochronous in transaction is completed.
This bit indicates that an isochronous (iso) in transaction for
this endpoint has been completed. the application can use
this information to program the iso in data for the next
microframe.
Note: The iso in done bit is used in slave-only mode, and it
is reserved for the UDC11 only.
[22:11]
RX PKT
SIZE
12’h000
Receive packet size.
This 12 bit field indicates the number of bytes in the current
receive packet which the RxFIFO is receiving. In case of
incoming SETUP data, this field doesn’t report the
corresponding number of bytes (8 byte every time), but the
configuration status as follows:
[22:19] = Configuration number.
[18:15] = Interface number.
[14:11] = Alternate setting number
Note: This field is used in slave-only mode. In DMA mode,
the application must check the status from the endpoint
data descriptor.
[10]
TDC
1'h0
Transmit DMA completion.
If set, this bit indicates that transmit DMA has been
completed, transferring a descriptor chain’s data to the
TxFIFO. After servicing the corresponding interrupt, the
application must clear this bit.
[09]
HE
1'h0
Error response on the AHB.
If set, this bit indicates that an error response on the AHB
occurs, during data transfer, descriptor fetch or descriptor
update for this endpoint. After servicing the corresponding
interrupt, the application must clear this bit.
[08]
Reserved
-
Read: undefined.
[07]
BNA
1'h0
Buffer not available.
This bit is set if the descriptor status is either host busy or
DMA done, stating that the descriptor was not ready at the
time tried to access. After servicing the corresponding
interrupt, the application must clear this bit.
[06]
IN
1'h0
In token reception.
If set, this bit states that an in token has been received by
the endpoint. After servicing the corresponding interrupt,
the application must clear this bit. This bit is reserved in
case of out endpoints.