Samsung S5PC100 User Manual page 918

Table of Contents

Advertisement

S5PC100 USER'S MANUAL (REV1.0)
8.2.51 Device Endpoint 0 Transfer Size Register (DIEPTSIZ0, R/W, Address = 0xED20_0910)
The application must modify this register before enabling endpoint 0. Once endpoint 0 is enabled using Endpoint
Enable bit of the Device Control Endpoint 0 Control registers, the core modifies this register. The application
reads this register after the core has cleared the Endpoint Enable bit.
DIEPTSIZ0
Bit
Reserved
[31:21]
PktCnt
[20:19]
Reserved
[18:7]
XferSize
[6:0]
-
Packet Count
Indicates the total number of USB packets that constitute the
Transfer Size amount of data for endpoint 0.
This field is decremented every time a packet is read from the
TxFIFO.
-
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 from the
external memory is written to the TxFIFO.
Description
USB2.0 HS OTG
R/W
Reset
Value
11'h0
R/W
2'b0
12'h0
R/W
7'h0
8.10-75

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents