nRF Connect SDK API 2.8.99
|
int32_t mpsl_lib_uninit | ( | void | ) |
#include <include/mpsl/mpsl_lib.h>
Uninitialize MPSL and disable interrupt handlers.
This routine uninitializes MPSL (via mpsl_uninit
) and disables MPSL interrupts. Uninitializing MPSL stops clocks and scheduler. This will release all peripherals and reduce power usage, allowing the user to override any interrupt handlers used by MPSL.
irq_connect_dynamic
. Care must be taken when developing these handlers, as they will be executed as direct dynamic interrupts. See ARM_IRQ_DIRECT_DYNAMIC_CONNECT
for additional documentation. These interrupts will trigger thread re-scheduling upon return.0 | MPSL disabled successfully. |
-NRF_EPERM | Operation is not supported. |