CANopen Slave Documentation
Version 6.16.04
|
The file cos_defs.h holds global definitions, constants and structures for the CANopen Slave. The files canopen.h and cos_conf.h are included by this header.
Macros | |
#define | COS_VERSION_MAJOR 6 |
#define | COS_VERSION_MINOR 16 |
#define | COS_VERSION_BUILD 04 |
#define COS_VERSION_BUILD 04 |
Build version.
This is the build version of the protocol stack. It is updated on changes of the stacks examples or documentation.
#define COS_VERSION_MAJOR 6 |
Major version number of CANopen slave stack. The version number of the CANopen Slave protocol stack is reflected by object 1018h:03h (see Cos301_Idx1018()).
#define COS_VERSION_MINOR 16 |
Minor version number of CANopen slave stack. The version number of the CANopen slave protocol stack is reflected by object 1018h:03h (see Cos301_Idx1018()).
enum COS_PARM_e |
Parameter block for Store / Restore.
The following enumeration defines the parameter block that has been selected for a store / restore operation.
enum CosBuf_e |
Message buffer allocation.
Each CANopen service (i.e. identifier) is assigned to a specific message buffer in the CAN controller. For BasicCAN controllers the message buffers must be emulated in software (refer to CANpie).
enum CosCOB_ID_Store_e |
enum CosErr_e |
Error Codes of protocol stack.
All error codes of the CANopen slave protocol stack have the prefix 'eCOS_ERR_'.
enum CosSdo_e |
Return code for SDO callbacks.
The following codes are used by callback functions for object dictionary access by Service Data Objects.