3.6.10 CNFG_GetIOConfiguration
Command and its Response
The CNFG_GetIOConfiguration command (0xA3) reads the I/O
configuration from SRAM or NVM:
- bSource → 0x00 = SRAM; 0x01 = NVM
This command is sent through Endpoint 0x05 (OUT). The response is read through Endpoint 0x85 (IN).
| Byte Index | Command | Description | |
|---|---|---|---|
| 0 |
| Command code | Returns the I/O Configuration from SRAM or NVM |
| 1 |
| bSource: SRAM NVM | |
| Byte Index | Response | Description | |
|---|---|---|---|
| 0 |
|
Echo command code | Returns whether the
CNFG_IOConfiguration command is accepted and
returns the I/O configuration from the specified source |
| 1 | 0x21 | Accepted: Successful | |
0x60 | Rejected: Invalid Parameters | Rejected because the configuration is invalid | |
| 2 | bIO0S | IO0 configuration | Refer to the IO0 setting register |
| 3 | bIO1S | IO1 configuration | Refer to the IO1 setting register |
| 4 | bIO2S | IO2 configuration | Refer to the IO2 setting register |
| 5 | bIO3S | IO3 configuration | Refer to the IO3 setting register |
| 6 | bIO4S | IO4 configuration | Refer to the IO4 setting register |
| 7 | bIO5S | IO5 configuration | Refer to the IO5 setting register |
