OTG device OUT endpoint 0 transfer size register
XFRSIZ | Transfer size Indicates the transfer size in bytes for endpoint 0. The core interrupts the application only after it has exhausted the transfer size amount of data. The transfer size can be set to the maximum packet size of the endpoint, to be interrupted at the end of each packet. The core decrements this field every time a packet is read from the Rx FIFO and written to the external memory. |
PKTCNT | Packet count This field is decremented to zero after a packet is written into the Rx FIFO. |
STUPCNT | SETUP packet count This field specifies the number of back-to-back SETUP data packets the endpoint can receive. 1 (B_0x1): 1 packet 2 (B_0x2): 2 packets 3 (B_0x3): 3 packets |