Searched refs:result_mVolts (Results 1 – 1 of 1) sorted by relevance
1305 int32_t result_mVolts = 0; in Cy_SAR_CountsTo_mVolts() local1313 result_mVolts = ((int32_t)locCounts * CY_SAR_10MV_COUNTS); in Cy_SAR_CountsTo_mVolts()1316 result_mVolts += Cy_SAR_countsPer10Volt[chan][CY_SAR_INSTANCE(base)] / 2; in Cy_SAR_CountsTo_mVolts()1320 result_mVolts -= Cy_SAR_countsPer10Volt[chan][CY_SAR_INSTANCE(base)] / 2; in Cy_SAR_CountsTo_mVolts()1322 result_mVolts /= Cy_SAR_countsPer10Volt[chan][CY_SAR_INSTANCE(base)]; in Cy_SAR_CountsTo_mVolts()1326 return (int16_t) result_mVolts; in Cy_SAR_CountsTo_mVolts()