Home
last modified time | relevance | path

Searched refs:adcValue (Results 1 – 6 of 6) 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
280 return (((adcValue * fixedRefVoltage) + 2047) / 4095) << 4; in AUXADCValueToMicrovolts()
303 AUXADCAdjustValueForGainAndOffset(int32_t adcValue, int32_t gain, int32_t offset) in AUXADCAdjustValueForGainAndOffset() argument
306 adcValue = (((adcValue + offset) * gain) + 16384) / 32768; in AUXADCAdjustValueForGainAndOffset()
309 if (adcValue < 0) { in AUXADCAdjustValueForGainAndOffset()
311 } else if (adcValue > 4095) { in AUXADCAdjustValueForGainAndOffset()
314 return adcValue; in AUXADCAdjustValueForGainAndOffset()
324 AUXADCUnadjustValueForGainAndOffset(int32_t adcValue, int32_t gain, int32_t offset) in AUXADCUnadjustValueForGainAndOffset() argument
327 adcValue = (((adcValue * 32768) + (gain / 2)) / gain) - offset; in AUXADCUnadjustValueForGainAndOffset()
330 if (adcValue < 0) { in AUXADCUnadjustValueForGainAndOffset()
[all …]
Daux_adc.h455 extern int32_t AUXADCValueToMicrovolts(int32_t fixedRefVoltage, int32_t adcValue);
496 extern int32_t AUXADCAdjustValueForGainAndOffset(int32_t adcValue, int32_t gain, int32_t offset);
518 extern int32_t AUXADCUnadjustValueForGainAndOffset(int32_t adcValue, int32_t gain, int32_t offset);
Drom.h717 ((int32_t (*)(int32_t adcValue, int32_t gain, int32_t offset)) \
761 ((int32_t (*)(int32_t adcValue, int32_t gain, int32_t offset)) \
765 ((int32_t (*)(int32_t fixedRefVoltage, int32_t adcValue)) \
/hal_ti-2.7.6/simplelink/source/ti/drivers/
DADC.h298 uint16_t adcValue);
425 uint16_t adcValue);
DADC.c81 uint32_t ADC_convertToMicroVolts(ADC_Handle handle, uint16_t adcValue) in ADC_convertToMicroVolts() argument
83 return (handle->fxnTablePtr->convertToMicroVolts(handle, adcValue)); in ADC_convertToMicroVolts()
/hal_ti-2.7.6/simplelink/source/ti/drivers/adc/
DADCCC32XX.c73 uint16_t adcValue);
171 uint16_t adcValue) in ADCCC32XX_convertToMicroVolts() argument
174 return ((uint_fast32_t)(adcValue * (1467000.0 / 4095.0))); in ADCCC32XX_convertToMicroVolts()