/* 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_WriteProtectionCmd(DISABLE);
  if (NewState != DISABLE)
  {
    RTC->CR3 |= (uint8_t)RTC_CR3_COE;
  }
  else
  {
    RTC->CR3 &= (uint8_t)~RTC_CR3_COE;
  }
  RTC_WriteProtectionCmd(ENABLE);
}