© 2014 Exar Corporation
XR22801
24 / 40 exar.com/XR22801
Rev 1A
CUSTOMIZED_INT (0x052) - Read/Write
Bit Default Description
15:1 0x0000
Reserved
These bits are reserved and should be written as ‘0’.
00
Enable
Enables the customized interrupt packet format to report all GPIO status in the interrupt packet.
0: Use standard interrupt packet. See Table 6 and Table 7.
1: Use customized interrupt packet. See Table 8.
Table 6: Interrupt Packet Format
Offset Field
Size
(Bytes)
Value Description
0 bmRequestType 1 8’b10100001 D7 = Device-to-host direction
D6:5 = Class Type
D4-0: = Interface Recipient
1 bNotification 1 8’h20 Defined encoding for SERIAL_STATE
2 wValue 2 16’h0000
4 wIndex 2 16’h0000 D15-8 = Reserved (0)
D7-0 = Interface number, 8’h00 for
the CDC Command Interface
6 wLength 2 16’h0002 2 bytes of transferred data
8 Data 2 Standard int_status
(See
Tabl e 7 ) For
customized int_status
Size = 4 bytes (See
Ta ble 8 )
D15-7 = Reserved (0)
D6 = bOverRun
D5 = bParity
D4 = bFraming
D3 = bRingSignal (RI)
D2 = bBreak
D1 = bTxCarrier (DSR)
D0 = bRxCarrier (CD)
Table 7: Data Field of Standard Interrupt Packet
Bits Field Description
D15..D7 Reserved (future use)
D6 bOverRun Received data has been discarded due to overrun in the device.
D5 bParity A parity error has occured.
D4 bFraming A framing error has occured.
D3 bRingSignal State of ring signal detection of the device.
D2 bBreak State of break detection mechanism of the device.
D1 bTxCarrier State of transmission carrier. This signal corresponds to V.24 signal
106 and RS-232 signal DSR.
D0 bRxCarrier State of receiver carrier detection mechanism of device. This signal
corresponds to V.24 signal 109 and RS-232 signal DCD.