
HMS30C7202N
2004 MagnaChip Semiconductor Ltd. All Rights Reserved. Version 1.1
- 94 -
[STRING DESCRIPTOR]
OFFSET
h0
h1
* This index zero string descriptor means a kind of look up table. As there is no other string descriptor and as
there is no further information in this descriptor, USB block does not support strings. (All string index fields are
filled with zero)
9.5.5.9
SETUP0 / SETUP1
INITIAL VALUE
h02
h03
DESCRIPTION
size in bytes
STRING type (3)
ADJUSTABLE
0x8005.1024 / 0x8005.1028
Bits
31:0
Type
R/W
Function
USB Core can accept vendor specific protocol command using Endpoint0. This Register
contains previously received Setup Device Request Value (64-bit Wide, half in each Register)
- Below is Request format from HOST when configuration.
[Standard Device Request Format]
bmRequestType
bRequest
Byte 0
Byte 1
When HOST sends request to USB device, this USB block handles a few requests by SIE (Serial Interface
Engine).
This is the condition of requests which this USB SIE can handle.
z
Request Type must be Standard (b00): see USB spec. 9.3 Table 9-2 ‘Format of Setup Data’ for more
detail. Offset 0 (bmRequestType field) D[6:5] (Type) ; 00 – Standard, 01 Class, 10 – Vendor, 11 –
reserved.
z
Request must be one of these: GET_DESCRIPTOR, SET_ADDRESS, SET_INTERFACE,
SET_CONFIGURATION, GET_INTERFACE, GET_CONFIGURATION and GET_STATUS.
So for requests other than above, HMS30C7210 USB sets 9.5.5.4 INTSTAT [0] and it means HOST sent
Setup Request that USB SIE cannot handle by itself and these 9.5.5.9 SETUP0 and 9.5.5.10 SETUP1 resister
hold Device Request Data (8 bytes : 64 bit described above). This function is to handle standard requests that
SIE cannot handle and to handle vendor specific requests.
* Note: 9.5.5.4 INTSTAT [0] bit will not go ‘high’ in case of Setup request if SIE can handle that request by itself.
9.5.5.10
ENDP0RD
wValue
wIndex
wLength
Byte 6
Byte 2
Byte 3
Byte 4
Byte 5
Byte 7
0x8005.102C
Bits
31:0
Type
R/W
Function
Each Endpoint 0 FIFO Read
9.5.5.11
ENDP0WT
0x8005.1030
Bits
31:0
Type
R/W
Function
Each Endpoint 0 FIFO Write
9.5.5.12
ENDP1RD
0x8005.1034
Bits
31:0
Type
R/W
Function
Each Endpoint 1 FIFO Read
9.5.5.13
ENDP2WT
0x8005.1038
Bits
31:0
Type
R/W
Function
Each Endpoint 2 FIFO Write