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.
unsigned int ec_eoe_active (const ec_eoe_t *)
 Returns the state of the device.
void ec_eoe_print (const ec_eoe_t *)
 Prints EoE handler information.


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 156 of file ethernet.c.

unsigned 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 290 of file ethernet.c.


Generated on Wed Aug 2 18:41:43 2006 for IgH EtherCAT master by  doxygen 1.4.6