Loading...
Searching...
No Matches
hse.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2024 Prime Controls, Inc.(R)
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22#include "cpu_conf.h"
23#include "kernel_defines.h"
24
25#if IS_ACTIVE(CONFIG_USE_HSE_PLL) || IS_ACTIVE(CONFIG_USE_HSE_DIRECT)
26# ifndef CONFIG_CLOCK_HSE
27# error "CONFIG_CLOCK_HSE must be defined when using HSE PLL"
28# endif
29# define CLOCK_HSE CONFIG_CLOCK_HSE
30#endif
31
32#ifdef __cplusplus
33}
34#endif
35
Common macros and compiler attributes/pragmas configuration.