/* Configure the current time and date and activate Tamper.  */
void Configure_RTC_Tamper(void)
/* Configure the current time and date and activate Tamper.  */
void Configure_RTC_Tamper(void)
{
  LL_RTC_TAMPER_EnableActiveLevel(RTC, LL_RTC_TAMPER_ACTIVELEVEL_TAMP1);
  LL_RTC_TAMPER_Enable(RTC, LL_RTC_TAMPER_1);
  LL_RTC_EnableIT_TAMP(RTC);
  NVIC_SetPriority(TAMP_STAMP_IRQn, 0x0F);
  NVIC_EnableIRQ(TAMP_STAMP_IRQn);
  LL_EXTI_EnableIT_0_31(LL_EXTI_LINE_21);
  LL_EXTI_EnableRisingTrig_0_31(LL_EXTI_LINE_21);
  LL_RTC_ClearFlag_TAMP1(RTC);
}