/* get EXTI lines flag when the interrupt flag is set  */
FlagStatus exti_interrupt_flag_get(exti_line_enum linex)
/* get EXTI lines flag when the interrupt flag is set  */
FlagStatus exti_interrupt_flag_get(exti_line_enum linex)
{
    if((RESET != (EXTI_PD & linex)) && (RESET != (EXTI_INTEN & linex))){
        return SET;
    }else{
        return RESET;
    }
}