mirror of https://github.com/ARMmbed/mbed-os.git
This includes a generic critical section implementation, and nrf51 platforms specific implementation. nrf51- this implementation will use sd_nvic_critical_region_enter if the softdevice is enabled, otherwise it will use __disable_irq(). This implementation also allow a user to start a critical section while interrupts are already disabled. |
||
---|---|---|
.. | ||
critical.c | ||
critical.h | ||
critical_nordic.c |