equal
deleted
inserted
replaced
155 typedef struct { |
155 typedef struct { |
156 uint8_t enable_safeop : 1; /**< ?. */ |
156 uint8_t enable_safeop : 1; /**< ?. */ |
157 uint8_t enable_not_lrw : 1; /**< Slave does not support LRW. */ |
157 uint8_t enable_not_lrw : 1; /**< Slave does not support LRW. */ |
158 } ec_sii_general_flags_t; |
158 } ec_sii_general_flags_t; |
159 |
159 |
|
160 /** EtherCAT slave port descriptor. |
|
161 */ |
|
162 typedef enum { |
|
163 EC_PORT_NOT_IMPLEMENTED, |
|
164 EC_PORT_NOT_CONFIGURED, |
|
165 EC_PORT_EBUS, |
|
166 EC_PORT_MII |
|
167 } ec_slave_port_desc_t; |
|
168 |
|
169 /** EtherCAT slave distributed clocks range. |
|
170 */ |
|
171 typedef enum { |
|
172 EC_DC_32, /**< 32 bit. */ |
|
173 EC_DC_64 /*< 64 bit for system time, system time offset and |
|
174 port 0 receive time. */ |
|
175 } ec_slave_dc_range_t; |
|
176 |
160 /*****************************************************************************/ |
177 /*****************************************************************************/ |
161 |
178 |
162 /** Convenience macro for printing EtherCAT-specific information to syslog. |
179 /** Convenience macro for printing EtherCAT-specific information to syslog. |
163 * |
180 * |
164 * This will print the message in \a fmt with a prefixed "EtherCAT: ". |
181 * This will print the message in \a fmt with a prefixed "EtherCAT: ". |