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
19#ifndef NRF_CLOCK_H
20#define NRF_CLOCK_H
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
31#ifndef CLOCK_HFXO_ONBOOT
32#define CLOCK_HFXO_ONBOOT 0
33#endif
34
39void clock_init_hf(void);
40
46
52
59void clock_start_lf(void);
60
66void clock_stop_lf(void);
67
68#ifdef __cplusplus
69}
70#endif
71
72#endif /* NRF_CLOCK_H */
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.