Home
last modified time | relevance | path

Searched refs:gain (Results 1 – 4 of 4) sorted by relevance

/external/platform/cc13xx/cc13xxware/driverlib/
A Daux_adc.c236 int32_t gain; in AUXADCGetAdjustmentGain() local
239gain = (HWREG(FCFG1_BASE + FCFG1_O_SOC_ADC_ABS_GAIN) & FCFG1_SOC_ADC_ABS_GAIN_SOC_ADC_ABS_GAIN_TEM… in AUXADCGetAdjustmentGain()
242gain = (HWREG(FCFG1_BASE + FCFG1_O_SOC_ADC_REL_GAIN) & FCFG1_SOC_ADC_REL_GAIN_SOC_ADC_REL_GAIN_TEM… in AUXADCGetAdjustmentGain()
244 return gain; in AUXADCGetAdjustmentGain()
299 AUXADCAdjustValueForGainAndOffset(int32_t adcValue, int32_t gain, int32_t offset) in AUXADCAdjustValueForGainAndOffset() argument
302 adcValue = (((adcValue + offset) * gain) + 16384) / 32768; in AUXADCAdjustValueForGainAndOffset()
320 AUXADCUnadjustValueForGainAndOffset(int32_t adcValue, int32_t gain, int32_t offset) in AUXADCUnadjustValueForGainAndOffset() argument
323 adcValue = (((adcValue * 32768) + (gain / 2)) / gain) - offset; in AUXADCUnadjustValueForGainAndOffset()
A Daux_adc.h487 extern int32_t AUXADCAdjustValueForGainAndOffset(int32_t adcValue, int32_t gain, int32_t offset);
509 extern int32_t AUXADCUnadjustValueForGainAndOffset(int32_t adcValue, int32_t gain, int32_t offset);
/external/platform/nrfx/drivers/include/
A Dnrfx_saadc.h71 .gain = NRF_SAADC_GAIN1_6, \
104 .gain = NRF_SAADC_GAIN1_6, \
/external/platform/nrfx/hal/
A Dnrf_saadc.h231 nrf_saadc_gain_t gain; ///< Gain control value. member
854 | ((config->gain << SAADC_CH_CONFIG_GAIN_Pos) & SAADC_CH_CONFIG_GAIN_Msk) in nrf_saadc_channel_init()

Completed in 9 milliseconds