Home
last modified time | relevance | path

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

/hal_ti-latest/simplelink_lpf3/source/ti/devices/cc23x0r5/driverlib/
Dadc.c45 uint32_t tempCtl; in ADCSetSampleDuration() local
48 tempCtl = HWREG(ADC_BASE + ADC_O_CTL0); in ADCSetSampleDuration()
51 tempCtl &= ~(ADC_CTL0_SCLKDIV_M); in ADCSetSampleDuration()
54 tempCtl |= (clkDiv & ADC_CTL0_SCLKDIV_M); in ADCSetSampleDuration()
57 HWREG(ADC_BASE + ADC_O_CTL0) = tempCtl; in ADCSetSampleDuration()
70 uint32_t tempCtl; in ADCSetResolution() local
73 tempCtl = HWREG(ADC_BASE + ADC_O_CTL2); in ADCSetResolution()
76 tempCtl &= ~(ADC_CTL2_RES_M); in ADCSetResolution()
79 tempCtl |= (resolution & ADC_CTL2_RES_M); in ADCSetResolution()
82 HWREG(ADC_BASE + ADC_O_CTL2) = tempCtl; in ADCSetResolution()
[all …]