MG32F10x Standard Peripherals Firmware Library

成员变量
ADC_InitTypeDef结构体 参考
MG32F10x_StdPeriph_Driver » ADC

ADC Init structure definition 更多...

`#include <mg32f10x_adc.h>`

## 成员变量
FunctionalState | ADC_ScanConvMode
FunctionalState | ADC_ContinuousConvMode
uint32_t | ADC_ExternalTrigConv
uint32_t | ADC_DataAlign
uint8_t | ADC_NbrOfChannel

## 详细描述

ADC Init structure definition

## 结构体成员变量说明

## ◆ 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

该结构体的文档由以下文件生成:

- mg32f10x_adc.h