/* Checks whether the specified EXTI line flag is set or not.  */
FlagStatus EXTI_GetStatusFlag(uint32_t EXTI_Line)
/* Checks whether the specified EXTI line flag is set or not.  */
FlagStatus EXTI_GetStatusFlag(uint32_t EXTI_Line)
{
    FlagStatus bitstatus = RESET;
    assert_param(IS_GET_EXTI_LINE(EXTI_Line));
    if ((EXTI->PEND & EXTI_Line) != (uint32_t)RESET)
    {
        bitstatus = SET;
    }
    else
    {
        bitstatus = RESET;
    }
    return bitstatus;
}