equal
deleted
inserted
replaced
99 /** Maximum number of FMMUs per slave. */ |
99 /** Maximum number of FMMUs per slave. */ |
100 #define EC_MAX_FMMUS 16 |
100 #define EC_MAX_FMMUS 16 |
101 |
101 |
102 /** Size of an FMMU configuration page. */ |
102 /** Size of an FMMU configuration page. */ |
103 #define EC_FMMU_PAGE_SIZE 16 |
103 #define EC_FMMU_PAGE_SIZE 16 |
|
104 |
|
105 /** Number of DC sync signals. */ |
|
106 #define EC_SYNC_SIGNAL_COUNT 2 |
104 |
107 |
105 /** Slave state mask. |
108 /** Slave state mask. |
106 * |
109 * |
107 * Apply this mask to a slave state byte to get the slave state without |
110 * Apply this mask to a slave state byte to get the slave state without |
108 * the error flag. |
111 * the error flag. |
180 EC_DC_32, /**< 32 bit. */ |
183 EC_DC_32, /**< 32 bit. */ |
181 EC_DC_64 /*< 64 bit for system time, system time offset and |
184 EC_DC_64 /*< 64 bit for system time, system time offset and |
182 port 0 receive time. */ |
185 port 0 receive time. */ |
183 } ec_slave_dc_range_t; |
186 } ec_slave_dc_range_t; |
184 |
187 |
|
188 /** EtherCAT slave sync signal configuration. |
|
189 */ |
|
190 typedef struct { |
|
191 uint32_t cycle_time; /**< Cycle time [ns]. */ |
|
192 uint32_t shift_time; /**< Shift time [ns]. */ |
|
193 } ec_sync_signal_t; |
|
194 |
185 /** Access states for SDO entries. |
195 /** Access states for SDO entries. |
186 * |
196 * |
187 * The access rights are managed per AL state. |
197 * The access rights are managed per AL state. |
188 */ |
198 */ |
189 enum { |
199 enum { |