/home/epimerde/documents/tc11/CanFestival-3/include/objdictdef.h File Reference

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 Documentation

#define boolean   0x01

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.

Definition at line 32 of file objdictdef.h.

#define domain   0x0F

Definition at line 46 of file objdictdef.h.

#define GET_FUNCTION_CODE (  )     (m.cob_id.w >> 7)

Definition at line 133 of file objdictdef.h.

#define GET_NODE_ID (  )     (m.cob_id.w & 0x7f)

Definition at line 132 of file objdictdef.h.

#define identity   0x23

Definition at line 63 of file objdictdef.h.

#define int16   0x03

Definition at line 34 of file objdictdef.h.

#define int24   0x10

Definition at line 47 of file objdictdef.h.

#define int32   0x04

Definition at line 35 of file objdictdef.h.

#define int40   0x12

Definition at line 49 of file objdictdef.h.

#define int48   0x13

Definition at line 50 of file objdictdef.h.

#define int56   0x14

Definition at line 51 of file objdictdef.h.

#define int64   0x15

Definition at line 52 of file objdictdef.h.

#define int8   0x02

Definition at line 33 of file objdictdef.h.

#define octet_string   0x0A

Definition at line 41 of file objdictdef.h.

#define pdo_communication_parameter   0x20

Definition at line 60 of file objdictdef.h.

#define pdo_mapping   0x21

Definition at line 61 of file objdictdef.h.

#define real32   0x08

Definition at line 39 of file objdictdef.h.

#define real64   0x11

Definition at line 48 of file objdictdef.h.

#define RO   0x02

Definition at line 87 of file objdictdef.h.

#define RW   0x00

Each entry of the object dictionary can be READONLY (RO), READ/WRITE (RW), WRITE-ONLY (WO)

Definition at line 85 of file objdictdef.h.

#define sdo_parameter   0x22

Definition at line 62 of file objdictdef.h.

#define time_difference   0x0D

Definition at line 44 of file objdictdef.h.

#define time_of_day   0x0C

Definition at line 43 of file objdictdef.h.

#define TO_BE_SAVE   0x04

Definition at line 89 of file objdictdef.h.

#define TRANS_EVENT   255

Definition at line 80 of file objdictdef.h.

#define TRANS_EVERY_N_SYNC (  )     (n)

definitions of the different types of PDOs' transmission

SYNCHRO(n) means that the PDO will be transmited every n SYNC signal.

Definition at line 75 of file objdictdef.h.

#define TRANS_RTR   253

Definition at line 79 of file objdictdef.h.

#define TRANS_RTR_SYNC   252

Definition at line 78 of file objdictdef.h.

#define TRANS_SYNC_MAX   240

Definition at line 77 of file objdictdef.h.

#define TRANS_SYNC_MIN   1

Definition at line 76 of file objdictdef.h.

#define uint16   0x06

Definition at line 37 of file objdictdef.h.

#define uint24   0x16

Definition at line 53 of file objdictdef.h.

#define uint32   0x07

Definition at line 38 of file objdictdef.h.

#define uint40   0x18

Definition at line 55 of file objdictdef.h.

#define uint48   0x19

Definition at line 56 of file objdictdef.h.

#define uint56   0x1A

Definition at line 57 of file objdictdef.h.

#define uint64   0x1B

Definition at line 58 of file objdictdef.h.

#define uint8   0x05

Definition at line 36 of file objdictdef.h.

#define unicode_string   0x0B

Definition at line 42 of file objdictdef.h.

#define visible_string   0x09

Definition at line 40 of file objdictdef.h.

#define WO   0x01

Definition at line 86 of file objdictdef.h.


Typedef Documentation

typedef struct td_indextable indextable

Struct for creating entries in the communictaion profile

typedef UNS32(*) ODCallback_t(CO_Data *d, const indextable *, UNS8 bSubindex)

Definition at line 126 of file objdictdef.h.

typedef struct s_quick_index quick_index

typedef const indextable*(*) scanIndexOD_t(UNS16 wIndex, UNS32 *errorCode, ODCallback_t **Callback)

Definition at line 127 of file objdictdef.h.

typedef struct td_subindex subindex

This are some structs which are neccessary for creating the entries of the object dictionary.


Generated on Mon Jun 4 16:29:07 2007 for CanFestival by  doxygen 1.5.1