Disable IRQ interrupts.
This function disables IRQ interrupts by setting the I bit in the CPSR register.
Note that this function modifies the CPSR register's control field and therefore will only work when the CPU is executing in a privileged operating mode.
Example:
|