4.1.4 SERIAL_STATE Notification

The MCP2222 notifies parity or framing errors through Interrupt Endpoint 0x01 (IN). The format is given in the following table.

Table 4-6. SERIAL_STATE - Notification
Byte IndexNotificationDescription
00xA1vmRequestTypeDevice to host
10x20bRequest Request code
20x00wValue – lower byteReserved
30x00wValue – higher byte
40x00wIndex – lower byteInterface 0
50x00wIndex – higher byte
60x02wLength – lower bytePayload length in bytes
70x00wLength – higher byte
8

0x1x

0x2x

Framing error

Parity error

wState (Error State)

Bit 0-3: Unused.

Bit 4: Represents a framing Error: 0 – no framing error, 1 – framing error.

Bit 5: Represents a parity error: 0 – no parity error, 1 – parity error.

Bit 6-15: Unused.

90x00wState - higher byte