/
COTmrProcess
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);
Parameter | Description |
---|---|
tmr | Pointer 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)); : }
, multiple selections available,
Related content
COTmrService
COTmrService
More like this
COTmrCreate
COTmrCreate
More like this
COTmrDelete
COTmrDelete
More like this
OSTmrCreate
OSTmrCreate
More like this
OSTmrSet
OSTmrSet
More like this
The Timer Task
The Timer Task
More like this