/* Enables or Disables the Precharge of Tamper pin.  */
void RTC_TamperPullUpCmd(FunctionalState NewState)
/* Enables or Disables the Precharge of Tamper pin.  */
void RTC_TamperPullUpCmd(FunctionalState NewState)
{
  assert_param(IS_FUNCTIONAL_STATE(NewState));
 if (NewState != DISABLE)
  {
    RTC->TAFCR &= (uint32_t)~RTC_TAFCR_TAMPPUDIS;
  }
  else
  {
    RTC->TAFCR |= (uint32_t)RTC_TAFCR_TAMPPUDIS;
  }
}