Jump to main content

##

# 2.119.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
    }