Showing changes from revision #1 to #2:
Added | Removed | Changed
int HAL_IRQDisable(int device)
Entry | |
---|---|
device | Device number to disable interrupts for |
Exit | |
---|---|
0 | Interrupts were previously disabled for this device |
non-zero | Interrupts were previously enabled for this device |
Modifies the interrupt controller so that the ARM does not receive an IRQ when device generates an interrupt. For interrupt controllers that require prompting on when to start looking for new interrupt causes, if device is currently interrupting then this call must also trigger the interrupt controller to begin scanning for new interrupts (ensuring that RISC OS wonn’t won’t receive an interrupt from this device until it is enabled again)