Loading...
Searching...
No Matches
lsi.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_LSI
31# define CONFIG_CLOCK_LSI 32000U /* Default LSI frequency is 32kHz */
32#endif
33
37#if IS_ACTIVE(CONFIG_USE_LSI)
38# ifndef CLOCK_LSI
39# define CLOCK_LSI CONFIG_CLOCK_LSI
40# endif
41#endif
42
43#ifdef __cplusplus
44}
45#endif
46
Common macros and compiler attributes/pragmas configuration.