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

◆ mpsl_clock_hfclk_src_release()

int32_t mpsl_clock_hfclk_src_release ( mpsl_clock_hfclk_src_t src)

#include <mpsl/include/mpsl_clock.h>

Releases a high frequency clock for a given source.

Indicates that the high frequency clock for a given source is not needed by the application. MPSL may continue to use the high frequency clock if it is a source requested by protocol stacks. MPSL will automatically turn it off when it is no longer needed.

See also
mpsl_clock_hfclk_src_is_running
mpsl_clock_hfclk_src_request
Note
Don't use this API if the integration layer of MPSL provides a driver that uses this function. This is the case for applications in the nRF Connect SDK where there is a clock control driver with a corresponding on/off manager.
This API is not supported when an external clock driver has been registered.
Parameters
[in]srcThe high frequency clock source to release.
Return values
0Success