nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ mpsl_clock_hfclk_release()

int32_t mpsl_clock_hfclk_release ( void )

#include <mpsl/include/mpsl_clock.h>

Releases the high frequency crystal oscillator.

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

See also
mpsl_clock_hfclk_is_running
mpsl_clock_hfclk_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.
Return values
0Success