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 RCC_FLAG_HSIRDY   ((uint8_t)0x01)
 
#define RCC_FLAG_HSERDY   ((uint8_t)0x11)
 
#define RCC_FLAG_PLLRDY   ((uint8_t)0x19)
 
#define RCC_FLAG_LSERDY   ((uint8_t)0x21)
 
#define RCC_FLAG_LSIRDY   ((uint8_t)0x41)
 
#define RCC_FLAG_V18PWRRSTF   ((uint8_t)0x57)
 
#define RCC_FLAG_OBLRST   ((uint8_t)0x59)
 
#define RCC_FLAG_PINRST   ((uint8_t)0x5A)
 
#define RCC_FLAG_PORRST   ((uint8_t)0x5B)
 
#define RCC_FLAG_SFTRST   ((uint8_t)0x5C)
 
#define RCC_FLAG_IWDGRST   ((uint8_t)0x5D)
 
#define RCC_FLAG_WWDGRST   ((uint8_t)0x5E)
 
#define RCC_FLAG_LPWRRST   ((uint8_t)0x5F)
 
#define RCC_FLAG_HSI14RDY   ((uint8_t)0x61)
 
#define IS_RCC_FLAG(FLAG)
 
#define IS_RCC_HSI_CALIBRATION_VALUE(VALUE)   ((VALUE) <= 0x1F)
 
#define IS_RCC_HSI14_CALIBRATION_VALUE(VALUE)   ((VALUE) <= 0x1F)
 

Detailed Description

Macro Definition Documentation

#define IS_RCC_FLAG (   FLAG)
Value:
(((FLAG) == RCC_FLAG_HSIRDY) || ((FLAG) == RCC_FLAG_HSERDY) || \
((FLAG) == RCC_FLAG_PLLRDY) || ((FLAG) == RCC_FLAG_LSERDY) || \
((FLAG) == RCC_FLAG_LSIRDY) || ((FLAG) == RCC_FLAG_OBLRST) || \
((FLAG) == RCC_FLAG_PINRST) || ((FLAG) == RCC_FLAG_PORRST) || \
((FLAG) == RCC_FLAG_SFTRST) || ((FLAG) == RCC_FLAG_IWDGRST)|| \
((FLAG) == RCC_FLAG_WWDGRST) || ((FLAG) == RCC_FLAG_LPWRRST)|| \
((FLAG) == RCC_FLAG_HSI14RDY)|| ((FLAG) == RCC_FLAG_V18PWRRSTF))