nico@215: nico@215:
nico@215:nico@215: This graph shows which files directly or indirectly include this file:
nico@215: Go to the source code of this file.
Data Structures | |
struct | td_subindex |
struct | td_indextable |
struct | s_quick_index |
Defines | |
#define | boolean 0x01 |
#define | int8 0x02 |
#define | int16 0x03 |
#define | int32 0x04 |
#define | uint8 0x05 |
#define | uint16 0x06 |
#define | uint32 0x07 |
#define | real32 0x08 |
#define | visible_string 0x09 |
#define | octet_string 0x0A |
#define | unicode_string 0x0B |
#define | time_of_day 0x0C |
#define | time_difference 0x0D |
#define | domain 0x0F |
#define | int24 0x10 |
#define | real64 0x11 |
#define | int40 0x12 |
#define | int48 0x13 |
#define | int56 0x14 |
#define | int64 0x15 |
#define | uint24 0x16 |
#define | uint40 0x18 |
#define | uint48 0x19 |
#define | uint56 0x1A |
#define | uint64 0x1B |
#define | pdo_communication_parameter 0x20 |
#define | pdo_mapping 0x21 |
#define | sdo_parameter 0x22 |
#define | identity 0x23 |
#define | RW 0x00 |
#define | WO 0x01 |
#define | RO 0x02 |
#define | TO_BE_SAVE 0x04 |
#define | GET_NODE_ID(m) (m.cob_id.w & 0x7f) |
#define | GET_FUNCTION_CODE(m) (m.cob_id.w >> 7) |
Typedefs | |
typedef td_subindex | subindex |
typedef td_indextable | indextable |
typedef s_quick_index | quick_index |
typedef UNS32(*) | ODCallback_t (CO_Data *d, const indextable *, UNS8 bSubindex) |
typedef const indextable *(*) | scanIndexOD_t (UNS16 wIndex, UNS32 *errorCode, ODCallback_t **Callback) |
#define boolean 0x01 | nico@215:
nico@215: this are static defined datatypes taken fCODE the canopen standard. They are located at index 0x0001 to 0x001B. As described in the standard, they are in the object dictionary for definition purpose only. a device does not to support all of this datatypes. nico@215:
nico@215: Definition at line 32 of file objdictdef.h. nico@215:
#define domain 0x0F | nico@215:
nico@215: nico@215:
nico@215: Definition at line 46 of file objdictdef.h. nico@215:
#define GET_FUNCTION_CODE | nico@215:( | nico@215:m | nico@215:nico@215: | ) | nico@215:(m.cob_id.w >> 7) | nico@215:
nico@215: nico@215:
etisserant@240: Definition at line 121 of file objdictdef.h. etisserant@240:
#define GET_NODE_ID | nico@215:( | nico@215:m | nico@215:nico@215: | ) | nico@215:(m.cob_id.w & 0x7f) | nico@215:
nico@215: nico@215:
etisserant@240: Definition at line 120 of file objdictdef.h. nico@215:
nico@215: Referenced by proceedNODE_GUARD(). nico@215:
#define identity 0x23 | nico@215:
nico@215: nico@215:
nico@215: Definition at line 63 of file objdictdef.h. nico@215:
#define int16 0x03 | nico@215:
nico@215: nico@215:
nico@215: Definition at line 34 of file objdictdef.h. nico@215:
#define int24 0x10 | nico@215:
nico@215: nico@215:
nico@215: Definition at line 47 of file objdictdef.h. nico@215:
#define int32 0x04 | nico@215:
nico@215: nico@215:
nico@215: Definition at line 35 of file objdictdef.h. nico@215:
#define int40 0x12 | nico@215:
nico@215: nico@215:
nico@215: Definition at line 49 of file objdictdef.h. nico@215:
#define int48 0x13 | nico@215:
nico@215: nico@215:
nico@215: Definition at line 50 of file objdictdef.h. nico@215:
#define int56 0x14 | nico@215:
nico@215: nico@215:
nico@215: Definition at line 51 of file objdictdef.h. nico@215:
#define int64 0x15 | nico@215:
nico@215: nico@215:
nico@215: Definition at line 52 of file objdictdef.h. nico@215:
#define int8 0x02 | nico@215:
nico@215: nico@215:
nico@215: Definition at line 33 of file objdictdef.h. nico@215:
#define octet_string 0x0A | nico@215:
nico@215: nico@215:
nico@215: Definition at line 41 of file objdictdef.h. nico@215:
#define pdo_communication_parameter 0x20 | nico@215:
nico@215: nico@215:
nico@215: Definition at line 60 of file objdictdef.h. nico@215:
#define pdo_mapping 0x21 | nico@215:
nico@215: nico@215:
nico@215: Definition at line 61 of file objdictdef.h. nico@215:
#define real32 0x08 | nico@215:
nico@215: nico@215:
nico@215: Definition at line 39 of file objdictdef.h. nico@215:
#define real64 0x11 | nico@215:
nico@215: nico@215:
nico@215: Definition at line 48 of file objdictdef.h. nico@215:
#define RO 0x02 | nico@215:
nico@215: nico@215:
etisserant@240: Definition at line 75 of file objdictdef.h. nico@215:
nico@215: Referenced by _setODentry(). nico@215:
#define RW 0x00 | nico@215:
nico@215: Each entry of the object dictionary can be READONLY (RO), READ/WRITE (RW), WRITE-ONLY (WO) nico@215:
etisserant@240: Definition at line 73 of file objdictdef.h. nico@215:
nico@215: Referenced by main(), and TestMaster_initialisation(). nico@215:
#define sdo_parameter 0x22 | nico@215:
nico@215: nico@215:
nico@215: Definition at line 62 of file objdictdef.h. nico@215:
#define time_difference 0x0D | nico@215:
nico@215: nico@215:
nico@215: Definition at line 44 of file objdictdef.h. nico@215:
#define time_of_day 0x0C | nico@215:
nico@215: nico@215:
nico@215: Definition at line 43 of file objdictdef.h. nico@215:
#define TO_BE_SAVE 0x04 | nico@215:
nico@215: nico@215:
etisserant@240: Definition at line 77 of file objdictdef.h. nico@215:
nico@215: Referenced by _setODentry(). nico@215:
#define uint16 0x06 | nico@215:
nico@215: nico@215:
nico@215: Definition at line 37 of file objdictdef.h. nico@215:
#define uint24 0x16 | nico@215:
nico@215: nico@215:
nico@215: Definition at line 53 of file objdictdef.h. nico@215:
#define uint32 0x07 | nico@215:
nico@215: nico@215:
nico@215: Definition at line 38 of file objdictdef.h. nico@215:
nico@215: Referenced by main(). nico@215:
#define uint40 0x18 | nico@215:
nico@215: nico@215:
nico@215: Definition at line 55 of file objdictdef.h. nico@215:
#define uint48 0x19 | nico@215:
nico@215: nico@215:
nico@215: Definition at line 56 of file objdictdef.h. nico@215:
#define uint56 0x1A | nico@215:
nico@215: nico@215:
nico@215: Definition at line 57 of file objdictdef.h. nico@215:
#define uint64 0x1B | nico@215:
nico@215: nico@215:
nico@215: Definition at line 58 of file objdictdef.h. nico@215:
#define uint8 0x05 | nico@215:
nico@215: nico@215:
nico@215: Definition at line 36 of file objdictdef.h. nico@215:
#define unicode_string 0x0B | nico@215:
nico@215: nico@215:
nico@215: Definition at line 42 of file objdictdef.h. nico@215:
#define visible_string 0x09 | nico@215:
nico@215: nico@215:
nico@215: Definition at line 40 of file objdictdef.h. nico@215:
nico@215: Referenced by _getODentry(), _setODentry(), getReadResultNetworkDict(), and main(). nico@215:
#define WO 0x01 | nico@215:
nico@215: nico@215:
etisserant@240: Definition at line 74 of file objdictdef.h. nico@215:
nico@215: Referenced by _getODentry(). nico@215:
nico@215:
typedef struct td_indextable indextable | nico@215:
nico@215: Struct for creating entries in the communictaion profile nico@215:
etisserant@240: etisserant@240:
typedef UNS32(*) ODCallback_t(CO_Data *d, const indextable *, UNS8 bSubindex) | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 114 of file objdictdef.h. etisserant@240:
typedef struct s_quick_index quick_index | nico@215:
nico@215: nico@215:
etisserant@240: etisserant@240:
typedef const indextable*(*) scanIndexOD_t(UNS16 wIndex, UNS32 *errorCode, ODCallback_t **Callback) | etisserant@240:
etisserant@240: etisserant@240:
etisserant@240: Definition at line 115 of file objdictdef.h. etisserant@240:
typedef struct td_subindex subindex | nico@215:
nico@215: This are some structs which are neccessary for creating the entries of the object dictionary. nico@215:
etisserant@240: