Hello, nice idea this forum...
question :
I understand that nested interrupt processing is not yet implemented...
but is it possible to interrupt one IRQ with one FIQ ?
if so, It would be nice to get some piece of code exemple
regards
Alain
interrupt(s)
-
- Site Admin
- Posts: 517
- Joined: Fri Dec 31, 2010 12:30 pm
- Contact:
Re: interrupt(s)
The attached demo program IRQFIQ which should run on LPC21xx and LPC22xx targets shows an IRQ being interrupted by an FIQ. It uses Timer0 to generate IRQs and Timer1 to generate FIQs. The IRQ handler stays in an infinite loop which only terminates when it is interrupted by an FIQ. If you need convincing, see what happens when you comment out the following statement in FIQTimerHandler
Note that you would have to be even more careful than usual with how you code your interrupt handlers. What exactly are you trying to do?
Code: Select all
inIRQ := FALSE;
- Attachments
-
- IRQFIQ.zip
- IRQFIQ.mod: Interrupting an IRQ with an FIQ
- (1.27 KiB) Downloaded 2427 times
Re: interrupt(s)
Congratulation for your reactivity... I'll study your code carefully
re: what i am trying to do ?: have timekeeping under IRQ and (fugitive) event capture with FIQ
regards
Alain
re: what i am trying to do ?: have timekeeping under IRQ and (fugitive) event capture with FIQ
regards
Alain