![](http://datasheet.mmic.net.cn/380000/-PD98501_datasheet_16745028/-PD98501_439.png)
CHAPTER 6 USB CONTROLLER
Preliminary User’s Manual S14767EJ1V0UM00
439
This bit is set only when receiving the data from the Control EndPoint (EndPoint0). If data is
received from any other EndPoint, this bit is not set.
Bit22: When set to 0, indicates that a buffer overrun did not occur.
When set to 1, indicates that a buffer overrun occurred.
This bit is set only when receiving the data from the EndPoint1.
Bit21: When set to 0, indicates that a Data toggle Error has not occurred.
When set to 1, indicates that a Data toggle Error has occurred.
When this bit is set to 1 when receiving data from the Isochronous EndPoint (EndPoint2), it
indicates that part of the data stored in system memory may have been lost.
For any other EndPoint, even if this bit is set to 1, data is not lost.
Bit20: When set to 0, indicates that a CRC error has not occurred.
When set to 1, indicates that a CRC error has occurred.
When this bit is set to 1 when receiving data from the Isochronous EndPoint (EndPoint2), it
indicates that the data stored in system memory includes a CRC error.
For any other EndPoint, even if a CRC error occurs, the packet will be resent such that the data
stored into main memory will not include an error.
Bit19: When set to 0, indicates that a Bit Stuffing Error has not occurred.
When set to 1, indicates that a Bit Stuffing Error has occurred.
When this bit is set to 1 when receiving data from the Isochronous EndPoint (EndPoint2), it
indicates that the data stored in system memory contains a Bit Stuffing Error.
For any other EndPoint, even if a Bit Stuffing Error occurs, the packet will be resent such that the
data stored into main memory does not contain an error.
Bit18: When set to 0, indicates that the size of the received data is up to 65535 bytes.
When set to 1, indicates that the size of the received data is greater than 65535 bytes.
Bit17-16: When set to 00 or 01, indicates that data is received in Normal Mode.
When set to 10, indicates that data is received in Assemble Mode.
When set to 11, indicates that data is received in Separate Mode.
When using EndPoint0 and EndPoint6, this field should be set to 00.
Size:
Indicates the size of the received data.
When the size of the received data exceeds 65535 (FFFFH) bytes, Bit18 is set to 1, and this field will
contain 65535 (FFFFH).
Address:
Indicates the head address of the buffer into which the received data is stored.