EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1294 background imageLoading...
Page #1294 background image
LL UTILS Generic Driver
UM1940
1294/1371
DocID028236 Rev 2
Notes
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.
LL_Init1msTick
Function name
void LL_Init1msTick (uint32_t HCLKFrequency)
Function description
This function configures the Cortex-M SysTick source to have 1ms
time base.
Parameters
HCLKFrequency: HCLK frequency in Hz
Return values
None:
Notes
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
LL_mDelay
Function name
void LL_mDelay (uint32_t Delay)
Function description
This function provides accurate delay (in milliseconds) based on
SysTick counter flag.
Parameters
Delay: specifies the delay time length, in milliseconds.
Return values
None:
Notes
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
LL_SetSystemCoreClock
Function name
void LL_SetSystemCoreClock (uint32_t HCLKFrequency)
Function description
This function sets directly SystemCoreClock CMSIS variable.
Parameters
HCLKFrequency: HCLK frequency in Hz (can be calculated
thanks to RCC helper macro)
Return values
None:
Notes
Variable can be calculated also through
SystemCoreClockUpdate function.
LL_PLL_ConfigSystemClock_HSI
Function name
ErrorStatus LL_PLL_ConfigSystemClock_HSI
(LL_UTILS_PLLInitTypeDef * UTILS_PLLInitStruct,
LL_UTILS_ClkInitTypeDef * UTILS_ClkInitStruct)
Function description
This function configures system clock at maximum frequency with
HSI as clock source of the PLL.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals