|
void | HAL_IncTick (void) |
| This function is called to increment a global variable "uwTick" used as application time base. More...
|
|
void | HAL_Delay (uint32_t Delay) |
| This function provides minimum delay (in milliseconds) based on variable incremented. More...
|
|
void | HAL_Delay_us (uint32_t us) |
|
void | HAL_Delay_us_ (__IO uint32_t us) |
|
uint32_t | HAL_GetTick (void) |
| Provide a tick value in millisecond. More...
|
|
void | HAL_SuspendTick (void) |
| Suspend Tick increment. More...
|
|
void | HAL_ResumeTick (void) |
| Resume Tick increment. More...
|
|
HAL_Exported_Functions_Group1
◆ HAL_Delay()
void HAL_Delay |
( |
uint32_t |
Delay | ) |
|
This function provides minimum delay (in milliseconds) based on variable incremented.
- Note
- 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.
- Parameters
-
Delay | specifies the delay time length, in milliseconds. |
- Return values
-
◆ HAL_GetTick()
uint32_t HAL_GetTick |
( |
void |
| ) |
|
Provide a tick value in millisecond.
- Note
- This function is declared as __weak to be overwritten in case of other implementations in user file.
- Return values
-
◆ HAL_IncTick()
void HAL_IncTick |
( |
void |
| ) |
|
This function is called to increment a global variable "uwTick" used as application time base.
- Note
- 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.
- Return values
-
◆ HAL_ResumeTick()
void HAL_ResumeTick |
( |
void |
| ) |
|
Resume Tick increment.
- Note
- In the default implementation , SysTick timer is the source of time base. It is used to generate interrupts at regular time intervals. Once HAL_ResumeTick() is called, the SysTick interrupt will be enabled and so Tick increment is resumed.
-
This function is declared as __weak to be overwritten in case of other implementations in user file.
- Return values
-
◆ HAL_SuspendTick()
void HAL_SuspendTick |
( |
void |
| ) |
|
Suspend Tick increment.
- Note
- In the default implementation , SysTick timer is the source of time base. It is used to generate interrupts at regular time intervals. Once HAL_SuspendTick() is called, the SysTick interrupt will be disabled and so Tick increment is suspended.
-
This function is declared as __weak to be overwritten in case of other implementations in user file.
- Return values
-