Do I need to do anything special to implement a FIQ interrupt service routine in C?
You will need to write the fiq handler in ARM assembly code. You will need to import the device specific _startup.s and crt0.s files into your project. In the crt0.s file you can set the initial values of the FIQ banked registers. In the device specific _startup.s file you can write your fiq_handler.
Your application code will need to program the interrupt controller of the device and call libarm_enable_fiq.
Please sign in to leave a comment.