Loading...
Searching...
No Matches
nrf_clock.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2017 Freie Universität Berlin
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
9#pragma once
10
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
30#ifndef CLOCK_HFXO_ONBOOT
31#define CLOCK_HFXO_ONBOOT 0
32#endif
33
38void clock_init_hf(void);
39
45
51
58void clock_start_lf(void);
59
65void clock_stop_lf(void);
66
67#ifdef __cplusplus
68}
69#endif
70
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.