1.35.15.10 SYSTICK_DelayMs Function

C

void SYSTICK_DelayMs( uint32_t delay_ms )

Summary

Blocking function to generate delay in milliseconds

Description

This function generates blocking delay in milli seconds.

Precondition

Systick should be on and running before calling this API.

Parameters

Param Description
delay_ms The delay in units of milliseconds

Returns

None.

Example

SYSTICK_Initialize();

SYSTICK_TimerStart();

// Generates 100ms blocking delay
SYSTICK_DelayMs(100)