Searched refs:fixedRefVoltage (Results 1 – 3 of 3) sorted by relevance
276 AUXADCValueToMicrovolts(int32_t fixedRefVoltage, int32_t adcValue) in AUXADCValueToMicrovolts() argument279 fixedRefVoltage >>= 4; in AUXADCValueToMicrovolts()280 return (((adcValue * fixedRefVoltage) + 2047) / 4095) << 4; in AUXADCValueToMicrovolts()289 AUXADCMicrovoltsToValue(int32_t fixedRefVoltage, int32_t microvolts) in AUXADCMicrovoltsToValue() argument292 fixedRefVoltage >>= 4; in AUXADCMicrovoltsToValue()294 return ((microvolts * 4095) + (fixedRefVoltage / 2)) / fixedRefVoltage; in AUXADCMicrovoltsToValue()
455 extern int32_t AUXADCValueToMicrovolts(int32_t fixedRefVoltage, int32_t adcValue);476 extern int32_t AUXADCMicrovoltsToValue(int32_t fixedRefVoltage, int32_t microvolts);
749 ((int32_t (*)(int32_t fixedRefVoltage, int32_t microvolts)) \765 ((int32_t (*)(int32_t fixedRefVoltage, int32_t adcValue)) \