English
Language : 

XR22802 Datasheet, PDF (17/46 Pages) Exar Corporation – Hi-Speed USB to 10/100 Ethernet Bridge
XR22802
USB Control Commands
The following table shows all of the USB Control Commands that are supported by the XR22802. Commands include stan-
dard USB commands, USB class specific CDC-ACM commands and USB vendor specific Exar commands.
Table 4: Supported USB Control Commands
Name
Request
Type
Request
Value
LSB MSB
Index
LSB
MSB
Length
LSB MSB
Description
USB Standard Requests
DEV GET_STATUS
0x80
0x0
0x0 0x0 0x0
0x0
0x2
0x0
Device: remote wake-up +
self-powered
IF GET_STATUS
0x81
0x0
0x0 0x0 0x0
0x0
0x2 0x0 Interface: zero
EP GET_STATUS
0x82
0x0
DEV CLEAR_FEATURE 0x00
0x1
0x0,
0x0 0x0 0x4,
0x0
0x84
0x1 0x0 0x0
0x0
0x2 0x0 Endpoint: halted
0x0 0x0 Device remote wake-up
EP CLEAR_FEATURE 0x02
0x1
0x0,
0x0 0x0 0x4,
0x0
0x84
0x0 0x0 Endpoint halt
DEV SET_FEATURE
EP SET_FEATURE
0x00
0x3
0x02
0x3
0x1 0x0 0x0
0x0
0x0,
0x0 0x0 0x4,
0x0
0x84
0x0 0x0 Device remote wake-up
0x0 0x0 Endpoint halt
SET_ADDRESS
0x00
0x5
addr 0x0 0x0
0x0
0x0 0x0 addr = 1 to 127
GET_DESCRIPTOR
0x80
0x6
0x0 0x1 0x0
0x0
len
MSB
len
MSB
Device descriptor
GET_DESCRIPTOR
0x80
0x6
0x0
0x2
LangID
LangID
len
MSB
len
MSB
Configuration descriptor
GET_DESCRIPTOR
0x80
0x6
GET_CONFIGURATION 0x80
0x8
0x0 0x3 0x0
0x0 0x0 0x0
0x0
len
MSB
len
MSB
String descriptor
0x0
0x1 0x0
SET_CONFIGURATION 0x00
0x9
n
0x0 0x0
0x0
0x0 0x0 n = 0, 1
USB Class Specific Requests
CDC_ACM_IF
SET_LINE_CODING
CDC_ACM_IF
GET_LINE_CODING
0x21
0x20
0x0 0x0 0x0
0xA1
0x21
0x0 0x0 0x0
0x0
0x7
0x0
Set the UART baud rate,
parity, stop bits, etc.
0x0
0x7
0x0
Get the UART baud rate,
parity, stop bits, etc.
CDC_ACM_IF
SET_CONTROL_
LINE_STATE
CDC_ACM_IF
SEND_BREAK
0x21
0x21
0x22
0x23
0x0 0x0 0x0
val
LSB
val
MSB
0x0
0x0
0x7
0x0
Set/Clear DTR in CDC-
ACM mode.
0x0
0x0
0x0
Send a break for the
specified duration.
© 2015 Exar Corporation
17 / 46
exar.com/XR22802
Rev 1B