Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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: