DLPU048E August 2016 – July 2024
This command is used to read back the current values of the GPIO pins.
Command Parameters
No command parameters.
Return Parameters
Table 8-22 indicates the GPIO index for each returned bit.
| BYTE | Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0 |
|---|---|---|---|---|---|---|---|---|
| 1 (Value) | 07 | 06 | 05 | 04 | 03 | 02 | 01 | 00 |
| 2 (Value) | 15 | 14 | 13 | 12 | 11 | 10 | 09 | 08 |
| 3 (Value) | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 |
| 4 (Value) | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 |
Table 8-23 defines the GPIO values.
| GPIO VALUES | DESCRIPTION |
|---|---|
| 0x0 | Set low. |
| 0x1 | Set high. |