MG32F10x Standard Peripherals Firmware Library
|
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 |
ADC Init structure definition.
FunctionalState 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_DataAlign |
Specifies whether the ADC data alignment is left or right. This parameter can be a value of ADC_data_align
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
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.
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