Event Time Base

To establishing a constant time base, the CANopen stack provides a service function.

For generating a time base, the following line should be placed in a hardware timer interrupt service function, which is called periodically:

COTmrService(&demo);                                  /* trigger time event     */

The following diagram shows the internal behavior of this service:


Figure - Event Time Base