CANopenNode
CANopen protocol stack
Loading...
Searching...
No Matches
LSS master/slave

Specified in standard CiA 305 More...

+ Collaboration diagram for LSS master/slave:

Macros

#define CO_CONFIG_LSS   (CO_CONFIG_LSS_SLAVE | CO_CONFIG_GLOBAL_FLAG_CALLBACK_PRE)
 Configuration of LSS.
 

Detailed Description

Specified in standard CiA 305

Macro Definition Documentation

◆ CO_CONFIG_LSS

#define CO_CONFIG_LSS   (CO_CONFIG_LSS_SLAVE | CO_CONFIG_GLOBAL_FLAG_CALLBACK_PRE)

Configuration of LSS.

Possible flags, can be ORed:

  • CO_CONFIG_LSS_SLAVE - Enable LSS slave
  • CO_CONFIG_LSS_SLAVE_FASTSCAN_DIRECT_RESPOND - Send LSS fastscan respond directly from CO_LSSslave_receive() function.
  • CO_CONFIG_LSS_MASTER - Enable LSS master
  • CO_CONFIG_FLAG_CALLBACK_PRE - Enable custom callback after preprocessing received CAN message. Callback is configured by CO_LSSmaster_initCallbackPre().