MityDSP Documentation Index

e:/hudson/workspace/MityDSP MDK Release/trunk/sw/inc/net/net_drvr/net_drvr.h File Reference

MityDSP network driver base class header file. More...

#include "net/net_drvr/DspNetPhy.h"

Classes

struct  tsNetDrvrStats
class  tcNetDrvr

Defines

#define PBUF_DIRECT_COPY   1

Typedefs

typedef void(* tfNetRxCallback )(void *apBuffer, int anLen, void *apUser, bool abInIsr)
typedef void *(* tfNetBufCallback )(int anLen, void *apUser)

Detailed Description

MityDSP network driver base class header file.

o 0 | / Copyright (c) 2005-2007 (CL)---o Critical Link, LLC \ O


Define Documentation

#define PBUF_DIRECT_COPY   1

Typedef Documentation

typedef void(* tfNetRxCallback)(void *apBuffer, int anLen, void *apUser, bool abInIsr)

This prototype defines a callback function that is activated each time an Ethernet packet is received from the network.

Parameters:
[in] apBuffer Pointer to the Ethernet packet.
[in] anLen The number of bytes in the Ethernet packet.
[in] apUser A callback-specific parameter supplied when the callback is registered.
[in] abInIsr True if being called from ISR context
Returns:
None.
typedef void*(* tfNetBufCallback)(int anLen, void *apUser)

This prototype defines a callback function that is activated each time a new empty receive buffer is required.

Note:
The buffer must be at least the requested size, and must be L1 cache aligned.
Parameters:
[in] anLen The number of bytes required in the buffer.
[in] apUser A callback-specific parameter supplied when the callback is registered.
Returns:
Pointer to the buffer, or NULL if none could be allocated.

  
Generated on Wed Mar 17 18:24:38 2010 for MityDSP Net by  Doxygen Version 1.6.1
Copyright © 2009, Critical Link LLC, All rights reserved.