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