Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
clk_conf.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2020 Inria
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser General
5
* Public License v2.1. See the file LICENSE in the top level directory for more
6
* details.
7
*/
8
19
#ifndef CLK_CLK_CONF_H
20
#define CLK_CLK_CONF_H
21
22
#include "
kernel_defines.h
"
23
#include "
macros/units.h
"
24
25
#if defined(CPU_FAM_STM32F0)
26
#include "
f0/cfg_clock_default.h
"
27
#elif defined(CPU_FAM_STM32F1) || defined(CPU_FAM_STM32F3)
28
#include "
f1f3/cfg_clock_default.h
"
29
#elif defined(CPU_FAM_STM32F2) || defined(CPU_FAM_STM32F4) || \
30
defined(CPU_FAM_STM32F7)
31
#include "
f2f4f7/cfg_clock_default.h
"
32
#elif defined(CPU_FAM_STM32G0)
33
#include "
g0/cfg_clock_default.h
"
34
#elif defined(CPU_FAM_STM32G4)
35
#include "
g4/cfg_clock_default.h
"
36
#elif defined(CPU_FAM_STM32L0) || defined(CPU_FAM_STM32L1)
37
#include "
l0l1/cfg_clock_default.h
"
38
#elif defined(CPU_FAM_STM32L4) || defined(CPU_FAM_STM32L5) || \
39
defined(CPU_FAM_STM32WB)
40
#include "
l4l5wb/cfg_clock_default.h
"
41
#elif defined(CPU_FAM_STM32MP1)
42
#include "
mp1/cfg_clock_default.h
"
43
#else
44
#error "No clock configuration available"
45
#endif
46
47
#ifdef __cplusplus
48
extern
"C"
{
49
#endif
50
51
#ifdef __cplusplus
52
}
53
#endif
54
55
#endif
/* CLK_CLK_CONF_H */
56
cfg_clock_default.h
Main header for STM32F2/F4/F7 clock configuration.
kernel_defines.h
Common macros and compiler attributes/pragmas configuration.
cfg_clock_default.h
Configure STM32G4 clock.
cfg_clock_default.h
Configure STM32G0 clock.
cfg_clock_default.h
Default clock configuration for STM32F1/F3.
cfg_clock_default.h
Main header for STM32MP1 clock configuration.
cfg_clock_default.h
Default STM32L4 clock configuration.
cfg_clock_default.h
Default STM32L0/STM32L1 clock configuration.
units.h
Unit helper macros.
cfg_clock_default.h
Default clock configuration for STM32F0.
Generated on Tue Nov 24 2020 19:46:50 by
1.8.17