COTmrProcess

Description

This function processes a single elapsed timer action. The function is used decouple the generation of the periodic time base and the timed action processing.

Prototype

void COTmrProcess(CO_TMR *tmr);

ParameterDescription
tmrPointer to timer structure

Returned Value

none

Example

The timed action processing must be called cyclic. Due to the timer management, the calling sequence is irrelevant. Therefore the function may be called in the background loop of the application:


    :
    while (1) {
        COTmrProcess(&(AppNode.Tmr));
        :
    }