Synopsis
int libarm_set_fiq(int enable);
Description

enable — If non-zero FIQ interrupts will be enabled, otherwise they will be disabled.

libarm_set_fiq returns — The FIQ enable state prior to enabling the FIQ interrupt.

This function enables or disables FIQ interrupts. It modifies the CPSR register's control field and therefore will only work when the CPU is executing in a privileged operating mode.

Example
// Enable FIQ interrupts
libarm_set_fiq(1); // Disable FIQ interrupts
libarm_set_fiq(0);