/* Checks whether the specified EXTI line flag is set or not.  */
FlagStatus EXTI_GetFlagStatus(u32 line)
/* Checks whether the specified EXTI line flag is set or not.  */
FlagStatus EXTI_GetFlagStatus(u32 line)
{
    return (EXTI->PR & line) ? SET : RESET;
}