equal
deleted
inserted
replaced
41 #define __EC_MASTER_GLOBALS_H__ |
41 #define __EC_MASTER_GLOBALS_H__ |
42 |
42 |
43 #include <linux/types.h> |
43 #include <linux/types.h> |
44 |
44 |
45 #include "../globals.h" |
45 #include "../globals.h" |
|
46 #include "../include/ecrt.h" |
46 |
47 |
47 /****************************************************************************** |
48 /****************************************************************************** |
48 * EtherCAT master |
49 * EtherCAT master |
49 *****************************************************************************/ |
50 *****************************************************************************/ |
50 |
51 |
251 * |
252 * |
252 * \attention If ever changing this, please be sure to adjust the \a |
253 * \attention If ever changing this, please be sure to adjust the \a |
253 * state_table in master/sdo_request.c. |
254 * state_table in master/sdo_request.c. |
254 */ |
255 */ |
255 typedef enum { |
256 typedef enum { |
256 EC_REQUEST_INIT, |
257 EC_INT_REQUEST_INIT, |
257 EC_REQUEST_QUEUED, |
258 EC_INT_REQUEST_QUEUED, |
258 EC_REQUEST_BUSY, |
259 EC_INT_REQUEST_BUSY, |
259 EC_REQUEST_SUCCESS, |
260 EC_INT_REQUEST_SUCCESS, |
260 EC_REQUEST_FAILURE |
261 EC_INT_REQUEST_FAILURE |
261 } ec_request_state_t; |
262 } ec_internal_request_state_t; |
|
263 |
|
264 /*****************************************************************************/ |
|
265 |
|
266 extern const ec_request_state_t ec_request_state_translation_table[]; |
262 |
267 |
263 /*****************************************************************************/ |
268 /*****************************************************************************/ |
264 |
269 |
265 /** Origin type. |
270 /** Origin type. |
266 */ |
271 */ |