1 /****************************************************************************** |
1 /****************************************************************************** |
2 * |
2 * |
3 * $Id$ |
3 * $Id$ |
4 * |
4 * |
5 * Copyright (C) 2006-2008 Florian Pose, Ingenieurgemeinschaft IgH |
5 * Copyright (C) 2006-2012 Florian Pose, Ingenieurgemeinschaft IgH |
6 * |
6 * |
7 * This file is part of the IgH EtherCAT Master. |
7 * This file is part of the IgH EtherCAT Master. |
8 * |
8 * |
9 * The IgH EtherCAT Master is free software; you can redistribute it and/or |
9 * The IgH EtherCAT Master is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU General Public License version 2, as |
10 * modify it under the terms of the GNU General Public License version 2, as |
139 ec_sync_signal_t dc_sync[EC_SYNC_SIGNAL_COUNT]; /**< DC sync signals. */ |
139 ec_sync_signal_t dc_sync[EC_SYNC_SIGNAL_COUNT]; /**< DC sync signals. */ |
140 |
140 |
141 struct list_head sdo_configs; /**< List of SDO configurations. */ |
141 struct list_head sdo_configs; /**< List of SDO configurations. */ |
142 struct list_head sdo_requests; /**< List of SDO requests. */ |
142 struct list_head sdo_requests; /**< List of SDO requests. */ |
143 struct list_head voe_handlers; /**< List of VoE handlers. */ |
143 struct list_head voe_handlers; /**< List of VoE handlers. */ |
|
144 struct list_head reg_requests; /**< List of register requests. */ |
144 struct list_head soe_configs; /**< List of SoE configurations. */ |
145 struct list_head soe_configs; /**< List of SoE configurations. */ |
145 |
146 |
146 ec_coe_emerg_ring_t emerg_ring; /**< CoE emergency ring buffer. */ |
147 ec_coe_emerg_ring_t emerg_ring; /**< CoE emergency ring buffer. */ |
147 }; |
148 }; |
148 |
149 |
163 unsigned int ec_slave_config_idn_count(const ec_slave_config_t *); |
164 unsigned int ec_slave_config_idn_count(const ec_slave_config_t *); |
164 const ec_soe_request_t *ec_slave_config_get_idn_by_pos_const( |
165 const ec_soe_request_t *ec_slave_config_get_idn_by_pos_const( |
165 const ec_slave_config_t *, unsigned int); |
166 const ec_slave_config_t *, unsigned int); |
166 ec_sdo_request_t *ec_slave_config_find_sdo_request(ec_slave_config_t *, |
167 ec_sdo_request_t *ec_slave_config_find_sdo_request(ec_slave_config_t *, |
167 unsigned int); |
168 unsigned int); |
|
169 ec_reg_request_t *ec_slave_config_find_reg_request(ec_slave_config_t *, |
|
170 unsigned int); |
168 ec_voe_handler_t *ec_slave_config_find_voe_handler(ec_slave_config_t *, |
171 ec_voe_handler_t *ec_slave_config_find_voe_handler(ec_slave_config_t *, |
169 unsigned int); |
172 unsigned int); |
170 |
173 |
171 ec_sdo_request_t *ecrt_slave_config_create_sdo_request_err( |
174 ec_sdo_request_t *ecrt_slave_config_create_sdo_request_err( |
172 ec_slave_config_t *, uint16_t, uint8_t, size_t); |
175 ec_slave_config_t *, uint16_t, uint8_t, size_t); |
173 ec_voe_handler_t *ecrt_slave_config_create_voe_handler_err( |
176 ec_voe_handler_t *ecrt_slave_config_create_voe_handler_err( |
174 ec_slave_config_t *, size_t); |
177 ec_slave_config_t *, size_t); |
|
178 ec_reg_request_t *ecrt_slave_config_create_reg_request_err( |
|
179 ec_slave_config_t *, size_t); |
175 |
180 |
176 /*****************************************************************************/ |
181 /*****************************************************************************/ |
177 |
182 |
178 #endif |
183 #endif |