Platform Package reference: Function EwNextTimerExpiration()

Description of the function EwNextTimerExpiration() available in all Platform Packages for ANSI C compatible target systems. This function is intended to be used when integrating the Embedded Wizard created GUI application with the underlying graphics subsystem, graphics hardware or other external GUI applications coexisting on the same system.

Declaration

int EwNextTimerExpiration( void )

Discussion

The function EwNextTimerExpiration() evaluates the list of actually active timers in order to find out the timer, which will expire next time. The function returns the number of milliseconds from now until the expiration of the found timer. The value can be used to pause the running application and thus optimize the CPU usage.