hal.h File Reference


Detailed Description

Hardware abstraction (license: GPLv2).

Author:
Roland Riegel


Defines

#define hal_init(mac)
 Initializes the network hardware and assigns the given hardware address.
#define hal_receive_packet(buffer, buffer_len)
 Fetches the next ethernet packet from the device.
#define hal_send_packet(buffer, buffer_len)
 Sends an ethernet packet to the device.
#define hal_link_up()
 Checks wether the network link is up and has been continuously up since the last call.


Generated on Thu May 22 18:12:37 2008 for mega-eth by  doxygen 1.5.5