1.3.23.21 1.4.24.21 1.5.22.21 1.6.24.21 1.7.25.21 1.29.26.21 1.30.16.21 1.31.16.21 1.32.29.21 1.33.18.21 1.37.16.21 1.38.24.21 1.39.21.21 1.40.23.21 TCx_TimerPeriodHasExpired Function

C

/* x = TC instance number */
bool TCx_TimerPeriodHasExpired( void );

Summary

Checks whether timer period is elapsed.

Description

This function checks the status of the timer period interrupt.

Precondition

TCx_TimerInitialize() function must have been called first.

Parameters

None.

Returns

Timer period elapsed status.

Example

bool timerPeriodStatus = false;
TC0_TimerInitialize();
timerPeriodStatus = TC0_TimerPeriodHasExpired();

Remarks

None.