Home
last modified time | relevance | path

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

/hal_ti-latest/simplelink/source/ti/devices/cc13x2_cc26x2/driverlib/
Daux_adc.c311 AUXADCValueToMicrovolts(int32_t fixedRefVoltage, int32_t adcValue) in AUXADCValueToMicrovolts() argument
314 fixedRefVoltage >>= 4; in AUXADCValueToMicrovolts()
315 return (((adcValue * fixedRefVoltage) + 2047) / 4095) << 4; in AUXADCValueToMicrovolts()
324 AUXADCMicrovoltsToValue(int32_t fixedRefVoltage, int32_t microvolts) in AUXADCMicrovoltsToValue() argument
327 fixedRefVoltage >>= 4; in AUXADCMicrovoltsToValue()
329 return ((microvolts * 4095) + (fixedRefVoltage / 2)) / fixedRefVoltage; in AUXADCMicrovoltsToValue()
Daux_adc.h512 extern int32_t AUXADCValueToMicrovolts(int32_t fixedRefVoltage, int32_t adcValue);
533 extern int32_t AUXADCMicrovoltsToValue(int32_t fixedRefVoltage, int32_t microvolts);
Drom.h737 ((int32_t (*)(int32_t fixedRefVoltage, int32_t microvolts)) \
753 ((int32_t (*)(int32_t fixedRefVoltage, int32_t adcValue)) \
/hal_ti-latest/simplelink/source/ti/devices/cc13x2x7_cc26x2x7/driverlib/
Daux_adc.c309 AUXADCValueToMicrovolts(int32_t fixedRefVoltage, int32_t adcValue) in AUXADCValueToMicrovolts() argument
312 fixedRefVoltage >>= 4; in AUXADCValueToMicrovolts()
313 return (((adcValue * fixedRefVoltage) + 2047) / 4095) << 4; in AUXADCValueToMicrovolts()
322 AUXADCMicrovoltsToValue(int32_t fixedRefVoltage, int32_t microvolts) in AUXADCMicrovoltsToValue() argument
325 fixedRefVoltage >>= 4; in AUXADCMicrovoltsToValue()
327 return ((microvolts * 4095) + (fixedRefVoltage / 2)) / fixedRefVoltage; in AUXADCMicrovoltsToValue()
Daux_adc.h510 extern int32_t AUXADCValueToMicrovolts(int32_t fixedRefVoltage, int32_t adcValue);
531 extern int32_t AUXADCMicrovoltsToValue(int32_t fixedRefVoltage, int32_t microvolts);
Drom.h739 ((int32_t (*)(int32_t fixedRefVoltage, int32_t microvolts)) \
755 ((int32_t (*)(int32_t fixedRefVoltage, int32_t adcValue)) \