Definition in file device.h.
Go to the source code of this file.
Data Structures | |
| struct | ec_device |
| EtherCAT device. More... | |
Functions | |
| int | ec_device_init (ec_device_t *, ec_master_t *, struct net_device *, ec_isr_t, struct module *) |
| Device constructor. | |
| void | ec_device_clear (ec_device_t *) |
| EtherCAT device destuctor. | |
| int | ec_device_open (ec_device_t *) |
| Opens the EtherCAT device. | |
| int | ec_device_close (ec_device_t *) |
| Stops the EtherCAT device. | |
| void | ec_device_call_isr (ec_device_t *) |
| Calls the interrupt service routine of the assigned net_device. | |
| uint8_t * | ec_device_tx_data (ec_device_t *) |
| Returns a pointer to the device's transmit memory. | |
| void | ec_device_send (ec_device_t *, size_t) |
| Sends the content of the transmit socket buffer. | |
|
||||||||||||||||||||||||
|
Device constructor.
|
|
|
Opens the EtherCAT device.
|
|
|
Stops the EtherCAT device.
|
|
|
Calls the interrupt service routine of the assigned net_device. The master itself works without using interrupts. Therefore the processing of received data and status changes of the network device has to be done by the master calling the ISR "manually".
|
|
|
Returns a pointer to the device's transmit memory.
|
|
||||||||||||
|
Sends the content of the transmit socket buffer. Cuts the socket buffer content to the (now known) size, and calls the start_xmit() function of the assigned net_device.
|
1.4.6