![]() |
CANopen FD Master Library
Making your systems precise, reliable and high-quality - 5.10.01
|
Collaboration diagram for Definitions and enumerations:Modules | |
| SDO error codes | |
Macros | |
| #define | COM_SDO_CLIENT_MAX ((uint8_t) 2) |
| #define COM_SDO_CLIENT_MAX ((uint8_t) 2) |
The symbol defines the number of SDO clients that are supported.
| enum ComErr_e |
Error Codes of CANopen Master protocol stack.
All error codes of the CANopen Master protocol stack have the prefix eCOM_ERR_. Error return values are always negative, so it is quite simple to check in general if a functions fails.
Example:
| enum ComLssInqSrv_e |
| enum ComLssMode_e |
This enumeration defines the allowed modes for the LSS switch mode global command.
| Enumerator | |
|---|---|
| eCOM_LSS_MODE_WAITING | switch LSS state machine to LSS waiting mode |
| eCOM_LSS_MODE_CONFIGURATION | switch LSS state machine to LSS configuration mode |
| enum ComLssProt_e |
CANopen Master LSS protocol
| enum ComLssStat_e |
| enum ComMode_e |
NMT startup mode.
The enumeration defines the values for starting the CANopen Master with the function ComMgrInit(). The CANopen NMT configuration is reflected by object 1F80h (least significant 8 bits).
| enum ComNet_e |
| enum ComNmtState_e |
NMT state codes.
The enumeration defines the values for setting the NMT state of a CANopen device via ComNmtSetNodeState() as well as for requesting the device state via ComNmtGetNodeState(). The values in this enumeration are not equal to the NMT command specifiers.
| enum ComSdoConfig_e |
SDO client configuration.
The enumeration defines configuration values for the SDO client behaviour, which is set via the function ComSdoSetConfiguration().
| enum ComSdoMarker_e |
SDO transfer marker.
The enumeration defines values for the marker field inside the CANopen object structure CoObject_s. The marker field can be evaluated inside the ComSdoEventObjectReady() function.
| Enumerator | |
|---|---|
| eCOM_SDO_MARKER_USER_END | Last possible value for user-defined marker |
| eCOM_SDO_MARKER_NODE_GET_INFO | Marker for ComNodeGetInfo() function call |
| eCOM_SDO_MARKER_NODE_SET_HEARTBEAT | Marker for ComNodeSetHbProdTime() function call |
| eCOM_SDO_MARKER_NODE_STORE | Marker for ComNodeStore() function call |
| eCOM_SDO_MARKER_NODE_RESTORE | Marker for ComNodeRestore() function call |
| eCOM_SDO_MARKER_SRDO_GET_CONFIG | Marker for ComSafetyGetConfiguration() function call |
| eCOM_SDO_MARKER_SRDO_GET_SIGNATURE | Marker for ComSafetyGetSignature() function call |
| eCOM_SDO_MARKER_SRDO_SET_CONFIG | Marker for ComSafetySetConfiguration() function call |
| eCOM_SDO_MARKER_SRDO_SET_SIGNATURE | Marker for ComSafetySetSignature() function call |
| eCOM_SDO_MARKER_SRDO_SET_VALID | Marker for ComSafetySetConfigurationValid() function call |
| enum ComSdoStat_e |
SDO transfer status.
The enumeration defines the status of a SDO client connection. It can be requested with the ComSdoGetStatus() function.
| enum ComVersion_e |
Get library information.
The enumeration defines values for function ComMgrGetVersionString().
| Enumerator | |
|---|---|
| eCOM_VERSION_STACK | Get information about the stack version |
| eCOM_VERSION_COMPILER | Get information about the used compiler |
| eCOM_VERSION_SYSTEM | Get information about the operating system |
| enum CpBitrate_e |
Fixed bit-rates.
The values of the enumeration CpBitrate_e are used as parameter for the function CpCoreBitrate().
| enum CpChannel_e |
Channel definition.
The physical CAN interfaces are numbered from 1 .. N (N: total number of physical CAN interfaces on the target system). The enumeration CpChannel_e lists up to 8 physical interfaces. The enumeration value eCP_CHANNEL_NONE denotes an invalid channel value.
| enum CpErrType_e |
Error type.
These values are used as return value for the function CpCoreCanState().
| enum CpState_e |
State of CAN controller.
These values are used as return value for the function CpCoreCanState().
| enum PdoDir_e |
| enum PdoType_e |
PDO transmission types.
The common used PDO transmission types are defined in this enumeration.
| enum PgnDir_e |