Samsung S5PC100 User Manual page 916

Table of Contents

Advertisement

S5PC100 USER'S MANUAL (REV1.0)
8.2.50 Device Endpoint-n Interrupt Register (DIEPINTn/DOEPINTn, R/W, Address = 0xED20_0908 +n*20h,
0xED20_0B08 +n*20h)
Endpoint_number : 0 ≤ n ≤ 15
This register indicates the status of an endpoint with respect to USB- and AHB-related events. The application
must read this register if the OUT Endpoints Interrupt bit or IN Endpoints Interrupt bit of the Core Interrupt register
is set. Before the application reads this register, it must first read the Device All Endpoints Interrupt (DAINT)
register to get the exact endpoint number for the Device Endpoint-n Interrupt register. The application must clear
the appropriate bit in this register to clear the corresponding bits in the DAINT and GINTSTS registers.
DIEPINTn/
Bit
DOEPINTn
EPEna
[31:7] Reserved
INEPNakEff
[6]
Back2Back
SETup
INTknEPMis
[5]
INTknTXFEmp
[4]
OUTTknEPdis
TimeOUT
[3]
IN Endpoint NAK Effective
Applies to periodic IN endpoints only.
Indicates that the IN endpoint NAK bit set by the application
has taken effect in the core. This bit is cleared if the application
clears the IN endpoint NAK by writing to DIEPCTLn.CNAK.
This interrupt indicates that the core has sampled the NAK bit
set. This interrupt does not necessarily mean that a NAK
handshake is sent on the USB. A STALL bit takes priority over
a NAK bit.
Back-to-Back SETUP Packets Received
Applies to Control OUT endpoints only.
This bit indicates that core has received more than three back-
to-back SETUP packets for this particular endpoint.
IN Token Received with EP Mismatch
Applies to periodic IN endpoints only.
Indicates that the data in the top of the non-periodic TxFIFO
belongs to an endpoint other than the one for which the IN
token was received. This interrupt is asserted on the endpoint
for which the IN token was received.
For OUT endpoints, this bit is reserved.
IN Token Received When TxFIFO is Empty
Applies to non-periodic IN endpoints only.
Indicates that an IN token was received when the associated
TxFIFO was empty. This interrupt is asserted on the endpoint
for which the IN token was received.
OUT Token Received When Endpoint Disabled
Applies only to control OUT endpoints.
Indicates that an OUT token is received if the endpoint is not
enabled. This interrupt is asserted on the endpoint for which
the OUT token was received.
Timeout Condition
Applies to non-isochronous IN endpoints only.
Indicates that the core has detected a timeout condition on the
USB for the last IN token on this endpoint.
Description
USB2.0 HS OTG
R/W
Reset Value
25'h1
R
1'b0
R/W
R_SS
1'b0
_WC
R_SS
1'b0
_WC
R_SS
1'b0
_WC
8.10-73

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents