English
Language : 

XR21B1424_17 Datasheet, PDF (20/64 Pages) Exar Corporation – Enhanced 4-Ch Full-Speed USB UART
XR21B1424
USB Control Commands
The following table shows all of the USB Control Commands that are supported by the XR21B1424. Commands include
standard USB commands, CDC-ACM commands and MaxLinear vendor specific commands. The device internal registers
are accessed using the vendor specific XR_GET_REG and XR_SET_REG, XR_GET_REVISION, XR_GET_USB_STAT
and XR_SET_USB_STAT vendor specific commands.
Table 4: Supported USB Control Commands
Name
Request
Type
Request
Value
LSB MSB
Index
LSB
MSB
Length
LSB MSB
Description
DEV GET_STATUS
0x80
IF GET_STATUS
EP GET_STATUS
0x81
0x82
DEV CLEAR_FEATURE
EP CLEAR_FEATURE
0x00
0x02
DEV SET_FEATURE
EP SET_FEATURE
0x00
0x02
SET_ADDRESS
GET_DESCRIPTOR
0x00
0x80
GET_DESCRIPTOR
0x80
GET_DESCRIPTOR
0x80
GET_CONFIGURATION
SET_CONFIGURATION
GET_INTERFACE
CDC_ACM_IF
SET_LINE_CODING
0x80
0x00
0x81
0x21
CDC_ACM_IF
GET_LINE_CODING
0xA1
CDC_ACM_IF
SET_CONTROL_
LINE_STATE
0x21
0x0
0x0
0x0
0x1
0x1
0x3
0x3
0x5
0x6
0x6
0x6
0x8
0x9
0x10
0x20
0x21
0x22
0x0
0x0
0x0
0x0
0x0
0x0
0x1
0x0
0x0
0x0
0x1
0x0
0x0
0x0
addr 0x0
0x0
0x1
0x0
0x2
0x0
0x3
0x0
0x0
n
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x2
0x0
0x0
0x0,0x4, 0x0
0x84
0x0
0x0
0x0,0x4, 0x0
0x84
0x0
0x0
0x0,0x4, 0x0
0x84
0x0
0x0
0x0
0x0
LangID LangID
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
Chan # 0x0
0x2
0x2
0x0
0x0
0x0
0x0
0x0
len
MSB
len
MSB
len
MSB
0x1
0x0
0x1
0x7
Chan # 0x0
0x7
Chan # 0x0
0x7
0x0
0x0
0x0
0x0
0x0
0x0
0x0
0x0
len
MSB
len
MSB
len
MSB
0x0
0x0
0x0
0x0
0x0
0x0
Device: remote wake-up + self-
powered
Interface: zero
Endpoint: halted
Device remote wake-up
Endpoint halt
Device remote wake-up
Endpoint halt
addr = 1 to 127
Device descriptor
Configuration descriptor
String descriptor
n = 0, 1
Set the UART baud rate, parity,
stop bits, etc. Channel #0, 2, 4,
6 for channel A, B, C, D,
respectively.
Get the UART baud rate, parity,
stop bits, etc. Channel #0, 2, 4,
6 for channel A, B, C, D,
respectively.
Set/Clear DTR in CDC-ACM
mode. Channel #0, 2, 4, 6 for
channel A, B, C, D, respec-
tively.
20 / 64
exar.com/XR21B1424
Rev 1C