AnsweredAssumed Answered

External interrupt with ir sensor

Question asked by singh.ekta on Jun 26, 2015
Latest reply on Jul 13, 2015 by singh.ekta
Hello I m trying to generate a interrupt using ir output but external interrupt is not responding.Im using stm8s003f3 and stvd .And it do respond with external interrupt as switch .


#ifdef _COSMIC_
@far @interrupt void EXTI_PORTC_IRQHandler(void)
#else /* _RAISONANCE_ */
void EXTI_PORTC_IRQHandler(void) interrupt 5
#endif /* _COSMIC_ */
    GPIO_WriteReverse(LEDS_PORT,LED1_PIN );