Home
last modified time | relevance | path

Searched refs:ADC (Results 1 – 25 of 136) sorted by relevance

123456

/hal_stm32-3.6.0/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_adc_ex.c203 if(HAL_IS_BIT_CLR(ADC->CCR, ADC_CCR_MULTI)) in HAL_ADCEx_InjectedStart()
303 if(HAL_IS_BIT_CLR(ADC->CCR, ADC_CCR_MULTI)) in HAL_ADCEx_InjectedStart_IT()
671 ADC->CCR |= ADC_CCR_DDS; in HAL_ADCEx_MultiModeStart_DMA()
676 ADC->CCR &= ~ADC_CCR_DDS; in HAL_ADCEx_MultiModeStart_DMA()
680 HAL_DMA_Start_IT(hadc->DMA_Handle, (uint32_t)&ADC->CDR, (uint32_t)pData, Length); in HAL_ADCEx_MultiModeStart_DMA()
726 ADC->CCR &= ~ADC_CCR_DDS; in HAL_ADCEx_MultiModeStop_DMA()
758 return ADC->CDR; in HAL_ADCEx_MultiModeGetValue()
915 ADC->CCR |= ADC_CCR_VBATE; in HAL_ADCEx_InjectedConfigChannel()
922 ADC->CCR |= ADC_CCR_TSVREFE; in HAL_ADCEx_InjectedConfigChannel()
951 ADC->CCR &= ~(ADC_CCR_MULTI); in HAL_ADCEx_MultiModeConfigChannel()
[all …]
Dstm32f7xx_hal_adc.c797 if(HAL_IS_BIT_CLR(ADC->CCR, ADC_CCR_MULTI)) in HAL_ADC_Start()
817 if( HAL_IS_BIT_CLR(ADC->CCR, ADC_CCR_MULTI_4) ) in HAL_ADC_Start()
1119 if(HAL_IS_BIT_CLR(ADC->CCR, ADC_CCR_MULTI)) in HAL_ADC_Start_IT()
1139 if( HAL_IS_BIT_CLR(ADC->CCR, ADC_CCR_MULTI_4) ) in HAL_ADC_Start_IT()
1464 if(HAL_IS_BIT_CLR(ADC->CCR, ADC_CCR_MULTI)) in HAL_ADC_Start_DMA()
1483 if( HAL_IS_BIT_CLR(ADC->CCR, ADC_CCR_MULTI_4) ) in HAL_ADC_Start_DMA()
1740 ADC->CCR &= ~(ADC_CCR_VBATE | ADC_CCR_TSVREFE); in HAL_ADC_ConfigChannel()
1747 ADC->CCR &= ~ADC_CCR_TSVREFE; in HAL_ADC_ConfigChannel()
1750 ADC->CCR |= ADC_CCR_VBATE; in HAL_ADC_ConfigChannel()
1757 ADC->CCR &= ~ADC_CCR_VBATE; in HAL_ADC_ConfigChannel()
[all …]
Dstm32f7xx_ll_adc.c532 CLEAR_BIT(ADC->CCR, ADC_CCR_TSVREFE | ADC_CCR_ADCPRE); in LL_ADC_DeInit()
/hal_stm32-3.6.0/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_hal_adc_ex.c204 if(HAL_IS_BIT_CLR(ADC->CCR, ADC_CCR_MULTI)) in HAL_ADCEx_InjectedStart()
304 if(HAL_IS_BIT_CLR(ADC->CCR, ADC_CCR_MULTI)) in HAL_ADCEx_InjectedStart_IT()
672 ADC->CCR |= ADC_CCR_DDS; in HAL_ADCEx_MultiModeStart_DMA()
677 ADC->CCR &= ~ADC_CCR_DDS; in HAL_ADCEx_MultiModeStart_DMA()
681 HAL_DMA_Start_IT(hadc->DMA_Handle, (uint32_t)&ADC->CDR, (uint32_t)pData, Length); in HAL_ADCEx_MultiModeStart_DMA()
727 ADC->CCR &= ~ADC_CCR_DDS; in HAL_ADCEx_MultiModeStop_DMA()
761 return ADC->CDR; in HAL_ADCEx_MultiModeGetValue()
918 ADC->CCR |= ADC_CCR_VBATE; in HAL_ADCEx_InjectedConfigChannel()
925 ADC->CCR |= ADC_CCR_TSVREFE; in HAL_ADCEx_InjectedConfigChannel()
954 ADC->CCR &= ~(ADC_CCR_MULTI); in HAL_ADCEx_MultiModeConfigChannel()
[all …]
Dstm32f2xx_hal_adc.c786 if(HAL_IS_BIT_CLR(ADC->CCR, ADC_CCR_MULTI)) in HAL_ADC_Start()
1088 if(HAL_IS_BIT_CLR(ADC->CCR, ADC_CCR_MULTI)) in HAL_ADC_Start_IT()
1419 if(HAL_IS_BIT_CLR(ADC->CCR, ADC_CCR_MULTI)) in HAL_ADC_Start_DMA()
1669 ADC->CCR |= ADC_CCR_VBATE; in HAL_ADC_ConfigChannel()
1676 ADC->CCR |= ADC_CCR_TSVREFE; in HAL_ADC_ConfigChannel()
1831 ADC->CCR &= ~(ADC_CCR_ADCPRE); in ADC_Init()
1832 ADC->CCR |= hadc->Init.ClockPrescaler; in ADC_Init()
Dstm32f2xx_ll_adc.c554 CLEAR_BIT(ADC->CCR, ADC_CCR_TSVREFE | ADC_CCR_ADCPRE); in LL_ADC_DeInit()
/hal_stm32-3.6.0/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_hal_adc.c504 ADC->CCR &= (uint32_t)~ADC_CCR_LFMEN; in HAL_ADC_Init()
505 ADC->CCR |= __HAL_ADC_CCR_LOWFREQUENCY(hadc->Init.LowPowerFrequencyMode); in HAL_ADC_Init()
1958 ADC->CCR |= ADC_CCR_TSEN; in HAL_ADC_ConfigChannel()
1968 ADC->CCR |= ADC_CCR_VREFEN; in HAL_ADC_ConfigChannel()
1975 ADC->CCR |= ADC_CCR_VLCDEN; in HAL_ADC_ConfigChannel()
1991 ADC->CCR &= ~ADC_CCR_TSEN; in HAL_ADC_ConfigChannel()
1998 ADC->CCR &= ~ADC_CCR_VREFEN; in HAL_ADC_ConfigChannel()
2005 ADC->CCR &= ~ADC_CCR_VLCDEN; in HAL_ADC_ConfigChannel()
/hal_stm32-3.6.0/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_adc.c792 …if((hadc->Instance == ADC1) || ((hadc->Instance == ADC2) && ((ADC->CCR & ADC_CCR_MULTI_Msk) < ADC_… in HAL_ADC_Start()
793 … || ((hadc->Instance == ADC3) && ((ADC->CCR & ADC_CCR_MULTI_Msk) < ADC_CCR_MULTI_4))) in HAL_ADC_Start()
1116 …if((hadc->Instance == ADC1) || ((hadc->Instance == ADC2) && ((ADC->CCR & ADC_CCR_MULTI_Msk) < ADC_… in HAL_ADC_Start_IT()
1117 … || ((hadc->Instance == ADC3) && ((ADC->CCR & ADC_CCR_MULTI_Msk) < ADC_CCR_MULTI_4))) in HAL_ADC_Start_IT()
1469 …if((hadc->Instance == ADC1) || ((hadc->Instance == ADC2) && ((ADC->CCR & ADC_CCR_MULTI_Msk) < ADC_… in HAL_ADC_Start_DMA()
1470 … || ((hadc->Instance == ADC3) && ((ADC->CCR & ADC_CCR_MULTI_Msk) < ADC_CCR_MULTI_4))) in HAL_ADC_Start_DMA()
Dstm32f4xx_ll_adc.c546 CLEAR_BIT(ADC->CCR, ADC_CCR_TSVREFE | ADC_CCR_ADCPRE); in LL_ADC_DeInit()
/hal_stm32-3.6.0/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_hal_adc.c516 MODIFY_REG(ADC->CCR , in HAL_ADC_Init()
776 CLEAR_BIT(ADC->CCR, ADC_CCR_TSVREFE); in HAL_ADC_DeInit()
2029 if (READ_BIT(ADC->CCR, ADC_CCR_TSVREFE) == RESET) in HAL_ADC_ConfigChannel()
2031 SET_BIT(ADC->CCR, ADC_CCR_TSVREFE); in HAL_ADC_ConfigChannel()
Dstm32l1xx_hal_adc_ex.c832 SET_BIT(ADC->CCR, ADC_CCR_TSVREFE); in HAL_ADCEx_InjectedConfigChannel()
Dstm32l1xx_ll_adc.c533 CLEAR_BIT(ADC->CCR, ADC_CCR_TSVREFE | ADC_CCR_ADCPRE); in LL_ADC_DeInit()
/hal_stm32-3.6.0/stm32cube/stm32f0xx/drivers/src/
Dstm32f0xx_hal_adc.c721 ADC->CCR &= ~(ADC_CCR_ALL); in HAL_ADC_DeInit()
1959 ADC->CCR |= ADC_CHANNEL_INTERNAL_PATH(sConfig->Channel); in HAL_ADC_ConfigChannel()
1988 ADC->CCR &= ~ADC_CHANNEL_INTERNAL_PATH(sConfig->Channel); in HAL_ADC_ConfigChannel()
/hal_stm32-3.6.0/stm32cube/stm32l0xx/drivers/include/
Dstm32l0xx_hal_adc.h913 ADC->CCR &= ~(ADC_CCR_PRESC); \
914 ADC->CCR |= (__HANDLE__)->Init.ClockPrescaler; \
/hal_stm32-3.6.0/stm32cube/stm32f4xx/drivers/include/
Dstm32f4xx_hal_adc_ex.h251 #define __HAL_ADC_PATH_INTERNAL_VBAT_DISABLE() (ADC->CCR &= ~(ADC_CCR_VBATE))
/hal_stm32-3.6.0/stm32cube/stm32g0xx/drivers/include/
Dstm32g0xx_ll_bus.h195 #if defined(ADC)
/hal_stm32-3.6.0/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_ll_adc.c34 #if defined (ADC)
/hal_stm32-3.6.0/stm32cube/stm32l1xx/drivers/include/
Dstm32l1xx_hal_adc_ex.h405 ((0x01) << ((ADC->CCR & ADC_CCR_ADCPRE) >> POSITION_VAL(ADC_CCR_ADCPRE)))
/hal_stm32-3.6.0/stm32cube/stm32wlxx/drivers/include/
Dstm32wlxx_ll_adc.h34 #if defined (ADC)
1401 LL_ADC_IsEnabled(ADC)
/hal_stm32-3.6.0/stm32cube/stm32f0xx/soc/
Dstm32f070x6.h540 #define ADC ((ADC_Common_TypeDef *) ADC_BASE) /* Kept for legacy purpose */ macro
5331 #define IS_ADC_COMMON_INSTANCE(INSTANCE) ((INSTANCE) == ADC)
Dstm32f030x6.h496 #define ADC ((ADC_Common_TypeDef *) ADC_BASE) /* Kept for legacy purpose */ macro
5101 #define IS_ADC_COMMON_INSTANCE(INSTANCE) ((INSTANCE) == ADC)
Dstm32f030x8.h510 #define ADC ((ADC_Common_TypeDef *) ADC_BASE) /* Kept for legacy purpose */ macro
5136 #define IS_ADC_COMMON_INSTANCE(INSTANCE) ((INSTANCE) == ADC)
Dstm32f070xb.h561 #define ADC ((ADC_Common_TypeDef *) ADC_BASE) /* Kept for legacy purpose */ macro
5483 #define IS_ADC_COMMON_INSTANCE(INSTANCE) ((INSTANCE) == ADC)
Dstm32f030xc.h526 #define ADC ((ADC_Common_TypeDef *) ADC_BASE) /* Kept for legacy purpose */ macro
5486 #define IS_ADC_COMMON_INSTANCE(INSTANCE) ((INSTANCE) == ADC)
Dstm32f031x6.h507 #define ADC ((ADC_Common_TypeDef *) ADC_BASE) /* Kept for legacy purpose */ macro
5379 #define IS_ADC_COMMON_INSTANCE(INSTANCE) ((INSTANCE) == ADC)

123456