Loading...
Searching...
No Matches
nrf_clock.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2017 Freie Universität Berlin
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
27#ifndef CLOCK_HFXO_ONBOOT
28#define CLOCK_HFXO_ONBOOT 0
29#endif
30
35void clock_init_hf(void);
36
42
48
55void clock_start_lf(void);
56
62void clock_stop_lf(void);
63
64#ifdef __cplusplus
65}
66#endif
67
void clock_hfxo_request(void)
Request the external high frequency crystal (HFXO) as HF clock source.
void clock_stop_lf(void)
Stop the low frequency clock (LFCLK)
void clock_init_hf(void)
Initialize the high frequency clock (HFCLK) as configured in the board's periph_conf....
void clock_hfxo_release(void)
Release the use of the HFXO.
void clock_start_lf(void)
Start the low frequency clock (LFCLK) as configured in the board's periph_conf.