STM32F0 Standard Peripheral bibliotheek  1.0
ST Microelectronics standard peripheral bibliotheek documentatie voor de STM32F0 familie
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
ADC_InitTypeDef Struct Reference

ADC Init structure definition. More...

#include <stm32f0xx_adc.h>

Data Fields

uint32_t ADC_Resolution
FunctionalState ADC_ContinuousConvMode
uint32_t ADC_ExternalTrigConvEdge
uint32_t ADC_ExternalTrigConv
uint32_t ADC_DataAlign
uint32_t ADC_ScanDirection

Detailed Description

ADC Init structure definition.

Field Documentation

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_channels_conversion

uint32_t ADC_ExternalTrigConvEdge
        Selects the external trigger Edge and enables the

trigger of a regular group. This parameter can be a value of ADC_external_trigger_edge_conversion

uint32_t ADC_Resolution
                  Selects the resolution of the conversion.

This parameter can be a value of ADC_Resolution

uint32_t ADC_ScanDirection
              Specifies in which direction the channels will be scanned

in the sequence. This parameter can be a value of ADC_Scan_Direction

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