equal
deleted
inserted
replaced
164 struct list_head eoe_handlers; /**< Ethernet over EtherCAT handlers. */ |
164 struct list_head eoe_handlers; /**< Ethernet over EtherCAT handlers. */ |
165 #endif |
165 #endif |
166 |
166 |
167 struct semaphore io_sem; /**< Semaphore used in \a IDLE phase. */ |
167 struct semaphore io_sem; /**< Semaphore used in \a IDLE phase. */ |
168 |
168 |
169 void (*send_cb)(ec_master_t *); /**< Current send datagrams callback. */ |
169 void (*send_cb)(void *); /**< Current send datagrams callback. */ |
170 void (*receive_cb)(ec_master_t *); /**< Current receive datagrams callback. */ |
170 void (*receive_cb)(void *); /**< Current receive datagrams callback. */ |
171 void (*app_send_cb)(ec_master_t *); /**< Application's send datagrams |
171 void *cb_data; /**< Current callback data. */ |
|
172 void (*app_send_cb)(void *); /**< Application's send datagrams |
172 callback. */ |
173 callback. */ |
173 void (*app_receive_cb)(ec_master_t *); /**< Application's receive datagrams |
174 void (*app_receive_cb)(void *); /**< Application's receive datagrams |
174 callback. */ |
175 callback. */ |
|
176 void *app_cb_data; /**< Application callback data. */ |
175 |
177 |
176 struct list_head sii_requests; /**< SII write requests. */ |
178 struct list_head sii_requests; /**< SII write requests. */ |
177 wait_queue_head_t sii_queue; /**< Wait queue for SII |
179 wait_queue_head_t sii_queue; /**< Wait queue for SII |
178 write requests from user space. */ |
180 write requests from user space. */ |
179 |
181 |
245 ec_slave_config_t *ecrt_master_slave_config_err(ec_master_t *, uint16_t, |
247 ec_slave_config_t *ecrt_master_slave_config_err(ec_master_t *, uint16_t, |
246 uint16_t, uint32_t, uint32_t); |
248 uint16_t, uint32_t, uint32_t); |
247 |
249 |
248 void ec_master_calc_dc(ec_master_t *); |
250 void ec_master_calc_dc(ec_master_t *); |
249 |
251 |
250 void ec_master_internal_send_cb(ec_master_t *); |
252 void ec_master_internal_send_cb(void *); |
251 void ec_master_internal_receive_cb(ec_master_t *); |
253 void ec_master_internal_receive_cb(void *); |
252 |
254 |
253 /*****************************************************************************/ |
255 /*****************************************************************************/ |
254 |
256 |
255 #endif |
257 #endif |