debug.h File Reference


Detailed Description

Network interface for debugging purposes.

Definition in file debug.h.

Go to the source code of this file.

Data Structures

struct  ec_debug_t
 Debugging network interface. More...

Functions

int ec_debug_init (ec_debug_t *)
 Debug constructor.
void ec_debug_clear (ec_debug_t *)
 Debug destructor.
void ec_debug_send (ec_debug_t *, const uint8_t *, size_t)
 Sends frame data to the interface.


Function Documentation

int ec_debug_init ec_debug_t dbg  ) 
 

Debug constructor.

Initializes the debug object, creates a net_device and registeres it.

Parameters:
dbg  debug object

Definition at line 61 of file debug.c.

void ec_debug_clear ec_debug_t dbg  ) 
 

Debug destructor.

Unregisteres the net_device and frees allocated memory.

Parameters:
dbg  debug object

Definition at line 104 of file debug.c.


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