Loading...
Searching...
No Matches
stmclk.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2017 Freie Universität Berlin
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser General
5 * Public License v2.1. See the file LICENSE in the top level directory for more
6 * details.
7 */
8
9#pragma once
10
23
24#include <stdbool.h>
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
46
51
59
68
77
82
86void stmclk_dbp_lock(void);
87
95
96#ifdef __cplusplus
97}
98#endif
99
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.