/* Enables or disables the RTC clock to be output through the relative pin.  */
void RTC_CalibOutputCmd(FunctionalState NewState)
/* Enables or disables the RTC clock to be output through the relative pin.  */
void RTC_CalibOutputCmd(FunctionalState NewState)
{
    assert_param(IS_FUNCTIONAL_STATE(NewState));
    RTC->WPR = 0xFF;
    RTC->WPR = 0xCA;
    RTC->WPR = 0x53;
    if (NewState != DISABLE)
    {
        RTC->CR |= (uint32_t)RTC_CR_COE;
    }
    else
    {
        RTC->CR &= (uint32_t)~RTC_CR_COE;
    }
    RTC->WPR = 0xFF;
}