Searched refs:iCharge (Results 1 – 1 of 1) sorted by relevance
400 uint16_t iCharge; in PCA9422_GetChargeCurrent() local417 iCharge = PCA9422_GetFastChargeCurrent(handle) / 10U; in PCA9422_GetChargeCurrent()441 tempVal = (float)iCharge * (float)topOffCurr[regBit] / 10.0f / 100.0f; in PCA9422_GetChargeCurrent()442 iCharge = (uint16_t)tempVal; in PCA9422_GetChargeCurrent()452 tempVal = (float)iCharge * (float)preChgCurr[regBit] / 100.0f; in PCA9422_GetChargeCurrent()453 iCharge = (uint16_t)tempVal; in PCA9422_GetChargeCurrent()458 iCharge = 0U; in PCA9422_GetChargeCurrent()463 iCharge = 0U; in PCA9422_GetChargeCurrent()471 if (((regVal & PCA9422_CHARGER_CNTL_5_THERM_NTC_EN) != 0U) && (iCharge != 0U)) in PCA9422_GetChargeCurrent()477 iCharge = 0U; in PCA9422_GetChargeCurrent()[all …]