STM32F37 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F37 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups

Macros

#define SDADC_VREF_Ext   ((uint32_t)0x00000000)
 
#define SDADC_VREF_VREFINT1   SDADC_CR1_REFV_0
 
#define SDADC_VREF_VREFINT2   SDADC_CR1_REFV_1
 
#define SDADC_VREF_VDDA   SDADC_CR1_REFV
 
#define IS_SDADC_VREF(VREF)
 

Detailed Description

Macro Definition Documentation

#define IS_SDADC_VREF (   VREF)
Value:
(((VREF) == SDADC_VREF_Ext) || \
((VREF) == SDADC_VREF_VREFINT1) || \
((VREF) == SDADC_VREF_VREFINT2) || \
((VREF) == SDADC_VREF_VDDA))
#define SDADC_VREF_Ext   ((uint32_t)0x00000000)

The reference voltage is forced externally using VREF pin

#define SDADC_VREF_VDDA   SDADC_CR1_REFV

The reference voltage is forced internally to VDDA

#define SDADC_VREF_VREFINT1   SDADC_CR1_REFV_0

The reference voltage is forced internally to 1.22V VREFINT

#define SDADC_VREF_VREFINT2   SDADC_CR1_REFV_1

The reference voltage is forced internally to 1.8V VREFINT