nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ sdc_init()

int32_t sdc_init ( sdc_fault_handler_t  fault_handler)

#include <softdevice_controller/include/sdc.h>

Initialize the SoftDevice Controller.

After this function is called, the application may use SoC APIs.

Parameters
[in]fault_handlerThe fault handler will be executed when there is an internal error in the SoftDevice Controller.
Return values
0Success
-NRF_EINVALInvalid argument provided
-NRF_EPERMUnable to initialize because
  • MPSL is not initialized
  • MPSL needs to be configured with a LFCLK accuracy of 500 ppm or better.