#include <mpsl/include/mpsl.h>
MPSL initialization.
- Parameters
-
- Note
- If
CONFIG_SYSTEM_CLOCK_NO_WAIT is set to 0, never modify the SEVONPEND flag in the SCR register, while this function is executing. Doing so might lead to a deadlock.
-
For nRF54h SoC series the function always waits for LFCLK to be ready. The LFCLK is handled by system controller so response must arrive from other domain. That shall be done in non-blocking context. To do not change requirements for other MPSL APIs delayed wait for LFCLK is not allowed for the nRF54h SoC series.
-
If only Front End Module functionality is needed, Initialization API of MPSL FEM can be called instead.
- Return values
-
| 0 | MPSL is successfully initialized. |
| -NRF_EPERM | MPSL is already initialized. |
| -NRF_EINVAL | Invalid parameters supplied. |