Home
last modified time | relevance | path

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

/hal_nxp-3.7.0/imx/drivers/
Dadc_imx6sx.c55 ADC_CFG_REG(base) |= ADC_CFG_AVGS(initConfig->averageNumber); in ADC_Init()
59 ADC_CFG_REG(base) |= ADC_CFG_MODE(initConfig->resolutionMode); in ADC_Init()
79 ADC_CFG_REG(base) = ADC_CFG_ADSTS(2); in ADC_Deinit()
96 ADC_CFG_REG(base) |= ADC_CFG_OVWREN_MASK; in ADC_SetConvertResultOverwrite()
98 ADC_CFG_REG(base) &= ~ADC_CFG_OVWREN_MASK; in ADC_SetConvertResultOverwrite()
112 ADC_CFG_REG(base) |= ADC_CFG_ADTRG_MASK; in ADC_SetConvertTrigMode()
114 ADC_CFG_REG(base) &= ~ADC_CFG_ADTRG_MASK; in ADC_SetConvertTrigMode()
128 ADC_CFG_REG(base) |= ADC_CFG_ADHSC_MASK; in ADC_SetConvertSpeed()
130 ADC_CFG_REG(base) &= ~ADC_CFG_ADHSC_MASK; in ADC_SetConvertSpeed()
146 ADC_CFG_REG(base) &= ~ADC_CFG_ADLSMP_MASK; in ADC_SetSampleTimeDuration()
[all …]
Dadc_imx6sx.h200 return (uint8_t)((ADC_CFG_REG(base) & ADC_CFG_ADTRG_MASK) >> ADC_CFG_ADTRG_SHIFT); in ADC_GetConvertTrigMode()
219 return (uint8_t)((ADC_CFG_REG(base) & ADC_CFG_ADHSC_MASK) >> ADC_CFG_ADHSC_SHIFT); in ADC_GetConvertSpeed()
246 return (uint8_t)((ADC_CFG_REG(base) & ADC_CFG_ADLPC_MASK) >> ADC_CFG_ADLPC_SHIFT); in ADC_GetPowerMode()
352 ADC_CFG_REG(base) = (ADC_CFG_REG(base) & (~ADC_CFG_MODE_MASK)) | in ADC_SetResolutionMode()
364 return (uint8_t)((ADC_CFG_REG(base) & ADC_CFG_MODE_MASK) >> ADC_CFG_MODE_SHIFT); in ADC_GetResolutionMode()
/hal_nxp-3.7.0/imx/devices/MCIMX6X/
DMCIMX6X_M4.h333 #define ADC_CFG_REG(base) ((base)->CFG) macro
487 #define ADC1_CFG ADC_CFG_REG(ADC1_BASE_PTR)
499 #define ADC2_CFG ADC_CFG_REG(ADC2_BASE_PTR)