Loading...
Searching...
No Matches
stmclk.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2017 Freie Universität Berlin
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
20
21#include <stdbool.h>
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
43
48
56
65
74
79
83void stmclk_dbp_lock(void);
84
92
93#ifdef __cplusplus
94}
95#endif
96
void stmclk_dbp_unlock(void)
Unlock write access to the backup domain control.
void stmclk_disable_hsi(void)
Disable the internal high speed clock (HSI)
void stmclk_enable_hsi(void)
Enable the internal high speed clock (HSI)
void stmclk_enable_lfclk(void)
Configure and enable the low speed clock domain.
void stmclk_init_sysclk(void)
Configure the high speed clock domain (main system clock)
bool stmclk_dbp_is_locked(void)
Check whether write access to the backup domain is locked.
void stmclk_dbp_lock(void)
Lock write access to backup control domain.
void stmclk_disable_lfclk(void)
Disable the low frequency clock domain.