equal
deleted
inserted
replaced
144 ec_eeprom_pdo_entry_t; |
144 ec_eeprom_pdo_entry_t; |
145 |
145 |
146 /*****************************************************************************/ |
146 /*****************************************************************************/ |
147 |
147 |
148 /** |
148 /** |
|
149 CANopen-SDO. |
|
150 */ |
|
151 |
|
152 typedef struct |
|
153 { |
|
154 struct list_head list; |
|
155 uint16_t index; |
|
156 uint16_t type; |
|
157 uint8_t max_subindex; |
|
158 uint8_t features; |
|
159 char *name; |
|
160 } |
|
161 ec_sdo_t; |
|
162 |
|
163 /*****************************************************************************/ |
|
164 |
|
165 /** |
149 EtherCAT-Slave |
166 EtherCAT-Slave |
150 */ |
167 */ |
151 |
168 |
152 struct ec_slave |
169 struct ec_slave |
153 { |
170 { |
185 struct list_head eeprom_pdos; /**< PDO-Beschreibungen im EEPROM */ |
202 struct list_head eeprom_pdos; /**< PDO-Beschreibungen im EEPROM */ |
186 |
203 |
187 char *eeprom_name; /**< Slave-Name laut Hersteller */ |
204 char *eeprom_name; /**< Slave-Name laut Hersteller */ |
188 char *eeprom_group; /**< Slave-Beschreibung laut Hersteller */ |
205 char *eeprom_group; /**< Slave-Beschreibung laut Hersteller */ |
189 char *eeprom_desc; /**< Slave-Beschreibung laut Hersteller */ |
206 char *eeprom_desc; /**< Slave-Beschreibung laut Hersteller */ |
|
207 |
|
208 struct list_head sdo_dictionary; /**< SDO-Verzeichnis des Slaves */ |
190 }; |
209 }; |
191 |
210 |
192 /*****************************************************************************/ |
211 /*****************************************************************************/ |
193 |
212 |
194 // Slave construction/destruction |
213 // Slave construction/destruction |