equal
deleted
inserted
replaced
57 #include <stdint.h> |
57 #include <stdint.h> |
58 #endif |
58 #endif |
59 |
59 |
60 /*****************************************************************************/ |
60 /*****************************************************************************/ |
61 |
61 |
|
62 /** |
|
63 * EtherCAT real-time interface major version number. |
|
64 */ |
62 #define ECRT_VER_MAJOR 1 |
65 #define ECRT_VER_MAJOR 1 |
|
66 |
|
67 /** |
|
68 * EtherCAT real-time interface minor version number. |
|
69 */ |
63 #define ECRT_VER_MINOR 3 |
70 #define ECRT_VER_MINOR 3 |
64 |
71 |
|
72 /** |
|
73 * EtherCAT real-time interface version word generator. |
|
74 */ |
65 #define ECRT_VERSION(a,b) (((a) << 8) + (b)) |
75 #define ECRT_VERSION(a,b) (((a) << 8) + (b)) |
|
76 |
|
77 /** |
|
78 * EtherCAT real-time interface version word. |
|
79 */ |
66 #define ECRT_VERSION_MAGIC ECRT_VERSION(ECRT_VER_MAJOR, ECRT_VER_MINOR) |
80 #define ECRT_VERSION_MAGIC ECRT_VERSION(ECRT_VER_MAJOR, ECRT_VER_MINOR) |
67 |
81 |
68 /*****************************************************************************/ |
82 /*****************************************************************************/ |
69 |
83 |
70 struct ec_master; |
84 struct ec_master; |