equal
deleted
inserted
replaced
120 struct list_head eoe_handlers; /**< Ethernet-over-EtherCAT handlers */ |
120 struct list_head eoe_handlers; /**< Ethernet-over-EtherCAT handlers */ |
121 spinlock_t internal_lock; /**< spinlock used in freerun mode */ |
121 spinlock_t internal_lock; /**< spinlock used in freerun mode */ |
122 int (*request_cb)(void *); /**< lock request callback */ |
122 int (*request_cb)(void *); /**< lock request callback */ |
123 void (*release_cb)(void *); /**< lock release callback */ |
123 void (*release_cb)(void *); /**< lock release callback */ |
124 void *cb_data; /**< data parameter of locking callbacks */ |
124 void *cb_data; /**< data parameter of locking callbacks */ |
|
125 |
|
126 uint8_t eeprom_write_enable; /**< allow write operations to EEPROMs */ |
125 }; |
127 }; |
126 |
128 |
127 /*****************************************************************************/ |
129 /*****************************************************************************/ |
128 |
130 |
129 // master creation and deletion |
131 // master creation and deletion |
147 // slave management |
149 // slave management |
148 int ec_master_bus_scan(ec_master_t *); |
150 int ec_master_bus_scan(ec_master_t *); |
149 |
151 |
150 // misc. |
152 // misc. |
151 void ec_master_clear_slaves(ec_master_t *); |
153 void ec_master_clear_slaves(ec_master_t *); |
152 void ec_sync_config(const ec_sync_t *, uint8_t *); |
154 void ec_sync_config(const ec_sync_t *, const ec_slave_t *, uint8_t *); |
153 void ec_eeprom_sync_config(const ec_eeprom_sync_t *, uint8_t *); |
155 void ec_eeprom_sync_config(const ec_eeprom_sync_t *, uint8_t *); |
154 void ec_fmmu_config(const ec_fmmu_t *, uint8_t *); |
156 void ec_fmmu_config(const ec_fmmu_t *, const ec_slave_t *, uint8_t *); |
155 void ec_master_output_stats(ec_master_t *); |
157 void ec_master_output_stats(ec_master_t *); |
156 |
158 |
157 /*****************************************************************************/ |
159 /*****************************************************************************/ |
158 |
160 |
159 #endif |
161 #endif |