equal
deleted
inserted
replaced
24 * |
24 * |
25 *****************************************************************************/ |
25 *****************************************************************************/ |
26 |
26 |
27 /** |
27 /** |
28 \file |
28 \file |
29 EtherCAT CANopen Sdo structure. |
29 EtherCAT CANopen SDO structure. |
30 */ |
30 */ |
31 |
31 |
32 /*****************************************************************************/ |
32 /*****************************************************************************/ |
33 |
33 |
34 #ifndef __EC_SDO_H__ |
34 #ifndef __EC_SDO_H__ |
39 #include "globals.h" |
39 #include "globals.h" |
40 #include "sdo_entry.h" |
40 #include "sdo_entry.h" |
41 |
41 |
42 /*****************************************************************************/ |
42 /*****************************************************************************/ |
43 |
43 |
44 /** CANopen Sdo. |
44 /** CANopen SDO. |
45 */ |
45 */ |
46 struct ec_sdo { |
46 struct ec_sdo { |
47 struct list_head list; /**< List item. */ |
47 struct list_head list; /**< List item. */ |
48 ec_slave_t *slave; /**< Parent slave. */ |
48 ec_slave_t *slave; /**< Parent slave. */ |
49 uint16_t index; /**< Sdo index. */ |
49 uint16_t index; /**< SDO index. */ |
50 uint8_t object_code; /**< Object code. */ |
50 uint8_t object_code; /**< Object code. */ |
51 char *name; /**< Sdo name. */ |
51 char *name; /**< SDO name. */ |
52 uint8_t max_subindex; /**< Maximum subindex. */ |
52 uint8_t max_subindex; /**< Maximum subindex. */ |
53 struct list_head entries; /**< List of entries. */ |
53 struct list_head entries; /**< List of entries. */ |
54 }; |
54 }; |
55 |
55 |
56 /*****************************************************************************/ |
56 /*****************************************************************************/ |