/* Enables or disables the RTC clock. This function must be used only after the RTC clock was selected using the RCC_RTCCLKConfig function.  */
void RCC_RTCCLKCmd(FunctionalState state)
/* Enables or disables the RTC clock. This function must be used only after the RTC clock was selected using the RCC_RTCCLKConfig function.  */
void RCC_RTCCLKCmd(FunctionalState state)
{
    MODIFY_REG(RCC->BDCR, RCC_BDCR_RTCEN, (state << RCC_BDCR_RTCEN_Pos));
}