/* this function handles External lines 21 and 22 interrupt exception  */
void ADC_CMP_IRQHandler(void)
/* this function handles External lines 21 and 22 interrupt exception  */
void ADC_CMP_IRQHandler(void)
{
    if((RESET != exti_interrupt_flag_get(EXTI_21)) || RESET != (exti_interrupt_flag_get(EXTI_22))){
        SystemInit();
        check_state();
        exti_interrupt_flag_clear(EXTI_21);
        exti_interrupt_flag_clear(EXTI_22);
    }
}