CANopen Bootloader Documentation
Version 4.10.00
|
The file canopen.h holds all definitions and structures that are necessary for a CANopen protocol stack.
Macros | |
#define | SDO_ERR_TOGGLE_BIT 0x05030000 |
#define | SDO_ERR_TIMEOUT 0x05040000 |
#define | SDO_ERR_COMMAND 0x05040001 |
#define | SDO_ERR_BLOCK_SIZE 0x05040002 |
#define | SDO_ERR_BLOCK_SEQUENCE 0x05040003 |
#define | SDO_ERR_BLOCK_CRC 0x05040004 |
Enumerations | |
enum | CoATTR { } |
enum | CoDT { CoDT_BOOLEAN = 1 , CoDT_INTEGER8 , CoDT_INTEGER16 , CoDT_INTEGER32 , CoDT_UNSIGNED8 , CoDT_UNSIGNED16 , CoDT_UNSIGNED32 , CoDT_REAL32 , CoDT_VISIBLE_STRING , CoDT_OCTET_STRING , CoDT_UNICODE_STRING , CoDT_TIME_OF_DAY , CoDT_TIME_DIFFERENCE , CoDT_reserved01 , CoDT_DOMAIN } |
enum CoATTR |
Access Attributes for objects in dictionary.
Each object within the object dictionary can have the following access attributes:
The member ubAttribute of the structure CblDicEntry_s is used for that purpose. By this enumeration the possible attributes are defined.
Enumerator | |
---|---|
CoATTR_ACC_WO | object is read-only |
CoATTR_ACC_RW | object is write-only |
CoATTR_ACC_CONST | object supports read-write access |
CoATTR_PDO_MAP | object is constant |
enum CoDT |
Data Type definitions for objects in dictionary.
Each object within the object dictionary has a specific data type. The member ubDataType of the structure CblDicEntry_s is used for that purpose. By this enumeration the possible data types are defined.
enum CoErrReg_e |
Error Register values.
enum LssCmd_e |
enum SdoCmd_e |
Command values for SDO transfer.