Loading...
Searching...
No Matches
lse.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2025 Technische Universität Hamburg
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
30#ifndef CONFIG_CLOCK_LSE
31# define CONFIG_CLOCK_LSE 32768U /* Default LSE frequency is 32.768kHz */
32#endif
33
37#if IS_ACTIVE(CONFIG_USE_LSE)
38# define CLOCK_LSE CONFIG_CLOCK_LSE
39#endif
40
41#ifdef __cplusplus
42}
43#endif
44
Common macros and compiler attributes/pragmas configuration.