nico@207: nico@207:
nico@207:nico@207: 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 | TRANS_EVERY_N_SYNC(n) (n) |
#define | TRANS_SYNC_MIN 1 |
#define | TRANS_SYNC_MAX 240 |
#define | TRANS_RTR_SYNC 252 |
#define | TRANS_RTR 253 |
#define | TRANS_EVENT 255 |
#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@207:
nico@207: 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@207:
nico@207: Definition at line 32 of file objdictdef.h. nico@207:
#define domain 0x0F | nico@207:
nico@207: nico@207:
nico@207: Definition at line 46 of file objdictdef.h. nico@207:
#define GET_FUNCTION_CODE | nico@207:( | nico@207:m | nico@207:nico@207: | ) | nico@207:(m.cob_id.w >> 7) | nico@207:
nico@207: nico@207:
nico@207: Definition at line 133 of file objdictdef.h. nico@207:
#define GET_NODE_ID | nico@207:( | nico@207:m | nico@207:nico@207: | ) | nico@207:(m.cob_id.w & 0x7f) | nico@207:
nico@207: nico@207:
nico@207: Definition at line 132 of file objdictdef.h. nico@207:
#define identity 0x23 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 63 of file objdictdef.h. nico@207:
#define int16 0x03 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 34 of file objdictdef.h. nico@207:
#define int24 0x10 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 47 of file objdictdef.h. nico@207:
#define int32 0x04 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 35 of file objdictdef.h. nico@207:
#define int40 0x12 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 49 of file objdictdef.h. nico@207:
#define int48 0x13 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 50 of file objdictdef.h. nico@207:
#define int56 0x14 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 51 of file objdictdef.h. nico@207:
#define int64 0x15 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 52 of file objdictdef.h. nico@207:
#define int8 0x02 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 33 of file objdictdef.h. nico@207:
#define octet_string 0x0A | nico@207:
nico@207: nico@207:
nico@207: Definition at line 41 of file objdictdef.h. nico@207:
#define pdo_communication_parameter 0x20 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 60 of file objdictdef.h. nico@207:
#define pdo_mapping 0x21 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 61 of file objdictdef.h. nico@207:
#define real32 0x08 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 39 of file objdictdef.h. nico@207:
#define real64 0x11 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 48 of file objdictdef.h. nico@207:
#define RO 0x02 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 87 of file objdictdef.h. nico@207:
#define RW 0x00 | nico@207:
nico@207: Each entry of the object dictionary can be READONLY (RO), READ/WRITE (RW), WRITE-ONLY (WO) nico@207:
nico@207: Definition at line 85 of file objdictdef.h. nico@207:
#define sdo_parameter 0x22 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 62 of file objdictdef.h. nico@207:
#define time_difference 0x0D | nico@207:
nico@207: nico@207:
nico@207: Definition at line 44 of file objdictdef.h. nico@207:
#define time_of_day 0x0C | nico@207:
nico@207: nico@207:
nico@207: Definition at line 43 of file objdictdef.h. nico@207:
#define TO_BE_SAVE 0x04 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 89 of file objdictdef.h. nico@207:
#define TRANS_EVENT 255 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 80 of file objdictdef.h. nico@207:
#define TRANS_EVERY_N_SYNC | nico@207:( | nico@207:n | nico@207:nico@207: | ) | nico@207:(n) | nico@207:
nico@207: definitions of the different types of PDOs' transmission
nico@207: SYNCHRO(n) means that the PDO will be transmited every n SYNC signal. nico@207:
nico@207: Definition at line 75 of file objdictdef.h. nico@207:
#define TRANS_RTR 253 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 79 of file objdictdef.h. nico@207:
#define TRANS_RTR_SYNC 252 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 78 of file objdictdef.h. nico@207:
#define TRANS_SYNC_MAX 240 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 77 of file objdictdef.h. nico@207:
#define TRANS_SYNC_MIN 1 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 76 of file objdictdef.h. nico@207:
#define uint16 0x06 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 37 of file objdictdef.h. nico@207:
#define uint24 0x16 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 53 of file objdictdef.h. nico@207:
#define uint32 0x07 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 38 of file objdictdef.h. nico@207:
#define uint40 0x18 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 55 of file objdictdef.h. nico@207:
#define uint48 0x19 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 56 of file objdictdef.h. nico@207:
#define uint56 0x1A | nico@207:
nico@207: nico@207:
nico@207: Definition at line 57 of file objdictdef.h. nico@207:
#define uint64 0x1B | nico@207:
nico@207: nico@207:
nico@207: Definition at line 58 of file objdictdef.h. nico@207:
#define uint8 0x05 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 36 of file objdictdef.h. nico@207:
#define unicode_string 0x0B | nico@207:
nico@207: nico@207:
nico@207: Definition at line 42 of file objdictdef.h. nico@207:
#define visible_string 0x09 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 40 of file objdictdef.h. nico@207:
#define WO 0x01 | nico@207:
nico@207: nico@207:
nico@207: Definition at line 86 of file objdictdef.h. nico@207:
nico@207:
typedef struct td_indextable indextable | nico@207:
nico@207: Struct for creating entries in the communictaion profile nico@207:
typedef UNS32(*) ODCallback_t(CO_Data *d, const indextable *, UNS8 bSubindex) | nico@207:
nico@207: nico@207:
nico@207: Definition at line 126 of file objdictdef.h. nico@207:
typedef struct s_quick_index quick_index | nico@207:
nico@207: nico@207:
typedef const indextable*(*) scanIndexOD_t(UNS16 wIndex, UNS32 *errorCode, ODCallback_t **Callback) | nico@207:
nico@207: nico@207:
nico@207: Definition at line 127 of file objdictdef.h. nico@207:
typedef struct td_subindex subindex | nico@207:
nico@207: This are some structs which are neccessary for creating the entries of the object dictionary. nico@207:
nico@207: