Dallas Semiconductor DS80C400 C Libraries Home Page

Main Page   Data Structures   File List   Data Fields   Globals  

rom400_rarp.h File Reference


Detailed Description

RARP library for the DS80C400.

This library allows a user to send a RARP request to the network.

For detailed information on the DS80C400 please see the High-Speed Microcontroller User's Guide: DS80C400 Supplement.

Go to the source code of this file.

Defines

#define ROM400_RARP_VERSION   1

Functions

unsigned int rarp_version (void)
 Returns the version number of this RARP library.

void rarp_send (void(*callback)(unsigned long))
 Send a RARP request.

void rarp_stop (void)
 Disable reception of RARP packets (in the event of a timeout).


Define Documentation

#define ROM400_RARP_VERSION   1
 

Version number associated with this header file. Should be the same as the version number returned by the rarp_version function.

See also:
rarp_version


Function Documentation

void rarp_send void(*    callback)(unsigned long)
 

Send a RARP request.

Parameters:
callback function that gets called when RARP receives an IP address (the IP address will be supplied to callback MSB first)

void rarp_stop void   
 

Disable reception of RARP packets (in the event of a timeout).

If RARP receives an IP address, it is not necessary to call this funtion. This function is only necessary if the callback from rarp_send was never called.

unsigned int rarp_version void   
 

Returns the version number of this RARP library.

Returns:
Version number of this RARP library.


Copyright 2004 Dallas Semiconductor, Inc.. Documentation generated by Doxygen.