HAL Control functions. More...
Functions | |
void | hal_increment_tick (void) |
This function is called to increment a global variable "g_tick" used as application time base. More... | |
uint32_t | hal_get_tick (void) |
Povides a tick value in millisecond. More... | |
void | hal_delay (__IO uint32_t delay) |
This function provides accurate delay (in milliseconds) based on variable incremented. More... | |
void | hal_suspend_tick (void) |
Suspend Tick increment. More... | |
void | hal_resume_tick (void) |
Resume Tick increment. More... | |
uint32_t | hal_get_hal_version (void) |
This function returns the HAL revision. More... | |
void | hal_dwt_enable (uint32_t _demcr_initial, uint32_t _dwt_ctrl_initial) |
This function enable the DWT function. More... | |
void | hal_dwt_disable (uint32_t _demcr_initial, uint32_t _dwt_ctrl_initial) |
This function disable the DWT function. More... | |
HAL Control functions.
=============================================================================== ##### HAL Control functions ##### =============================================================================== [..] This section provides functions allowing to: (+) Provide a tick value in millisecond (+) Provide a blocking delay in millisecond (+) Suspend the time base source interrupt (+) Resume the time base source interrupt (+) Get the HAL API driver version
void hal_delay | ( | __IO uint32_t | delay | ) |
This function provides accurate delay (in milliseconds) based on variable incremented.
[in] | delay | Specify the delay time length, in milliseconds. |
void hal_dwt_disable | ( | uint32_t | _demcr_initial, |
uint32_t | _dwt_ctrl_initial | ||
) |
This function disable the DWT function.
void hal_dwt_enable | ( | uint32_t | _demcr_initial, |
uint32_t | _dwt_ctrl_initial | ||
) |
This function enable the DWT function.
uint32_t hal_get_hal_version | ( | void | ) |
This function returns the HAL revision.
uint32_t hal_get_tick | ( | void | ) |
Povides a tick value in millisecond.
void hal_increment_tick | ( | void | ) |
This function is called to increment a global variable "g_tick" used as application time base.
void hal_resume_tick | ( | void | ) |
Resume Tick increment.
void hal_suspend_tick | ( | void | ) |
Suspend Tick increment.