DLPU041G April 2016 – July 2024 DLPC230-Q1 , DLPC230S-Q1
This command is used to read back the current drive state of the GPIO pins. The default GPIO configurations are stored in flash and are set by the DLPC230-Q1 main application at startup.
Command Parameters
No command parameters.
Return Parameters
Table 8-19 indicates the GPIO index for each pair of configuration bits. Table 8-20 shows the configuration options available for each GPIO.
BYTE | BIT(7:6) | BIT(5:4) | BIT(3:2) | BIT(1:0) |
---|---|---|---|---|
1 | 03 | 02 | 01 | 00 |
2 | 07 | 06 | 05 | 04 |
3 | 11 | 10 | 09 | 08 |
4 | 15 | 14 | 13 | 12 |
5 | 19 | 18 | 17 | 16 |
6 | 23 | 22 | 21 | 20 |
7 | 27 | 26 | 25 | 24 |
8 | 31 | 30 | 29 | 28 |
GPIO CONFIGURATION VALUES | DESCRIPTION |
---|---|
0x0 | Alternative function. No GPIO configuration may be applied. |
0x1 | Input |
0x2 | Output (standard) |
0x3 | Output (open drain) |