SLUUBT5C November 2018 – June 2021 BQ40Z80
Set Settings:Pin Configuration[MFP17_SEL0][MFP17_SEL1][MFP17_SEL2] = 000 to select PRES. When this mode is selected, the pin is used to determine whether the battery pack is inserted in a system. The PRES pin is sampled four times per second, and if PRES is high for four samples (one second), OperationStatus[PRES] is cleared. If PRES is low for four samples (one second), OperationStatus[PRES] is set, indicating the system is present (the battery is inserted).