XenevaOS
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions
lan7800.h File Reference
#include "uspi/usbfunction.h"
#include "uspi/usbendpoint.h"
#include "uspi/usbrequest.h"
#include "uspi/macaddress.h"
#include "uspi/types.h"
Include dependency graph for lan7800.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TLAN7800Device
 

Macros

#define FRAME_BUFFER_SIZE   1600
 

Typedefs

typedef struct TLAN7800Device TLAN7800Device
 

Functions

void LAN7800Device (TLAN7800Device *pThis, TUSBFunction *pFunction)
 
void _LAN7800Device (TLAN7800Device *pThis)
 
boolean LAN7800DeviceConfigure (TUSBFunction *pUSBFunction)
 
TMACAddressLAN7800DeviceGetMACAddress (TLAN7800Device *pThis)
 
boolean LAN7800DeviceSendFrame (TLAN7800Device *pThis, const void *pBuffer, unsigned nLength)
 
boolean LAN7800DeviceReceiveFrame (TLAN7800Device *pThis, void *pBuffer, unsigned *pResultLength)
 
boolean LAN7800DeviceIsLinkUp (TLAN7800Device *pThis)
 

Macro Definition Documentation

◆ FRAME_BUFFER_SIZE

#define FRAME_BUFFER_SIZE   1600

Typedef Documentation

◆ TLAN7800Device

Function Documentation

◆ _LAN7800Device()

void _LAN7800Device ( TLAN7800Device pThis)

◆ LAN7800Device()

void LAN7800Device ( TLAN7800Device pThis,
TUSBFunction pFunction 
)

◆ LAN7800DeviceConfigure()

boolean LAN7800DeviceConfigure ( TUSBFunction pUSBFunction)

◆ LAN7800DeviceGetMACAddress()

TMACAddress * LAN7800DeviceGetMACAddress ( TLAN7800Device pThis)

◆ LAN7800DeviceIsLinkUp()

boolean LAN7800DeviceIsLinkUp ( TLAN7800Device pThis)

◆ LAN7800DeviceReceiveFrame()

boolean LAN7800DeviceReceiveFrame ( TLAN7800Device pThis,
void *  pBuffer,
unsigned *  pResultLength 
)

◆ LAN7800DeviceSendFrame()

boolean LAN7800DeviceSendFrame ( TLAN7800Device pThis,
const void *  pBuffer,
unsigned  nLength 
)