#define IS_RCC_RTCCLKSOURCE(__SOURCE__) (((__SOURCE__) == RCC_RTCCLKSOURCE_LSE) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_LSI) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV2) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV3) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV4) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV5) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV6) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV7) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV8) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV9) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV10) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV11) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV12) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV13) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV14) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV15) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV16) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV17) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV18) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV19) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV20) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV21) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV22) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV23) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV24) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV25) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV26) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV27) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV28) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV29) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV30) || \
((__SOURCE__) == RCC_RTCCLKSOURCE_HSE_DIV31))