MG32F10x Standard Peripherals Firmware Library
Data Fields
ADC_InitTypeDef Struct Reference

ADC Init structure definition. More...

#include <mg32f10x_adc.h>

Data Fields

FunctionalState ADC_ScanConvMode
 
FunctionalState ADC_ContinuousConvMode
 
uint32_t ADC_ExternalTrigConv
 
uint32_t ADC_DataAlign
 
uint8_t ADC_NbrOfChannel
 

Detailed Description

ADC Init structure definition.

Field Documentation

◆ ADC_ContinuousConvMode

FunctionalState ADC_ContinuousConvMode

Specifies whether the conversion is performed in Continuous or Single mode. This parameter can be set to ENABLE or DISABLE.

◆ ADC_DataAlign

uint32_t ADC_DataAlign

Specifies whether the ADC data alignment is left or right. This parameter can be a value of ADC_data_align

◆ ADC_ExternalTrigConv

uint32_t ADC_ExternalTrigConv

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

◆ ADC_NbrOfChannel

uint8_t ADC_NbrOfChannel

Specifies the number of ADC channels that will be converted using the sequencer for regular channel group. This parameter must range from 1 to 16.

◆ ADC_ScanConvMode

FunctionalState ADC_ScanConvMode

Specifies whether the conversion is performed in Scan (multichannels) or Single (one channel) mode. This parameter can be set to ENABLE or DISABLE


The documentation for this struct was generated from the following file: