You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
572 B
25 lines
572 B
/* |
|
* |
|
* Copyright (c) 2023 Benjamin Björnsson <benjamin.bjornsson@gmail.com>. |
|
* |
|
* SPDX-License-Identifier: Apache-2.0 |
|
*/ |
|
|
|
|
|
#include <soc.h> |
|
#include <stm32_ll_bus.h> |
|
#include <stm32_ll_rcc.h> |
|
#include <stm32_ll_utils.h> |
|
#include <zephyr/drivers/clock_control.h> |
|
#include <zephyr/sys/util.h> |
|
#include <zephyr/drivers/clock_control/stm32_clock_control.h> |
|
#include "clock_stm32_ll_common.h" |
|
|
|
/** |
|
* @brief Activate default clocks |
|
*/ |
|
void config_enable_default_clocks(void) |
|
{ |
|
/* Enable the power interface clock */ |
|
LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_PWR); |
|
}
|
|
|