![]() |
nrfxlib API 3.3.99
|
| 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.
| [in] | file | The filename where the assertion occurred. |
| [in] | line | The line number where the assertion occurred. |