Hii
Am using ADUC7025 processor..I Wrote a program in C lanuage, I want to return from FIQ before it comes out by itself.. I tried with simple return, but not working properly..
Plz help me out...
Thanks®ards Prashanth M
The "return" statement in C will have the FIQ handler end by run whatever cleanup code that is needed. But I'm not sure what you mean by "comes out by itself" - the FIQ handler ends by running cleanup code when the execution leaves the enclosing } or when hitting a return statement. Having a huge priority, the FIQ handler should contain very little code, in which case it should end in microseconds with or without the addition of a "return" somewhere in the function. Any FIQ handler designed to consume more time will seriously affect the behaviour of other IRQ handlers.
But we can't help you unless you post real information. What does your code look like? In what way didn't it work?