Hi,
We are using LPC2378 controller for our application.
we written the ISR for power fail, when ever the voltage reduces the below certain voltage, it generates the IRQ, and interrupt handler completing it's functionality.
Upto now it is OK.
after completing the ISR, And the power still is available to the contoller than it is not going to main loop.
after serving the IRQ it has go back to the main routuine,can anbody inform me what might be the problem?
Regards, P.Mahesh
Still difficult to read your code due to the lack of tags.
Using printf in an ISR is rarely a good idea.
Try doing something simple in the ISR, like toggle a port pin.