/* 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 NewState)
/* 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 NewState)
{
  assert_param(IS_FUNCTIONAL_STATE(NewState));
  if (NewState != DISABLE)
  {
    RCC->BDCR |= 0x00008000;
  }
  else
  {
    RCC->BDCR &= 0xffff7fff;
  }
}