HAL_MspDeInit
void HAL_MspDeInit (void )
HAL_InitTick
HAL_StatusTypeDef HAL_InitTick (uint32_t TickPriority)
This function configures the source of the time base.
TickPriority: Tick interrupt priority.
This function is called automatically at the beginning of
program after reset by HAL_Init() or at any time when clock is
reconfigured by HAL_RCC_ClockConfig().
In the default implementation, SysTick timer is the source of
time base. It is used to generate interrupts at regular time
intervals. Care must be taken if HAL_Delay() is called from a
peripheral ISR process, The the SysTick interrupt must have
higher priority (numerically lower) than the peripheral
interrupt. Otherwise the caller ISR process will be blocked.
The function is declared as __weak to be overwritten in case
of other implementation in user file.
HAL_IncTick
This function is called to increment a global variable "uwTick" used
as application time base.
In the default implementation, this variable is incremented
each 1ms in Systick ISR.
This function is declared as __weak to be overwritten in case
of other implementations in user file.
HAL_Delay
void HAL_Delay (__IO uint32_t Delay)
This function provides minimum delay (in milliseconds) based on
variable incremented.
Delay: specifies the delay time length, in milliseconds.
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.