equal
deleted
inserted
replaced
228 done by the master calling the ISR "manually". |
228 done by the master calling the ISR "manually". |
229 */ |
229 */ |
230 |
230 |
231 void ec_device_call_isr(ec_device_t *device /**< EtherCAT device */) |
231 void ec_device_call_isr(ec_device_t *device /**< EtherCAT device */) |
232 { |
232 { |
|
233 device->cycles_isr = get_cycles(); |
|
234 device->jiffies_isr = jiffies; |
233 if (likely(device->isr)) device->isr(0, device->dev, NULL); |
235 if (likely(device->isr)) device->isr(0, device->dev, NULL); |
234 } |
236 } |
235 |
237 |
236 /****************************************************************************** |
238 /****************************************************************************** |
237 * Device interface |
239 * Device interface |