![]() |
nrfxlib API 3.3.99
|
| int32_t mpsl_clock_ctrl_source_register | ( | const mpsl_clock_lfclk_ctrl_source_t * | p_lfclk_ctrl_source, |
| const mpsl_clock_hfclk_ctrl_source_t * | p_hfclk_ctrl_source ) |
#include <mpsl/include/mpsl_clock.h>
Register an external clock driver.
When this API is called, MPSL will use an external clock driver instead of the built-in clock driver.
The API is supported for nRF54h series. It is experimental for nRF52, nRF53 series.
| [in] | p_lfclk_ctrl_source | A pointer to struct holding the API to LFCLK control. |
| [in] | p_hfclk_ctrl_source | A pointer to struct holding the API to HFCLK control. |
| 0 | Clock control API is successfully registered. |
| -NRF_EPERM | Clock control API is already initialized. |
| -NRF_EINVAL | Invalid parameters supplied. |