Searched refs:adcValue (Results 1 – 11 of 11) sorted by relevance
| /hal_ti-latest/simplelink/source/ti/devices/cc13x2_cc26x2/driverlib/ |
| D | aux_adc.c | 311 AUXADCValueToMicrovolts(int32_t fixedRefVoltage, int32_t adcValue) in AUXADCValueToMicrovolts() argument 315 return (((adcValue * fixedRefVoltage) + 2047) / 4095) << 4; in AUXADCValueToMicrovolts() 338 AUXADCAdjustValueForGainAndOffset(int32_t adcValue, int32_t gain, int32_t offset) in AUXADCAdjustValueForGainAndOffset() argument 341 adcValue = (((adcValue + offset) * gain) + 16384) / 32768; in AUXADCAdjustValueForGainAndOffset() 344 if (adcValue < 0) { in AUXADCAdjustValueForGainAndOffset() 346 } else if (adcValue > 4095) { in AUXADCAdjustValueForGainAndOffset() 349 return adcValue; in AUXADCAdjustValueForGainAndOffset() 359 AUXADCUnadjustValueForGainAndOffset(int32_t adcValue, int32_t gain, int32_t offset) in AUXADCUnadjustValueForGainAndOffset() argument 362 adcValue = (((adcValue * 32768) + (gain / 2)) / gain) - offset; in AUXADCUnadjustValueForGainAndOffset() 365 if (adcValue < 0) { in AUXADCUnadjustValueForGainAndOffset() [all …]
|
| D | aux_adc.h | 512 extern int32_t AUXADCValueToMicrovolts(int32_t fixedRefVoltage, int32_t adcValue); 553 extern int32_t AUXADCAdjustValueForGainAndOffset(int32_t adcValue, int32_t gain, int32_t offset); 575 extern int32_t AUXADCUnadjustValueForGainAndOffset(int32_t adcValue, int32_t gain, int32_t offset);
|
| D | rom.h | 705 ((int32_t (*)(int32_t adcValue, int32_t gain, int32_t offset)) \ 749 ((int32_t (*)(int32_t adcValue, int32_t gain, int32_t offset)) \ 753 ((int32_t (*)(int32_t fixedRefVoltage, int32_t adcValue)) \
|
| /hal_ti-latest/simplelink/source/ti/devices/cc13x2x7_cc26x2x7/driverlib/ |
| D | aux_adc.c | 309 AUXADCValueToMicrovolts(int32_t fixedRefVoltage, int32_t adcValue) in AUXADCValueToMicrovolts() argument 313 return (((adcValue * fixedRefVoltage) + 2047) / 4095) << 4; in AUXADCValueToMicrovolts() 336 AUXADCAdjustValueForGainAndOffset(int32_t adcValue, int32_t gain, int32_t offset) in AUXADCAdjustValueForGainAndOffset() argument 339 adcValue = (((adcValue + offset) * gain) + 16384) / 32768; in AUXADCAdjustValueForGainAndOffset() 342 if (adcValue < 0) { in AUXADCAdjustValueForGainAndOffset() 344 } else if (adcValue > 4095) { in AUXADCAdjustValueForGainAndOffset() 347 return adcValue; in AUXADCAdjustValueForGainAndOffset() 357 AUXADCUnadjustValueForGainAndOffset(int32_t adcValue, int32_t gain, int32_t offset) in AUXADCUnadjustValueForGainAndOffset() argument 360 adcValue = (((adcValue * 32768) + (gain / 2)) / gain) - offset; in AUXADCUnadjustValueForGainAndOffset() 363 if (adcValue < 0) { in AUXADCUnadjustValueForGainAndOffset() [all …]
|
| D | aux_adc.h | 510 extern int32_t AUXADCValueToMicrovolts(int32_t fixedRefVoltage, int32_t adcValue); 551 extern int32_t AUXADCAdjustValueForGainAndOffset(int32_t adcValue, int32_t gain, int32_t offset); 573 extern int32_t AUXADCUnadjustValueForGainAndOffset(int32_t adcValue, int32_t gain, int32_t offset);
|
| D | rom.h | 707 ((int32_t (*)(int32_t adcValue, int32_t gain, int32_t offset)) \ 751 ((int32_t (*)(int32_t adcValue, int32_t gain, int32_t offset)) \ 755 ((int32_t (*)(int32_t fixedRefVoltage, int32_t adcValue)) \
|
| /hal_ti-latest/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-latest/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()
|
| /hal_ti-latest/simplelink_lpf3/source/ti/devices/cc23x0r5/driverlib/ |
| D | adc.c | 218 uint32_t ADCAdjustValueForGain(uint32_t adcValue, uint32_t bitResolution, uint16_t gain) in ADCAdjustValueForGain() argument 224 adjustedValue = ((adcValue * gain) + 0x4000) / 0x8000; in ADCAdjustValueForGain()
|
| D | adc.h | 762 extern uint32_t ADCAdjustValueForGain(uint32_t adcValue, uint32_t bitResolution, uint16_t gain);
|