cfg_clock_16_1.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2018 Inria
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 
21 #include "periph_cpu.h"
22 
23 #ifdef __cplusplus
24  extern "C" {
25 #endif
26 
34 #define CLOCK_HFCLK (16U) /* set to 0: internal RC oscillator
35  16: 16MHz crystal
36  32: 32MHz crystal */
37 /* LFCLK Source clock selection:*/
38 /* - CLOCK_LFCLKSRC_SRC_RC: internal RC oscillator
39  * - CLOCK_LFCLKSRC_SRC_Xtal: 32.768 kHz crystal
40  * - CLOCK_LFCLKSRC_SRC_Synth: derived from HFCLK */
41 #define CLOCK_LFCLK (CLOCK_LFCLKSRC_SRC_Xtal)
44 #ifdef __cplusplus
45 } /* end extern "C" */
46 #endif
47