Hal Drivers for L4

Dependents:   BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo

Fork of STM32L4xx_HAL_Driver by Senior Design: Sound Monitor

Embed: (wiki syntax)

« Back to documentation index

DELAY

Functions

__STATIC_INLINE void LL_mDelay (uint32_t Delay)
 This function provides accurate delay (in milliseconds) based on SysTick counter flag.
__STATIC_INLINE void LL_Init1msTick (uint32_t HCLKFrequency)
 This function configures the source of the time base.

Function Documentation

__STATIC_INLINE void LL_Init1msTick ( uint32_t  HCLKFrequency )

This function configures the source of the time base.

Note:
The time source is configured to have 1ms time base.
Parameters:
HCLKFrequencyHCLK frequency in Hz (can be calculated thanks to RCC helper macro)
Return values:
None

Definition at line 225 of file stm32l4xx_ll_utils.h.

__STATIC_INLINE void LL_mDelay ( uint32_t  Delay )

This function provides accurate delay (in milliseconds) based on SysTick counter flag.

Note:
To respect 1ms timebase, user should call LL_InitTick function which will configure Systick to 1ms
Parameters:
Delayspecifies the delay time length, in milliseconds.
Return values:
None

Definition at line 199 of file stm32l4xx_ll_utils.h.