Example B.6 gives an example of the FIQ interrupt initialization code.
Example B.6. FIQ interrupt initialization
LDR r0, =IntCntlBase
MOV r1, #<interrupt_to_enable>
STR r1, [r0, #IntSelectOffset] ; Select FIQ interrupt and clear other FIQs
STR r1, [r0, #IntEnableOffset] ; Enable interrupt
MRS CPSR_c, #(DISABLE_IRQ + MODE_SYS_32) ; Enable FIQ interrupts