INTERRUPTS_OFF (Compact 2013)
3/28/2014
This function disables all interrupts.
Syntax
VOID INTERRUPTS_OFF (void);
Parameters
None.
Return Value
None.
Remarks
This function is available to OEM adaption layer (OAL) routines so that they can perform critical operations without being interrupted. For example, you can disable interrupts while updating two parts of a device register.
When synchronizing real-time clock (RTC) routines, critical sections should be used instead of interrupts.
Requirements
Header |
nkintr.h |
Library |
Nk.lib |