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

◆ sdc_fault_handler_t

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

#include <softdevice_controller/include/sdc.h>

Function prototype for the assertion handler.

The assertion handler will be called whenever the SoftDevice Controller 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.

The SoftDevice Controller will disable all interrupts prior to calling the assertion handler. The SoftDevice Controller 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.