Critical Section
These functions can be used to guard regions of the code that can not be interrupted by the OS.
nrk_int_disable
| void nrk_int_disable() |
| Parameters: none |
| Return Values: none |
This function disables global interrupts. Only use this function if you know what you are doing! This will stop the OS timer tick and hence can be used to guard critical sections.
nrk_int_enable
| void nrk_int_enable() |
| Parameters: none |
| Return Values: none |
This function enables global interrupts.
