Loading...
Searching...
No Matches
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#if defined(CPU_FAM_STM32F0) || defined(CPU_FAM_STM32F1) || \
23 defined(CPU_FAM_STM32F3)
25#elif defined(CPU_FAM_STM32F2) || defined(CPU_FAM_STM32F4) || \
26 defined(CPU_FAM_STM32F7)
28#elif defined(CPU_FAM_STM32G0) || defined(CPU_FAM_STM32G4)
30#elif defined(CPU_FAM_STM32C0)
32#elif defined(CPU_FAM_STM32L0) || defined(CPU_FAM_STM32L1)
34#elif defined(CPU_FAM_STM32L4) || defined(CPU_FAM_STM32L5) || \
35 defined(CPU_FAM_STM32WB) || defined(CPU_FAM_STM32WL)
37#elif defined(CPU_FAM_STM32U5)
39#elif defined(CPU_FAM_STM32MP1)
41#else
42#error "No clock configuration available"
43#endif
44
45#ifdef __cplusplus
46extern "C" {
47#endif
48
49#ifdef __cplusplus
50}
51#endif
52
53#endif /* CLK_CLK_CONF_H */
Configure STM32C0 clock.
Default clock configuration for STM32F0/F1/F3.
Main header for STM32F2/F4/F7 clock configuration.
Configure STM32G0/G4 clock.
Default STM32L0/STM32L1 clock configuration.
Default STM32L4 clock configuration.
Main header for STM32MP1 clock configuration.
Default STM32U5 clock configuration.