/* Checks whether the Tamper Pin Interrupt has occurred or not.  */
ITStatus BKP_GetITStatus(void)
/* Checks whether the Tamper Pin Interrupt has occurred or not.  */
ITStatus BKP_GetITStatus(void)
{
    return ((BKP->CSR & BKP_CSR_TIF) ? SET : RESET);
}