DLPU018J October 2014 – June 2024 DLPC900
The GPIO Configuration command enables GPIO functionality on a specific set of DLPC900 pins. The command sets their direction, output buffer type, and output state.
| I2C | USB | |
|---|---|---|
| Read | Write | 0x1A38 |
| 0x44 | 0xC4 | |
| BYTE | BITS | DESCRIPTION | RESET | TYPE |
|---|---|---|---|---|
| 0 | 7:0 | GPIO selection. See Table 2-87 for description of available pins | d0 | wr |
| 1 | 0 | Output state | d0 | wr |
| 0 = Low | ||||
| 1 = High | ||||
| 1 | 0 – Configure pin as input | d0 | wr | |
| 1 – Configure pin as output | ||||
| 2 | 0 – Configure as normal mode | d0 | wr | |
| 1 – Configure as open drain mode | ||||
| 7:3 | Reserved | d0 | r |
| GPIO Selection | DLPC900 GPIO Pin | Function | Alternate Function |
|---|---|---|---|
| 0 | GPIO_PWM_00 | GPIO | PWM Output |
| 1 | GPIO_PWM_01 | GPIO | PWM Output |
| 2 | GPIO_PWM_02 | GPIO | PWM Output |
| 3 | GPIO_PWM_03 | GPIO | PWM Output |
| 4 | GPIO_04 | GPIO | None |
| 5 | GPIO_05 | GPIO | None |
| 6 | GPIO_06 | GPIO | None |
| 7 | GPIO_07 | GPIO | None |
| 8 | GPIO_08 | GPIO | None |