HAL_Delay() function
This function provides minimum delay (in milliseconds) based on variable incremented.
Syntax
void HAL_Delay(uint32_t Delay); Arguments
Delay
specifies the delay time length, in milliseconds.
Return value
None
Notes
In the default implementation , SysTick timer is the source of time base. It is used to generate interrupts at regular time intervals where uwTick is incremented. This function is declared as __weak to be overwritten in case of other implementations in user file.
HAL_Delay() is called by 24 functions and calls 1 function:
![]()
HAL_Delay()
HAL_Delay() reads 2 variables:
![]()
HAL_Delay()