COVerMajor
Description
This function returns the major version number value. The version number is encoded in the following way:
Version <major>.<minor>.<build>-<change>
Prototype
CPU_INT08U COVerMajor(void);
Returned Value
The major version number value.
Additional Information
The major number is changed on architectural changes in the CANopen stack.
Example
The following example uses the major version of the CANopen stack to implement an application, which is independent from specific features of version.
: if (<code>COVerMajor()</code> < 3) { /* do some compatibility stuff */ } :