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 COMP_Mode_HighSpeed   0x00000000
 
#define COMP_Mode_MediumSpeed   COMP_CSR_COMP1MODE_0
 
#define COMP_Mode_LowPower   COMP_CSR_COMP1MODE_1
 
#define COMP_Mode_UltraLowPower   COMP_CSR_COMP1MODE
 
#define IS_COMP_MODE(MODE)
 

Detailed Description

Macro Definition Documentation

#define COMP_Mode_HighSpeed   0x00000000

High Speed

#define COMP_Mode_LowPower   COMP_CSR_COMP1MODE_1

Low power mode

#define COMP_Mode_MediumSpeed   COMP_CSR_COMP1MODE_0

Medium Speed

#define COMP_Mode_UltraLowPower   COMP_CSR_COMP1MODE

Ultra-low power mode

#define IS_COMP_MODE (   MODE)
Value:
(((MODE) == COMP_Mode_UltraLowPower) || \
((MODE) == COMP_Mode_LowPower) || \
((MODE) == COMP_Mode_MediumSpeed) || \
((MODE) == COMP_Mode_HighSpeed))