1.1.12.8 TIMER32_x_PeriodHasExpired Function
C
/* x = Timer32 instance number */
bool TIMER32_x_PeriodHasExpired(void)
Summary
Returns the timer interrupt status
Description
Returns the timer interrupt status
Precondition
TIMER32_x_Initialize() function must have been called first and auto-restart must be enabled
Parameters
None
Returns
true - timer has expired
false - timer has not expired
Example
if (TIMER32_0_PeriodHasExpired())
{
// Timer has expired
}
Remarks
This API is available only when the interrupt mode is not enabled in the MCC UI.