Versions Compared

Key

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

This section describes the configuration definitions related to the internal timer service. The presented source code lines represents the default configuration.

CO_TMR_TICKS_PER_SEC

#define CO_TMR_TICKS_PER_SEC    1000

...

Note: within the default implementation, the CANopen timer service function is called from within a hardware timer interrupt service function. Therefore this define shall be identical to the interrupt frequency of the hardware timer.

CO_TMR_N

#define CO_TMR_N                5

...