1 /* 2 * 3 * Copyright (c) 2023 Benjamin Björnsson <benjamin.bjornsson@gmail.com>. 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 */ 7 8 9 #include <soc.h> 10 #include <stm32_ll_bus.h> 11 #include <stm32_ll_rcc.h> 12 #include <stm32_ll_utils.h> 13 #include <zephyr/drivers/clock_control.h> 14 #include <zephyr/sys/util.h> 15 #include <zephyr/drivers/clock_control/stm32_clock_control.h> 16 #include "clock_stm32_ll_common.h" 17 18 /** 19 * @brief Activate default clocks 20 */ config_enable_default_clocks(void)21void config_enable_default_clocks(void) 22 { 23 /* Enable the power interface clock */ 24 LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_PWR); 25 } 26