nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ mpsl_assert_handler_t

typedef void(* mpsl_assert_handler_t) (const char *const file, const uint32_t line)

#include <mpsl/include/mpsl.h>

Function prototype for the assert handler.

The assertion handler will be called whenever MPSL detects an internal error it cannot recover from. The assertion handler may be called from any execution context, including interrupt context.

The application may log the assertion information and provide the information to Nordic Semiconductor for analysis.

MPSL will disable all interrupts prior to calling the assertion handler. MPSL will reset the chip if the application returns from this function.

Parameters
[in]fileThe filename where the assertion occurred.
[in]lineThe line number where the assertion occurred.