Searched refs:adcValue (Results 1 – 6 of 6) sorted by relevance
/hal_ti-2.7.6/simplelink/source/ti/devices/cc13x2_cc26x2/driverlib/ |
D | aux_adc.c | 276 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 …]
|
D | aux_adc.h | 455 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);
|
D | rom.h | 717 ((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/ |
D | ADC.h | 298 uint16_t adcValue); 425 uint16_t adcValue);
|
D | ADC.c | 81 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/ |
D | ADCCC32XX.c | 73 uint16_t adcValue); 171 uint16_t adcValue) in ADCCC32XX_convertToMicroVolts() argument 174 return ((uint_fast32_t)(adcValue * (1467000.0 / 4095.0))); in ADCCC32XX_convertToMicroVolts()
|