...
This section describes the configuration table representing the CANopen object directory. This is the central element of the CANopen node. This table can be placed in RAM or in ROM. The placement decides, which access type is possible with direct entries. Most likely this table is placed in ROM, because RAM is in most cases the limited resource.
Code Block | ||
---|---|---|
| ||
const CO_OBJ AppObjDir[] = {
{ <ObjEntryKey_0>, <ObjTypeRef_0>, <ObjData_0> }, /* first object entry */
:
{ <ObjEntryKey_N>, <ObjTypeRef_N>, <ObjData_N> }, /* last object entry */
CO_OBJ_DIR_ENDMARK
}; |
Each line represents a single object entry definition. The collection of object entries shall be sorted in ascending order in index and subindex.
...