/* Checks whether the specified EXTI line is asserted or not.  */
ITStatus EXTI_GetITStatus(u32 line)
/* Checks whether the specified EXTI line is asserted or not.  */
ITStatus EXTI_GetITStatus(u32 line)
{
    return ((EXTI->PR & line) && (EXTI->IMR & line)) ? SET : RESET;
}