![]() |
nrfxlib API 3.3.99
|
| int32_t mpsl_clock_hfclk_src_request | ( | mpsl_clock_hfclk_src_t | src, |
| mpsl_clock_hfclk_request_callback_t | hfclk_started_callback ) |
#include <mpsl/include/mpsl_clock.h>
Request a high frequency clock with a given source.
Will start the high frequency clock with a given source, the startup time of the clock varies and the mpsl_clock_hfclk_src_is_running function can be polled to check if it has started.
| [in] | src | The high frequency clock source requested. |
| [in] | hfclk_started_callback | The callback to be called when the high frequency clock is started. If the function is called multiple times before the clock is started, the callback will be superseded by the last callback. |
| 0 | Success, negative value in case of failure. |