English
Language : 

CY7C67300 Datasheet, PDF (58/119 Pages) Cypress Semiconductor – EZ-Host Programmable Embedded USB Host/Peripheral Controller
CY7C67300
• Device n Endpoint 2 Status Register [Device 1: 0x0226 Device 2: 0x02A6]
• Device n Endpoint 3 Status Register [Device 1: 0x0236 Device 2: 0x02B6]
• Device n Endpoint 4 Status Register [Device 1: 0x0246 Device 2: 0x02C6]
• Device n Endpoint 5 Status Register [Device 1: 0x0256 Device 2: 0x02D6]
• Device n Endpoint 6 Status Register [Device 1: 0x0266 Device 2: 0x02E6]
• Device n Endpoint 7 Status Register [Device 1: 0x0276 Device 2: 0x02F6]
Bit #
15
Field
Read/Write
-
Default
X
14
13
Reserved
-
-
X
X
12
11
10
9
8
Overflow
Flag
Underflow
OUT
IN
Flag
Exception Flag Exception Flag
-
R/W
R/W
R/W
R/W
X
X
X
X
X
Bit #
7
Field
Stall
Flag
Read/Write
R/W
Default
X
6
NAK
Flag
R/W
X
5
Length
Exception Flag
R/W
X
4
Set-up
Flag
R/W
X
3
Sequence
Flag
R/W
X
2
Time-out
Flag
R/W
X
1
Error
Flag
R/W
X
0
ACK
Flag
R/W
X
Figure 7-37. Device n Endpoint n Status Register
Register Description
The Device n Endpoint n Status Register provides packet status information for the last transaction received or transmitted. This
register is updated in hardware and does not need to be cleared by firmware. There are a total of eight endpoints for each of the
two ports. All endpoints have the same definition for their Device n Endpoint n Status Register.
The Device n Endpoint n Status Register is a memory based register that should be initialized to 0x0000 before USB Device
operations are initiated. After initialization, this register should not be written to again.
Overflow Flag (Bit 11)
The Overflow Flag bit indicates that the received data in the last data transaction exceeded the maximum length specified in the
Device n Endpoint n Count Register. The Overflow Flag should be checked in response to a Length Exception signified by the
Length Exception Flag set to ‘1’.
1: Overflow condition occurred
0: Overflow condition did not occur
Underflow Flag (Bit 10)
The Underflow Flag bit indicates that the received data in the last data transaction was less then the maximum length specified
in the Device n Endpoint n Count Register. The Underflow Flag should be checked in response to a Length Exception signified
by the Length Exception Flag set to ‘1’.
1: Underflow condition occurred
0: Underflow condition did not occur
OUT Exception Flag (Bit 9)
The OUT Exception Flag bit will indicates when the device received an OUT packet when armed for an IN.
1: Received OUT when armed for IN
0: Received IN when armed for IN
IN Exception Flag (Bit 8)
The IN Exception Flag bit will indicates when the device received an IN packet when armed for an OUT.
1: Received IN when armed for OUT
0: Received OUT when armed for OUT
Stall Flag (Bit 7)
The Stall Flag bit indicates that a Stall packet was sent to the host.
1: Stall packet was sent to the host
0: Stall packet was not sent
Document #: 38-08015 Rev. *E
Page 58 of 119