7.1.4 IO_GetConfiguration Command and its Response

The IO_GetConfiguration command (0x6C) reads the configuration settings of the specified I/O pin.

This command is sent through Endpoint 0x04 (OUT). The response is read through Endpoint 0x84 (IN).

Table 7-8. IO_GetConfiguration - Command
Byte IndexCommandDescription
00x6CCommand codeReads the selected I/O pin configuration.
1

0x00

0x10

0x20

0x30

0x40

0x50

IO0

IO1

IO2

IO3

IO4

IO5

IO pin
Table 7-9. IO_GetConfiguration - Response
Byte IndexResponseDescription
00x6CReturns the command codeReturns whether the command was accepted, along with the configuration
1

0x21

0x60

Accepted - success

Rejected – wrong parameters

Accepted, and the I/O pin configuration is read.

Rejected because the I/O number is invalid.

2bPinSetnI/On setting register value.I/O setting register value for the selected pin