CANopenNode
CANopen protocol stack
|
Data Structures | |
struct | OD_obj_var_t |
Object for single OD variable, used for "VAR" type OD objects. More... | |
struct | OD_obj_array_t |
Object for OD array of variables, used for "ARRAY" type OD objects. More... | |
struct | OD_obj_record_t |
Object for OD sub-elements, used in "RECORD" type OD objects. More... | |
Enumerations | |
enum | OD_objectTypes_t { ODT_VAR = 0x01 , ODT_ARR = 0x02 , ODT_REC = 0x03 , ODT_TYPE_MASK = 0x0F } |
Types for OD object. More... | |
Types and functions used only for definition of Object Dictionary
enum OD_objectTypes_t |
Types for OD object.
Enumerator | |
---|---|
ODT_VAR | This type corresponds to CANopen Object Dictionary object with object code equal to VAR. OD object is type of OD_obj_var_t and represents single variable of any type (any length), located on sub-index 0. Other sub-indexes are not used. |
ODT_ARR | This type corresponds to CANopen Object Dictionary object with object code equal to ARRAY. OD object is type of OD_obj_array_t and represents array of variables with the same type, located on sub-indexes above 0. Sub-index 0 is of type uint8_t and usually represents length of the array. |
ODT_REC | This type corresponds to CANopen Object Dictionary object with object code equal to RECORD. This type of OD object represents structure of the variables. Each variable from the structure can have own type and own attribute. OD object is an array of elements of type OD_obj_var_t. Variable at sub-index 0 is of type uint8_t and usually represents number of sub-elements in the structure. |
ODT_TYPE_MASK | Mask for basic type. |