![]() |
EVE 1.0
|
Fast version of nRF soft-device-friendly critical regions. Original Nordic critical region implementation masks user interrupts in NVIC, which is a perfectly fine, but quite slow method. This implementation uses other approach: it disables application interrupts via BASEPRI register, which is much faster. High-priority softdevice interrupts are not affected. More...
#include <app_util_platform.h>
#include <app_util.h>
#include <lib/assert.h>
Go to the source code of this file.
Fast version of nRF soft-device-friendly critical regions. Original Nordic critical region implementation masks user interrupts in NVIC, which is a perfectly fine, but quite slow method. This implementation uses other approach: it disables application interrupts via BASEPRI register, which is much faster. High-priority softdevice interrupts are not affected.
Definition in file critreg.c.