Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
rtc.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
#include "
lse.h
"
19
#include "
lsi.h
"
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
31
#ifndef CONFIG_RTC_USE_LSE
32
# define CONFIG_RTC_USE_LSE 1
33
#endif
34
38
#if CONFIG_RTC_USE_LSE
39
# define CLOCK_RTC CLOCK_LSE
40
#else
41
# define CLOCK_RTC CLOCK_LSI
42
#endif
43
44
#ifdef __cplusplus
45
}
46
#endif
47
lse.h
LSE clock setup for STM32H7 family.
lsi.h
LSI clock setup for STM32H7 family.
Generated on Thu Feb 26 2026 19:45:48 by
1.13.2