|
IgH EtherCAT Master
1.5.3
|
Ethernet over EtherCAT (EoE) More...
Go to the source code of this file.
Data Structures | |
| struct | ec_eoe_frame_t |
| Queued frame structure. More... | |
| struct | ec_eoe |
| Ethernet over EtherCAT (EoE) handler. More... | |
Typedefs | |
| typedef struct ec_eoe | ec_eoe_t |
Functions | |
| int | ec_eoe_init (ec_eoe_t *, ec_slave_t *) |
| EoE constructor. More... | |
| void | ec_eoe_clear (ec_eoe_t *) |
| EoE destructor. More... | |
| void | ec_eoe_run (ec_eoe_t *) |
| Runs the EoE state machine. | |
| void | ec_eoe_queue (ec_eoe_t *) |
| Queues the datagram, if necessary. | |
| int | ec_eoe_is_open (const ec_eoe_t *) |
| Returns the state of the device. More... | |
| int | ec_eoe_is_idle (const ec_eoe_t *) |
| Returns the idle state. More... | |
Ethernet over EtherCAT (EoE)
Definition in file ethernet.h.
Definition at line 68 of file ethernet.h.
| int ec_eoe_init | ( | ec_eoe_t * | eoe, |
| ec_slave_t * | slave | ||
| ) |
EoE constructor.
Initializes the EoE handler, creates a net_device and registers it.
| eoe | EoE handler |
| slave | EtherCAT slave |
Definition at line 114 of file ethernet.c.
| void ec_eoe_clear | ( | ec_eoe_t * | eoe | ) |
EoE destructor.
Unregisteres the net_device and frees allocated memory.
| eoe | EoE handler |
Definition at line 234 of file ethernet.c.
| int ec_eoe_is_open | ( | const ec_eoe_t * | eoe | ) |
Returns the state of the device.
| eoe | EoE handler |
Definition at line 393 of file ethernet.c.
| int ec_eoe_is_idle | ( | const ec_eoe_t * | eoe | ) |
Returns the idle state.
| 1 | The device is idle. |
| 0 | The device is busy. |
| eoe | EoE handler |
Definition at line 405 of file ethernet.c.