Nut/OS  5.0.5
API Reference
RCC_Flag
Collaboration diagram for RCC_Flag:

Defines

#define RCC_FLAG_HSIRDY   ((uint8_t)0x21)
#define RCC_FLAG_HSERDY   ((uint8_t)0x31)
#define RCC_FLAG_PLLRDY   ((uint8_t)0x39)
#define RCC_FLAG_LSERDY   ((uint8_t)0x41)
#define RCC_FLAG_LSIRDY   ((uint8_t)0x61)
#define RCC_FLAG_PINRST   ((uint8_t)0x7A)
#define RCC_FLAG_PORRST   ((uint8_t)0x7B)
#define RCC_FLAG_SFTRST   ((uint8_t)0x7C)
#define RCC_FLAG_IWDGRST   ((uint8_t)0x7D)
#define RCC_FLAG_WWDGRST   ((uint8_t)0x7E)
#define RCC_FLAG_LPWRRST   ((uint8_t)0x7F)
#define IS_RCC_FLAG(FLAG)
#define IS_RCC_CALIBRATION_VALUE(VALUE)   ((VALUE) <= 0x1F)
#define RCC_FLAG_HSIRDY   ((uint8_t)0x21)
#define RCC_FLAG_HSERDY   ((uint8_t)0x31)
#define RCC_FLAG_PLLRDY   ((uint8_t)0x39)
#define RCC_FLAG_PLLI2SRDY   ((uint8_t)0x3B)
#define RCC_FLAG_LSERDY   ((uint8_t)0x41)
#define RCC_FLAG_LSIRDY   ((uint8_t)0x61)
#define RCC_FLAG_BORRST   ((uint8_t)0x79)
#define RCC_FLAG_PINRST   ((uint8_t)0x7A)
#define RCC_FLAG_PORRST   ((uint8_t)0x7B)
#define RCC_FLAG_SFTRST   ((uint8_t)0x7C)
#define RCC_FLAG_IWDGRST   ((uint8_t)0x7D)
#define RCC_FLAG_WWDGRST   ((uint8_t)0x7E)
#define RCC_FLAG_LPWRRST   ((uint8_t)0x7F)
#define IS_RCC_FLAG(FLAG)
#define IS_RCC_CALIBRATION_VALUE(VALUE)   ((VALUE) <= 0x1F)
#define RCC_FLAG_HSIRDY   ((uint8_t)0x21)
#define RCC_FLAG_HSERDY   ((uint8_t)0x31)
#define RCC_FLAG_PLLRDY   ((uint8_t)0x39)
#define RCC_FLAG_PLLI2SRDY   ((uint8_t)0x3B)
#define RCC_FLAG_LSERDY   ((uint8_t)0x41)
#define RCC_FLAG_LSIRDY   ((uint8_t)0x61)
#define RCC_FLAG_BORRST   ((uint8_t)0x79)
#define RCC_FLAG_PINRST   ((uint8_t)0x7A)
#define RCC_FLAG_PORRST   ((uint8_t)0x7B)
#define RCC_FLAG_SFTRST   ((uint8_t)0x7C)
#define RCC_FLAG_IWDGRST   ((uint8_t)0x7D)
#define RCC_FLAG_WWDGRST   ((uint8_t)0x7E)
#define RCC_FLAG_LPWRRST   ((uint8_t)0x7F)
#define IS_RCC_FLAG(FLAG)
#define IS_RCC_CALIBRATION_VALUE(VALUE)   ((VALUE) <= 0x1F)
#define RCC_FLAG_HSIRDY   ((uint8_t)0x21)
#define RCC_FLAG_MSIRDY   ((uint8_t)0x29)
#define RCC_FLAG_HSERDY   ((uint8_t)0x31)
#define RCC_FLAG_PLLRDY   ((uint8_t)0x39)
#define RCC_FLAG_LSERDY   ((uint8_t)0x49)
#define RCC_FLAG_LSECSS   ((uint8_t)0x4A)
#define RCC_FLAG_LSIRDY   ((uint8_t)0x41)
#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 IS_RCC_FLAG(FLAG)
#define IS_RCC_HSI_CALIBRATION_VALUE(VALUE)   ((VALUE) <= 0x1F)
#define IS_RCC_MSI_CALIBRATION_VALUE(VALUE)   ((VALUE) <= 0x3F)

Define Documentation

#define RCC_FLAG_HSIRDY   ((uint8_t)0x21)
#define RCC_FLAG_HSERDY   ((uint8_t)0x31)

Referenced by RCC_WaitForHSEStartUp().

