equal
deleted
inserted
replaced
56 ec_direction_t dir; /**< Pdo direction. */ |
56 ec_direction_t dir; /**< Pdo direction. */ |
57 uint16_t index; /**< Pdo index. */ |
57 uint16_t index; /**< Pdo index. */ |
58 int8_t sync_index; /**< Assigned sync manager. */ |
58 int8_t sync_index; /**< Assigned sync manager. */ |
59 char *name; /**< Pdo name. */ |
59 char *name; /**< Pdo name. */ |
60 struct list_head entries; /**< List of Pdo entries. */ |
60 struct list_head entries; /**< List of Pdo entries. */ |
|
61 unsigned int default_config; /**< The entries contain the default Pdo |
|
62 configuration. */ |
61 } ec_pdo_t; |
63 } ec_pdo_t; |
62 |
64 |
63 /*****************************************************************************/ |
65 /*****************************************************************************/ |
64 |
66 |
65 /** Pdo entry description. |
67 /** Pdo entry description. |
75 /*****************************************************************************/ |
77 /*****************************************************************************/ |
76 |
78 |
77 void ec_pdo_init(ec_pdo_t *); |
79 void ec_pdo_init(ec_pdo_t *); |
78 int ec_pdo_init_copy(ec_pdo_t *, const ec_pdo_t *); |
80 int ec_pdo_init_copy(ec_pdo_t *, const ec_pdo_t *); |
79 void ec_pdo_clear(ec_pdo_t *); |
81 void ec_pdo_clear(ec_pdo_t *); |
|
82 void ec_pdo_clear_entries(ec_pdo_t *); |
80 int ec_pdo_set_name(ec_pdo_t *, const char *); |
83 int ec_pdo_set_name(ec_pdo_t *, const char *); |
|
84 ec_pdo_entry_t *ec_pdo_add_entry(ec_pdo_t *, uint16_t, uint8_t, uint8_t); |
81 int ec_pdo_copy_entries(ec_pdo_t *, const ec_pdo_t *); |
85 int ec_pdo_copy_entries(ec_pdo_t *, const ec_pdo_t *); |
82 int ec_pdo_equal_entries(const ec_pdo_t *, const ec_pdo_t *); |
86 int ec_pdo_equal_entries(const ec_pdo_t *, const ec_pdo_t *); |
83 |
87 |
84 void ec_pdo_entry_init(ec_pdo_entry_t *); |
88 void ec_pdo_entry_init(ec_pdo_entry_t *); |
85 int ec_pdo_entry_init_copy(ec_pdo_entry_t *, const ec_pdo_entry_t *); |
89 int ec_pdo_entry_init_copy(ec_pdo_entry_t *, const ec_pdo_entry_t *); |