Functions | |
void | hal_dwt_enable (void) |
Enable the DWT. More... | |
void | hal_dwt_disable (void) |
Disable the DWT. More... | |
__STATIC_FORCEINLINE void | delay_us (uint32_t number_of_us) |
Function for delaying execution for number of us. More... | |
__STATIC_FORCEINLINE void | delay_ms (uint32_t number_of_ms) |
Function for delaying execution for number of milliseconds. More... | |
__STATIC_FORCEINLINE void delay_ms | ( | uint32_t | number_of_ms | ) |
Function for delaying execution for number of milliseconds.
number_of_ms | The maximum delay time is about 67 seconds in 64M system clock. The faster the system clock, the shorter the maximum delay time. |
Definition at line 303 of file gr55xx_delay.h.
References delay_us().
__STATIC_FORCEINLINE void delay_us | ( | uint32_t | number_of_us | ) |
Function for delaying execution for number of us.
number_of_us | The maximum delay time is about 67 seconds in 64M system clock. The faster the system clock, the shorter the maximum delay time. |
Definition at line 144 of file gr55xx_delay.h.
References HAL_TIMEOUT_DEINIT, and HAL_TIMEOUT_INIT.
Referenced by delay_ms().
void hal_dwt_disable | ( | void | ) |
Disable the DWT.
void hal_dwt_enable | ( | void | ) |
Enable the DWT.