/* Checks whether the specified EXTI line is asserted or not.  */
INTStatus EXTI_GetITStatus(uint32_t EXTI_Line)
/* Checks whether the specified EXTI line is asserted or not.  */
INTStatus EXTI_GetITStatus(uint32_t EXTI_Line)
{
    INTStatus bitstatus   = RESET;
    uint32_t enablestatus = 0;
    assert_param(IS_GET_EXTI_LINE(EXTI_Line));
    enablestatus = EXTI->IMASK & EXTI_Line;
    if (((EXTI->PEND & EXTI_Line) != (uint32_t)RESET) && (enablestatus != (uint32_t)RESET))
    {
        bitstatus = SET;
    }
    else
    {
        bitstatus = RESET;
    }
    return bitstatus;
}