Loading...
Searching...
No Matches
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
19#ifndef CFG_CLOCK_16_1_H
20#define CFG_CLOCK_16_1_H
21
22#include "periph_cpu.h"
23
24#ifdef __cplusplus
25 extern "C" {
26#endif
27
35#define CLOCK_HFCLK (16U) /* set to 0: internal RC oscillator
36 16: 16MHz crystal
37 32: 32MHz crystal */
38/* LFCLK Source clock selection:*/
39/* - CLOCK_LFCLKSRC_SRC_RC: internal RC oscillator
40 * - CLOCK_LFCLKSRC_SRC_Xtal: 32.768 kHz crystal
41 * - CLOCK_LFCLKSRC_SRC_Synth: derived from HFCLK */
42#define CLOCK_LFCLK (CLOCK_LFCLKSRC_SRC_Xtal)
45#ifdef __cplusplus
46} /* end extern "C" */
47#endif
48
49#endif /* CFG_CLOCK_16_1_H */