CrossWorks CTL and interrupt handling

I'm newish to Crossworks/CTL and need to confirm my understanding of th IRQ and FIQ stuff.

So the question is...

CTL redirects the IRQ handler to its own handler for ALL IR interrupts(correct?), where it calls the ISR in question and then CTL tas handler stuff. If this is so, and I want to have a fast response to an EINT0 externa interrupt then I have no choice but to accept the overhead of the CT tasking stuff, or use the FIQ. (correct?)

So if I have several external interrupts (eg EINT0..3) then I need t handle this and redirect in the FIQ?

Is there anyway to just have the CTL task stuff work off a timer IRQ an leave the remaining ISRs to redirect directly using the normla VIC route?

That all (for now), but some sample code would be really appreciated.

cheers Mark

Reply to
marks65
Loading thread data ...

Actually, no. CTL tasking is separate from interrupt management. If you look in the VIC support code we provide you will see that if you are not using the tasking library then a lot of code is cut out by #ifdefs.

You don't *need* to do this.

Take a look at the sources which happen to be provided in the NXP support package and see for yourself.

-- Paul.

Reply to
Paul Curtis

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.