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).
| Byte Index | Command | Description | |
|---|---|---|---|
| 0 | 0x6C | Command code | Reads the selected I/O pin configuration. |
| 1 |
|
IO0 IO1 IO2 IO3 IO4 IO5 | IO pin |
| Byte Index | Response | Description | |
|---|---|---|---|
| 0 | 0x6C | Returns the command code | Returns whether the command was accepted, along with the configuration |
| 1 |
|
Accepted - success Rejected – wrong parameters |
Accepted, and the I/O pin configuration is read. Rejected because the I/O number is invalid. |
| 2 | bPinSetn | I/On setting register value. | I/O setting register value for the selected pin |
