SLUUBT5C November 2018 – June 2021 BQ40Z80
Set Settings:Pin Configuration[MFP12_SEL0][MFP12_SEL1][MFP12_SEL2] = 011 to select GPIO (default setting). When this mode is selected, the pin can be used as a general purpose input or output pin. The level of the pin is shown in the data returned by the read-only command GPIORead() (0x48). If the pin is used as an output, then it can be configured as an output driven low, an output driven high, or to the HIGH-Z state by writing to the command GPIOWrite() (0x49).
Settings:Pin Configuration[MFP12_SEL0][MFP12_SEL1][MFP12_SEL2] = 1xx are unused settings and cause the pin to be configured as input in the HIGH-Z state.