#define RCC_FLAG_PLLRDY   ((uint8_t)0x39)
#define RCC_FLAG_LSERDY   ((uint8_t)0x41)
#define RCC_FLAG_LSIRDY   ((uint8_t)0x61)
#define RCC_FLAG_PINRST   ((uint8_t)0x7A)
#define RCC_FLAG_PORRST   ((uint8_t)0x7B)
#define RCC_FLAG_SFTRST   ((uint8_t)0x7C)
#define RCC_FLAG_IWDGRST   ((uint8_t)0x7D)
#define RCC_FLAG_WWDGRST   ((uint8_t)0x7E)
#define RCC_FLAG_LPWRRST   ((uint8_t)0x7F)
#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_PINRST) || \
                            ((FLAG) == RCC_FLAG_PORRST) || ((FLAG) == RCC_FLAG_SFTRST) || \
                            ((FLAG) == RCC_FLAG_IWDGRST)|| ((FLAG) == RCC_FLAG_WWDGRST)|| \
                            ((FLAG) == RCC_FLAG_LPWRRST))

Referenced by RCC_GetFlagStatus().

#define IS_RCC_CALIBRATION_VALUE (   VALUE)    ((VALUE) <= 0x1F)
#define RCC_FLAG_HSIRDY   ((uint8_t)0x21)
#define RCC_FLAG_HSERDY   ((uint8_t)0x31)
#define RCC_FLAG_PLLRDY   ((uint8_t)0x39)
#define RCC_FLAG_PLLI2SRDY   ((uint8_t)0x3B)
#define RCC_FLAG_LSERDY   ((uint8_t)0x41)
#define RCC_FLAG_LSIRDY   ((uint8_t)0x61)
#define RCC_FLAG_BORRST   ((uint8_t)0x79)
#define RCC_FLAG_PINRST   ((uint8_t)0x7A)
#define RCC_FLAG_PORRST   ((uint8_t)0x7B)
#define RCC_FLAG_SFTRST   ((uint8_t)0x7C)
#define RCC_FLAG_IWDGRST   ((uint8_t)0x7D)
#define RCC_FLAG_WWDGRST   ((uint8_t)0x7E)
#define RCC_FLAG_LPWRRST   ((uint8_t)0x7F)
#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_BORRST) || \
                           ((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_PLLI2SRDY))
#define IS_RCC_CALIBRATION_VALUE (   VALUE)    ((VALUE) <= 0x1F)
#define RCC_FLAG_HSIRDY   ((uint8_t)0x21)
#define RCC_FLAG_HSERDY   ((uint8_t)0x31)
#define RCC_FLAG_PLLRDY   ((uint8_t)0x39)
#define RCC_FLAG_PLLI2SRDY   ((uint8_t)0x3B)
#define RCC_FLAG_LSERDY   ((uint8_t)0x41)
#define RCC_FLAG_LSIRDY   ((uint8_t)0x61)
#define RCC_FLAG_BORRST   ((uint8_t)0x79)
#define RCC_FLAG_PINRST   ((uint8_t)0x7A)
#define RCC_FLAG_PORRST   ((uint8_t)0x7B)
#define RCC_FLAG_SFTRST   ((uint8_t)0x7C)
#define RCC_FLAG_IWDGRST   ((uint8_t)0x7D)
#define RCC_FLAG_WWDGRST   ((uint8_t)0x7E)
#define RCC_FLAG_LPWRRST   ((uint8_t)0x7F)
#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_BORRST) || \
                           ((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_PLLI2SRDY))
#define IS_RCC_CALIBRATION_VALUE (   VALUE)    ((VALUE) <= 0x1F)
#define RCC_FLAG_HSIRDY   ((uint8_t)0x21)
#define RCC_FLAG_MSIRDY   ((uint8_t)0x29)
#define RCC_FLAG_HSERDY   ((uint8_t)0x31)
#define RCC_FLAG_PLLRDY   ((uint8_t)0x39)
#define RCC_FLAG_LSERDY   ((uint8_t)0x49)
#define RCC_FLAG_LSECSS   ((uint8_t)0x4A)
#define RCC_FLAG_LSIRDY   ((uint8_t)0x41)
#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 IS_RCC_FLAG (   FLAG)
Value:
(((FLAG) == RCC_FLAG_HSIRDY) || ((FLAG) == RCC_FLAG_HSERDY) || \
                           ((FLAG) == RCC_FLAG_MSIRDY) || ((FLAG) == RCC_FLAG_PLLRDY) || \
                           ((FLAG) == RCC_FLAG_LSERDY) || ((FLAG) == RCC_FLAG_LSIRDY) || \
                           ((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_WWDGRST)|| ((FLAG) == RCC_FLAG_LSECSS))
#define IS_RCC_HSI_CALIBRATION_VALUE (   VALUE)    ((VALUE) <= 0x1F)
#define IS_RCC_MSI_CALIBRATION_VALUE (   VALUE)    ((VALUE) <= 0x3F)