SLUUBT5C November 2018 – June 2021 BQ40Z80
This write-only command is used to set the output drive of each GPIO pin configured as a GPIO. The data associated with pins not configured as GPIOs is not impacted. The format of the command is a 16-bit field, with 2-bits associated with each GPIO pin. These two bits set the output drive status as: 00 = drive output low, 01 = drive output high, 10 = set output high-Z, and 11 = set output high-Z.
SBS Cmd | Name | Access | Protocol | Type | Min | Max | Default | Unit | ||
---|---|---|---|---|---|---|---|---|---|---|
SE | US | FA | ||||||||
0x49 | GPIOWrite() | W | W | W | Word | U2 | — | 65535 | 0 | — |
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
RL2 LEDCNTLC/GPIO RSVD | RL1 LECDNTLB/GPIO RSVD | RL0 LEDCNTLA/PDSG/GPIO RSVD | RH2 VC7EN/ DISP/GPIO |
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RH1 CB7EN/PDSG/GPIO RSVD | RH0 PRES/ SHUTDN/ DISP/GPIO TS1 | RC3 or AD3 DISP/TS4/ADCIN2/GPIO | RC2 or AD2 V7SENSE/TS3/ADCIN1/GPIO |