Samsung S3C6400X User Manual page 863

Table of Contents

Advertisement

USB2.0 HS OTG
DEVICE LOGICAL ENDPOINT-SPECIFIC REGISTERS
A logical endpoint is unidirectional: it can be either IN or OUT. To represent a bidirectional endpoint, two logical
endpoints are required, one for the IN direction and the other for the OUT direction. This is also true for control
endpoints. The registers and register fields described in this section may pertain to IN or OUT endpoints, or both,
or specific endpoint types are noted.
DEVICE CONTROL IN ENDPOINT 0 CONTROL REGISTER (DIEPCTL0)
This section describes the Control IN Endpoint 0 Control register. Nonzero control endpoints use registers for
endpoints 1-15.
Register
Address
DIEPCTL0
0x7C00_0900
DIEPCTL0
EPEna
EPDis
[29:28]
SetNAK
CNAK
TxFNum
[25:22]
Preliminary product information describe products that are in development,
for which full characterization data and associated errata are not yet available.
26-56
Specifications and information herein are subject to change without notice.
value equals :
Vbus pulse time in PHY clocks /1,024
R/W
R/W
Device Control IN Endpoint 0 Control Register
Bit
R/W
[31]
R_WS_
Endpoint Enable
SC
Indicates that data is ready to be transmitted on the
endpoint. The core clears this bit before setting any
of the following interrupts on this endpoint.
· Endpoint Disabled
· Transfer Completed
[30]
R_WS_
Endpoint Disable
SC
The application sets this bit to stop transmitting data
on an endpoint, even before the transfer for that
endpoint is complete. The application must wait for
the Endpoint Disabled interrupt before treating the
endpoint as disabled. The core clears this bit before
setting the Endpoint Disabled Interrupt. The
application must set this bit only if Endpoint Enable
is already set for this endpoint.
Reserved
[27]
WO
Set NAK
A write to this bit sets the NAK bit for the endpoint.
Using this bit, the application can control the
transmission of NAK handshakes on an endpoint.
The core can also set this bit for an endpoint after a
SETUP packet is received on that endpoint.
[26]
WO
Clear NAK
A write to this bit clears the NAK bit for the endpoint.
RO
TxFIFO Number
This value is always set to 0, indicating that control
IN endpoint 0 data is always written in the Non-
S3C6400X RISC MICROPROCESSOR
Description
Description
Reset Value
32 bits
Initial State
1'b0
1'b0
2'b0
1'b0
1'b0
4'h0

Advertisement

Table of Contents
loading

Table of Contents