SLUUCH2 March 2021 BQ40Z50-R2
This read-only command returns a 4-bit field, with each bit providing the input level read from each of the 4 pins, which can be configured as GPIOs. The command returns valid data for all pins that are configured as GPIO, including those that are configured to drive an output.
| SBS Cmd | Name | Access | Protocol | Type | Min | Max | Default | Unit | ||
|---|---|---|---|---|---|---|---|---|---|---|
| SE | US | FA | ||||||||
| 0x48 | GPIORead() | R | R | R | Word | U2 | — | 65535 | 0 | — |
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
| RSVD | RSVD | RSVD | RSVD | RSVD | RSVD | RSVD | RSVD |
| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| RSVD | RSVD | RSVD | RSVD | LEDCNTLC | LEDCNTLB | LEDCNTA | DISP |