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