1.32.10.3 DWT_DelayMs Function
C
void DWT_DelayMs(uint32_t delay_ms)
Summary
Blocking function to generate delay in milliseconds
Description
This function generates delay in units of milliseconds using DWT.
Precondition
DWT_Initialize must have been called
Parameters
Param | Description |
---|---|
delay_ms | The delay in units of milliseconds |
Returns
None.
Example
DWT_Initialize(); // Generates 1000 ms blocking delay DWT_DelayMs(1000);