English
Language : 

JDP2S01T Datasheet, PDF (121/150 Pages) Toshiba Semiconductor – UHF~VHF Band RF Attenuator Applications
Philips Semiconductors
ISP1362
Single-chip USB OTG controller
Table 124: DcEndpointStatus register: bit allocation
Bit
7
6
5
4
Symbol
EPSTAL EPFULL1 EPFULL0 DATA_PID
Reset
0
0
0
0
Access
R
R
R
R
3
OVER
WRITE
0
R
2
SETUPT
1
CPUBUF
0
reserved
0
0
-
R
R
-
Table 125: DcEndpointStatus register: bit description
Bit
Symbol
Description
7
EPSTAL
This bit indicates whether the endpoint is stalled or not
(1 = stalled; 0 = not stalled).
Set to logic 1 by a Stall Endpoint command, cleared to logic 0 by
an Unstall Endpoint command. The endpoint is automatically
unstalled on receiving a SET-UP token.
6
EPFULL1
Logic 1 indicates that the secondary endpoint buffer is full.
5
EPFULL0
Logic 1 indicates that the primary endpoint buffer is full.
4
DATA_PID
This bit indicates the data PID of the next packet (0 = DATA PID;
1 = DATA1 PID).
3
OVERWRITE This bit is set by hardware. Logic 1 indicates that a new Set-up
packet has overwritten the previous set-up information, before it
was acknowledged or before the endpoint was stalled. This bit is
cleared by reading, if writing the set-up data has finished.
Firmware must check this bit before sending an Acknowledge
Set-up command or stalling the endpoint. Upon reading logic 1,
the firmware must stop ongoing set-up actions and wait for a
new Set-up packet.
2
SETUPT
Logic 1 indicates that the buffer contains a Set-up packet.
1
CPUBUF
This bit indicates which buffer is currently selected for CPU
access (0 = primary buffer; 1 = secondary buffer).
0
-
reserved
16.2.3 Stall Endpoint or Unstall Endpoint (40H–4FH/80H–8FH)
These commands are used to stall or unstall an endpoint. The commands modify the
content of the DcEndpointStatus register (see Table 124).
A stalled control endpoint is automatically unstalled when it receives a SET-UP token,
regardless of the packet content. If the endpoint should stay in its stalled state, the
microprocessor can re-stall it with the Stall Endpoint command.
When a stalled endpoint is unstalled (either by using the Unstall Endpoint command
or by receiving a SET-UP token), it is also re-initialized. This flushes the buffer: if it is
an OUT buffer, it waits for a DATA 0 PID; if it is an IN buffer, it writes a DATA 0 PID.
Code (Hex): 40 to 4F — stall (control OUT, control IN, endpoint 1 to 14)
Code (Hex): 80 to 8F — unstall (control OUT, control IN, endpoint 1 to 14)
Transaction — none (code only)
9397 750 12337
Product data
Rev. 03 — 06 January 2004
© Koninklijke Philips Electronics N.V. 2004. All rights reserved.
121 of 150