2013-01-16 08:20 PM
Hi all,
I want to use a multiple interrupts on the single EXTI line. In my case I want to handle interrupts of PF8 and PG8 pins on EXTI_Line8 so how can i do that? Do you have any sample code for that? When I initially define EXTI_Line8 for both pins PF8 and PG8 then my device get stuck in EXTI_GetITStatus function, I think controller is unable to identify EXTI_Line8 for both pins. So how can I handle that? Thanks & Regards Jonam2013-01-16 08:53 PM
You'll need to gate it externally, or use a priority decoder. Or use different pins.
Someone asked a similar question the other week.2013-01-16 09:20 PM
Hi clive1,
Thanks for your reply. How can i get it externally? I cant use different pin.2013-01-16 09:33 PM
Cant we handle it from software side?
2013-01-17 04:52 AM
Cant we handle it from software side?
You could poll them in a SysTick interrupt. In hardware you could OR high going signals externally into a single pin, a then have the other pin look at one of the sources.2013-01-19 03:54 AM