1.3.24.19 TCCx_TimerPeriodHasExpired Function

C

bool TCCx_TimerPeriodHasExpired( void );

Summary

Checks whether timer period is elapsed.

Description

This function checks the status of the timer period interrupt.

Precondition

TCCx_TimerInitialize() function must have been called first.

Parameters

None.

Returns

Timer period elapsed status.

Example

bool timerPeriodStatus = false;
TCC0_TimerInitialize();
timerPeriodStatus = TCC0_TimerPeriodHasExpired();

Remarks

None.