Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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

This definition specifies the calling frequency of the CANopen timer service function.

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

This definition specifies the maximum number of CANopen timed actions.

Note: It is allowed to use CANopen timers for the application as well. The number of application timed actions must be considered in this configuration, too.

  • No labels