/* Enables or disables the RTC clock to be output through the relative pin.  */
void RTC_EnableCalibOutput(FunctionalState Cmd)
/* Enables or disables the RTC clock to be output through the relative pin.  */
void RTC_EnableCalibOutput(FunctionalState Cmd)
{
    assert_param(IS_FUNCTIONAL_STATE(Cmd));
    RTC->WRP = 0xCA;
    RTC->WRP = 0x53;
    if (Cmd != DISABLE)
    {
       RTC->CTRL |= (uint32_t)RTC_CTRL_COEN;
    }
    else
    {
       RTC->CTRL &= (uint32_t)~RTC_CTRL_COEN;
    }
    RTC->WRP = 0xFF;
}