2015-06-26 06:27 AM
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 .
EXTI_SetExtIntSensitivity(EXTI_PORT_GPIOC,EXTI_SENSITIVITY_RISE_FALL ); &sharpifdef _COSMIC_ @far @interrupt void EXTI_PORTC_IRQHandler(void) &sharpelse /* _RAISONANCE_ */ void EXTI_PORTC_IRQHandler(void) interrupt 5 &sharpendif /* _COSMIC_ */ { GPIO_WriteReverse(LEDS_PORT,LED1_PIN ); } #stm8s2015-07-13 07:22 AM