Searched refs:tempCorrection (Results 1 – 2 of 2) sorted by relevance
61 int32_t tempCorrection ; // Voltage dependent temp correction with 8 fractional bits in AONBatMonTemperatureGetDegC() local72 …tempCorrection = (( voltageSlope * (((int32_t)HWREG( AON_BATMON_BASE + AON_BATMON_O_BAT )) - 0x… in AONBatMonTemperatureGetDegC()74 return ((( signedTemp - tempCorrection ) + 0x80 ) >> 8 ); in AONBatMonTemperatureGetDegC()
63 int32_t tempCorrection ; // Voltage dependent temp correction with 8 fractional bits in AONBatMonTemperatureGetDegC() local74 …tempCorrection = (( voltageSlope * (((int32_t)HWREG( AON_BATMON_BASE + AON_BATMON_O_BAT )) - 0x… in AONBatMonTemperatureGetDegC()76 return ((( signedTemp - tempCorrection ) + 0x80 ) >> 8 ); in AONBatMonTemperatureGetDegC()