Searched refs:STM32F4_ADC_CR2 (Results 1 – 2 of 2) sorted by relevance
/drivers/iio/adc/ |
D | stm32-adc.c | 422 .exten = { STM32F4_ADC_CR2, STM32F4_EXTEN_MASK, STM32F4_EXTEN_SHIFT }, 423 .extsel = { STM32F4_ADC_CR2, STM32F4_EXTSEL_MASK, 803 stm32_adc_set_bits(adc, STM32F4_ADC_CR2, in stm32f4_adc_start_conv() 806 stm32_adc_set_bits(adc, STM32F4_ADC_CR2, STM32F4_EOCS | STM32F4_ADON); in stm32f4_adc_start_conv() 812 if (!(stm32_adc_readl(adc, STM32F4_ADC_CR2) & STM32F4_EXTEN_MASK)) in stm32f4_adc_start_conv() 813 stm32_adc_set_bits(adc, STM32F4_ADC_CR2, STM32F4_SWSTART); in stm32f4_adc_start_conv() 820 stm32_adc_clr_bits(adc, STM32F4_ADC_CR2, STM32F4_EXTEN_MASK); in stm32f4_adc_stop_conv() 824 stm32_adc_clr_bits(adc, STM32F4_ADC_CR2, in stm32f4_adc_stop_conv()
|
D | stm32-adc-core.h | 35 #define STM32F4_ADC_CR2 0x08 macro
|