WB32L003 Standard Peripherals Firmware Library

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

ADC Init structure definition 更多...

`#include <wb32l003_adc.h>`

## 成员变量
uint32_t | ADC_SamplingTime
uint32_t | ADC_SingleChannelSel
uint32_t | ADC_ClkSel
uint32_t | ADC_SingleContinueMode
uint32_t | ADC_AutoAccumulation
uint32_t | ADC_CircleMode
uint32_t | ADC_ConversionTimes
uint32_t | ADC_ContinueChannelSel
uint32_t | ADC_ExternalTrigConv1
uint32_t | ADC_ExternalTrigConv2

## 详细描述

ADC Init structure definition

## 结构体成员变量说明

## ◆ ADC_AutoAccumulation

uint32_t ADC_AutoAccumulation

Specifies ADC conversion result auto accumulation. This parameter can be a value of ADC_Auto_Accumulation

## ◆ ADC_CircleMode

uint32_t ADC_CircleMode

Specifies whether the conversion is performed in circle mode or normal mode for multichannel This parameter can be a value of ADC_Circle_Mode_Selection

## ◆ ADC_ClkSel

uint32_t ADC_ClkSel

Specifies ADC clock select. This parameter can be a value of ADC_Clock_Selection

## ◆ ADC_ContinueChannelSel

uint32_t ADC_ContinueChannelSel

Specifies channels to be converted in multchannel conversion mode. This parameter can be a value of ADC_Continue_Channel_Selection

## ◆ ADC_ConversionTimes

uint32_t ADC_ConversionTimes

Specifies the number of all channels' conversions in continue mode. This parameter can be a value between 0x00 to 0xFF

## ◆ ADC_ExternalTrigConv1

uint32_t ADC_ExternalTrigConv1

Selects the external interrupt 1 used to trigger the conversion. If set to ADC_SOFTWARE_START, external triggers are disabled. If set to external trigger source, triggering is on interrupt flag rising edge. This parameter can be a value of ADC_External_Trigger_Source1_Selection

## ◆ ADC_ExternalTrigConv2

uint32_t ADC_ExternalTrigConv2

Selects the external interrupt 2 used to trigger the conversion. If set to ADC_SOFTWARE_START, external triggers are disabled. If set to external trigger source, triggering is on interrupt flag rising edge. This parameter can be a value of ADC_External_Trigger_Source2_Selection

## ◆ ADC_SamplingTime

uint32_t ADC_SamplingTime

Specifies ADC sample time. This parameter can be a value of ADC_Sample_Duty

## ◆ ADC_SingleChannelSel

uint32_t ADC_SingleChannelSel

Specifies ADC channel select in single conversion mode. This parameter can be a value of ADC_Single_Channel_Selection

## ◆ ADC_SingleContinueMode

uint32_t ADC_SingleContinueMode

Specifies ADC single/continue converstion mode select. This parameter can be a value of ADC_Single/Continue_Mode_Selection

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

- wb32l003_adc.h