External interrupt with ir sensor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-06-26 6:27 AM
Posted on June 26, 2015 at 15:27
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 ); } #stm8s
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-07-13 7:22 AM
Posted on July 13, 2015 at 16:22 Can any one tell me how to disable external interrupt ?
