Home
last modified time | relevance | path

Searched refs:adcCmd (Results 1 – 2 of 2) sorted by relevance

/hal_ti-latest/simplelink_lpf3/source/ti/drivers/rcl/handlers/
Dadc_noise.c82 RCL_CmdAdcNoiseGet *adcCmd = (RCL_CmdAdcNoiseGet *)cmd; in RCL_Handler_ADC_Noise_getNoise() local
93 if ((adcCmd->numWords == 0) || (adcCmd->numWords > RCL_ADC_NOISE_MAX_NUM_WORDS)) in RCL_Handler_ADC_Noise_getNoise()
135 RCL_Handler_Adc_Noise_configureS2R(adcCmd->numWords); in RCL_Handler_ADC_Noise_getNoise()
137 …SE, "RFE powered up. Configured S2R for %d words, buffer: 0x%x", adcCmd->numWords, adcCmd->output); in RCL_Handler_ADC_Noise_getNoise()
152 if (adcCmd->output == NULL) in RCL_Handler_ADC_Noise_getNoise()
155 adcCmd->output = ADC_NOISE_SAMPLE_PTR; in RCL_Handler_ADC_Noise_getNoise()
160 … memcpy(adcCmd->output, ADC_NOISE_SAMPLE_PTR, adcCmd->numWords * sizeof(uint32_t)); in RCL_Handler_ADC_Noise_getNoise()
162 memset(ADC_NOISE_SAMPLE_PTR, 0, adcCmd->numWords * sizeof(uint32_t)); in RCL_Handler_ADC_Noise_getNoise()
202 …atus = RCL_Scheduler_setNewStartAbsTime(RCL_Scheduler_getCurrentTime() + adcCmd->numWords / 3, tru… in RCL_Handler_ADC_Noise_getNoise()
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/rcl/wrappers/
DRCL_AdcNoise.c77 RCL_CmdAdcNoiseGet *adcCmd = (RCL_CmdAdcNoiseGet *)cmd; in adcNoiseCallback() local
81 callback(adcCmd->output, adcCmd->numWords, RCL_STATUS_TO_WRAPPER_STATUS(cmd->status)); in adcNoiseCallback()