ethernet.h File Reference


Detailed Description

Ethernet-over-EtherCAT (EoE).

Definition in file ethernet.h.

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 ec_eoe ec_eoe_t

Functions

int ec_eoe_init (ec_eoe_t *)
 EoE constructor.
void ec_eoe_clear (ec_eoe_t *)
 EoE destructor.
void ec_eoe_run (ec_eoe_t *)
 Runs the EoE state machine.
int ec_eoe_active (const ec_eoe_t *)
 Returns the state of the device.


Typedef Documentation

typedef struct ec_eoe ec_eoe_t
 

See also:
ec_eoe

Definition at line 64 of file ethernet.h.


Function Documentation

int ec_eoe_init ec_eoe_t eoe  ) 
 

EoE constructor.

Initializes the EoE handler, creates a net_device and registeres it.

Parameters:
eoe  EoE handler

Definition at line 85 of file ethernet.c.

void ec_eoe_clear ec_eoe_t eoe  ) 
 

EoE destructor.

Unregisteres the net_device and frees allocated memory.

Parameters:
eoe  EoE handler

Definition at line 162 of file ethernet.c.

int ec_eoe_active const ec_eoe_t eoe  ) 
 

Returns the state of the device.

Returns:
1 if the device is "up", 0 if it is "down"
Parameters:
eoe  EoE handler

Definition at line 303 of file ethernet.c.


Generated on Fri Sep 1 14:56:56 2006 for IgH EtherCAT master by  doxygen 1.4.6