Analog-to-digital converter (ADC)
Select the clock of the ADC. The clock is common for both master and slave
ADCs. This parameter can be a value of ADC_Clock
uint32_t ADC_CommonInitTypeDef::ADC_DMAAccessMode
Configures the Direct memory access mode for multi ADC mode. This parameter
can be a value of ADC_Direct_memory_access_mode_for_multi_mode
uint32_t ADC_CommonInitTypeDef::ADC_DMAMode
Configures the DMA mode for ADC. This parameter can be a value of
ADC_DMA_Mode_definition
uint8_t ADC_CommonInitTypeDef::ADC_TwoSamplingDelay
Configures the Delay between 2 sampling phases. This parameter can be a
value between 0x0 and 0xF
3.1.3 ADC_InitTypeDef
ADC_InitTypeDef is defined in the stm32f30x_adc.h
Data Fields
uint32_t ADC_ContinuousConvMode
uint32_t ADC_Resolution
uint32_t ADC_ExternalTrigConvEvent
uint32_t ADC_ExternalTrigEventEdge
uint32_t ADC_DataAlign
uint32_t ADC_OverrunMode
uint32_t ADC_AutoInjMode
uint8_t ADC_NbrOfRegChannel
Field Documentation
uint32_t ADC_InitTypeDef::ADC_ContinuousConvMode
Specifies whether the conversion is performed in Continuous or Single mode.
This parameter can be set to ENABLE or DISABLE.
uint32_t ADC_InitTypeDef::ADC_Resolution
Configures the ADC resolution. This parameter can be a value of
ADC_resolution
uint32_t ADC_InitTypeDef::ADC_ExternalTrigConvEvent
Defines the external trigger used to start the analog to digital conversion of
regular channels. This parameter can be a value of
ADC_external_trigger_sources_for_regular_channels_conversion
uint32_t ADC_InitTypeDef::ADC_ExternalTrigEventEdge
Select the external trigger edge and enable the trigger of a regular group. This
parameter can be a value of
ADC_external_trigger_edge_for_regular_channels_conversion
uint32_t ADC_InitTypeDef::ADC_DataAlign
Specifies whether the ADC data alignment is left or right. This parameter can be
a value of ADC_data_align
uint32_t ADC_InitTypeDef::ADC_OverrunMode
Specifies the way data overrun are managed. This parameter can be set to
ENABLE or DISABLE.
uint32_t ADC_InitTypeDef::ADC_AutoInjMode