DIY Logging Volt/Ampmeter
|
UTILS LL module driver. More...
Go to the source code of this file.
Macros | |
#define | assert_param(expr) ((void)0U) |
#define | UTILS_PLL_OUTPUT_MAX RCC_MAX_FREQUENCY |
#define | UTILS_HSE_FREQUENCY_MIN RCC_HSE_MIN |
#define | UTILS_HSE_FREQUENCY_MAX RCC_HSE_MAX |
#define | IS_LL_UTILS_SYSCLK_DIV(__VALUE__) |
#define | IS_LL_UTILS_APB1_DIV(__VALUE__) |
#define | IS_LL_UTILS_APB2_DIV(__VALUE__) |
#define | IS_LL_UTILS_PLLMUL_VALUE(__VALUE__) |
#define | IS_LL_UTILS_PREDIV_VALUE(__VALUE__) (((__VALUE__) == LL_RCC_PREDIV_DIV_1) || ((__VALUE__) == LL_RCC_PREDIV_DIV_2)) |
#define | IS_LL_UTILS_PLL_FREQUENCY(__VALUE__) ((__VALUE__) <= UTILS_PLL_OUTPUT_MAX) |
#define | IS_LL_UTILS_HSE_BYPASS(__STATE__) |
#define | IS_LL_UTILS_HSE_FREQUENCY(__FREQUENCY__) (((__FREQUENCY__) >= UTILS_HSE_FREQUENCY_MIN) && ((__FREQUENCY__) <= UTILS_HSE_FREQUENCY_MAX)) |
Functions | |
static uint32_t | UTILS_GetPLLOutputFrequency (uint32_t PLL_InputFrequency, LL_UTILS_PLLInitTypeDef *UTILS_PLLInitStruct) |
Function to check that PLL can be modified. More... | |
static ErrorStatus | UTILS_EnablePLLAndSwitchSystem (uint32_t SYSCLK_Frequency, LL_UTILS_ClkInitTypeDef *UTILS_ClkInitStruct) |
Function to enable PLL and switch system clock to PLL. More... | |
static ErrorStatus | UTILS_PLL_IsBusy (void) |
Function to check that PLL can be modified. More... | |
void | LL_Init1msTick (uint32_t HCLKFrequency) |
This function configures the Cortex-M SysTick source to have 1ms time base. More... | |
void | LL_mDelay (uint32_t Delay) |
This function provides accurate delay (in milliseconds) based on SysTick counter flag. More... | |
void | LL_SetSystemCoreClock (uint32_t HCLKFrequency) |
This function sets directly SystemCoreClock CMSIS variable. More... | |
ErrorStatus | LL_PLL_ConfigSystemClock_HSI (LL_UTILS_PLLInitTypeDef *UTILS_PLLInitStruct, LL_UTILS_ClkInitTypeDef *UTILS_ClkInitStruct) |
Update number of Flash wait states in line with new frequency and current voltage range. More... | |
ErrorStatus | LL_PLL_ConfigSystemClock_HSE (uint32_t HSEFrequency, uint32_t HSEBypass, LL_UTILS_PLLInitTypeDef *UTILS_PLLInitStruct, LL_UTILS_ClkInitTypeDef *UTILS_ClkInitStruct) |
This function configures system clock with HSE as clock source of the PLL. More... | |
UTILS LL module driver.
This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause
Definition in file stm32f1xx_ll_utils.c.
#define assert_param | ( | expr | ) | ((void)0U) |
Definition at line 27 of file stm32f1xx_ll_utils.c.