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

Macros

#define ADC_Resolution_12b   ((uint32_t)0x00000000)
 
#define ADC_Resolution_10b   ADC_CFGR1_RES_0
 
#define ADC_Resolution_8b   ADC_CFGR1_RES_1
 
#define ADC_Resolution_6b   ADC_CFGR1_RES
 
#define IS_ADC_RESOLUTION(RESOLUTION)
 

Detailed Description

Macro Definition Documentation

#define IS_ADC_RESOLUTION (   RESOLUTION)
Value:
(((RESOLUTION) == ADC_Resolution_12b) || \
((RESOLUTION) == ADC_Resolution_10b) || \
((RESOLUTION) == ADC_Resolution_8b) || \
((RESOLUTION) == ADC_Resolution_6b))