1.3.27.9 1.4.23.9 1.5.27.9 1.6.23.9 1.7.24.9 1.8.21.9 1.9.22.9 1.29.25.9 1.30.19.9 1.31.19.9 1.32.28.9 1.33.17.9 1.34.22.9 1.35.15.9 1.36.17.9 1.37.19.9 1.38.23.9 1.39.20.9 1.40.22.9 1.41.20.9 1.42.19.9 SYSTICK_TimerPeriodHasExpired Function

C

bool SYSTICK_TimerPeriodHasExpired( void )

Summary

Returns the current status of the systick

Description

This function is used to identify if the Systick underflow has happened.

This API is generated only in polling mode

Precondition

SYSTICK_Initialize should have been called to set up SysTick.

Parameters

None.

Returns

True - timer period has expired

False - timer period is not expired

Example

SYSTICK_Initialize();

SYSTICK_TimerStart();

if(SYSTICK_TimerPeriodHasExpired())
{
    //application code
}