Home
last modified time | relevance | path

Searched refs:fixedRefVoltage (Results 1 – 3 of 3) sorted by relevance

/hal_ti-2.7.6/simplelink/source/ti/devices/cc13x2_cc26x2/driverlib/
Daux_adc.c276 AUXADCValueToMicrovolts(int32_t fixedRefVoltage, int32_t adcValue) in AUXADCValueToMicrovolts() argument
279 fixedRefVoltage >>= 4; in AUXADCValueToMicrovolts()
280 return (((adcValue * fixedRefVoltage) + 2047) / 4095) << 4; in AUXADCValueToMicrovolts()
289 AUXADCMicrovoltsToValue(int32_t fixedRefVoltage, int32_t microvolts) in AUXADCMicrovoltsToValue() argument
292 fixedRefVoltage >>= 4; in AUXADCMicrovoltsToValue()
294 return ((microvolts * 4095) + (fixedRefVoltage / 2)) / fixedRefVoltage; in AUXADCMicrovoltsToValue()
Daux_adc.h455 extern int32_t AUXADCValueToMicrovolts(int32_t fixedRefVoltage, int32_t adcValue);
476 extern int32_t AUXADCMicrovoltsToValue(int32_t fixedRefVoltage, int32_t microvolts);
Drom.h749 ((int32_t (*)(int32_t fixedRefVoltage, int32_t microvolts)) \
765 ((int32_t (*)(int32_t fixedRefVoltage, int32_t adcValue)) \