B.1.6. FIQ interrupt initialization

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
Copyright © 2000, 2003-2004 ARM Limited. All rights reserved.ARM DDI 0181E
Non-Confidential