Ll_Init1Mstick; Ll_Mdelay; Ll_Setsystemcoreclock; Ll_Pll_Configsystemclock_Hsi - ST STM32F2 User Manual

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

LL UTILS Generic Driver
Notes

LL_Init1msTick

Function name
Function description
Parameters
Return values
Notes

LL_mDelay

Function name
Function description
Parameters
Return values
Notes

LL_SetSystemCoreClock

Function name
Function description
Parameters
Return values
Notes

LL_PLL_ConfigSystemClock_HSI

Function name
Function description
1294/1371
When a RTOS is used, it is recommended to avoid changing
the SysTick configuration by calling this function, for a delay
use rather osDelay RTOS service.
void LL_Init1msTick (uint32_t HCLKFrequency)
This function configures the Cortex-M SysTick source to have 1ms
time base.
HCLKFrequency: HCLK frequency in Hz
None:
When a RTOS is used, it is recommended to avoid changing
the Systick configuration by calling this function, for a delay
use rather osDelay RTOS service.
HCLK frequency can be calculated thanks to RCC helper
macro or function LL_RCC_GetSystemClocksFreq
void LL_mDelay (uint32_t Delay)
This function provides accurate delay (in milliseconds) based on
SysTick counter flag.
Delay: specifies the delay time length, in milliseconds.
None:
When a RTOS is used, it is recommended to avoid using
blocking delay and use rather osDelay service.
To respect 1ms timebase, user should call LL_Init1msTick
function which will configure Systick to 1ms
void LL_SetSystemCoreClock (uint32_t HCLKFrequency)
This function sets directly SystemCoreClock CMSIS variable.
HCLKFrequency: HCLK frequency in Hz (can be calculated
thanks to RCC helper macro)
None:
Variable can be calculated also through
SystemCoreClockUpdate function.
ErrorStatus LL_PLL_ConfigSystemClock_HSI
(LL_UTILS_PLLInitTypeDef * UTILS_PLLInitStruct,
LL_UTILS_ClkInitTypeDef * UTILS_ClkInitStruct)
This function configures system clock at maximum frequency with
HSI as clock source of the PLL.
DocID028236 Rev 2
UM1940

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F2 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF