Controller Class for Broadcom 10/100 MBit Ethernet PHY. More...
#include <DspPhyBroadcomBCM5221.h>
Public Member Functions | |
tcDspPhyBroadcomBCM5221 (void *apAddress) | |
virtual | ~tcDspPhyBroadcomBCM5221 () |
virtual bool | GetPhyStatus (tsNetPhyStatus &arPhyStatus, unsigned int anPhyAddr=0xFFFFFFFF) |
bool | Initialize (void) |
virtual const char * | GetPhyName (void) |
Public Member Functions inherited from tcDspNetPhy | |
virtual teNetPhyType | GetPhyType (unsigned int anPhyAddr=0xFFFFFFFF) |
unsigned int | PhyProbe () |
virtual bool | LinkUp (unsigned int anPhyAddr=0xFFFFFFFF) |
virtual unsigned short | GetMIIRegister (unsigned int anRegAddr, unsigned int anPhyAddr=0xFFFFFFFF) |
virtual int | SetMIIRegister (unsigned int anRegAddr, unsigned int anValue, unsigned int anPhyAddr=0xFFFFFFFF) |
Additional Inherited Members | |
Static Public Member Functions inherited from tcDspNetPhy | |
static tcDspNetPhy * | GetSpecificPhy (void *apAddress) |
Static Public Attributes inherited from tcDspNetPhy | |
static unsigned int | mnTicksPerMSec = CLK_countspms() / CLK_getprd() |
Conversion from low res clock ticks to msecs. | |
Protected Member Functions inherited from tcDspNetPhy | |
tcDspNetPhy (void *apAddress) | |
~tcDspNetPhy () | |
Protected Attributes inherited from tcDspNetPhy | |
unsigned int * | mpBaseAddr |
pointer to the tcNetDrvr class address | |
unsigned int | mnPhyAddr |
the PHY address being controlled | |
LCK_Handle | mhMutex |
used for serialization |
Controller Class for Broadcom 10/100 MBit Ethernet PHY.
This class provides PHY interface control over the Broadcom BCM5221 Ethernet PHY.
tcDspPhyBroadcomBCM5221::tcDspPhyBroadcomBCM5221 | ( | void * | apAddress | ) |
|
virtual |
Destructor. Typically not reached.
|
virtual |
Get the basic PHY status of a connected device from the standard MII status word.
[out] | arPhyStatus | structure to update |
[in] | anPhyAddr | address of the Phy (or 0xFFFFFFFF to probe) |
Reimplemented from tcDspNetPhy.
|
virtual |
This method is called by a tcDspNetdrvr instance while opening the EMAC interface for use. This routine should return true if there are no errors. Classes should re-implement this if specific MDIO or other intialization commands are necessary prior to operation of the device.
Reimplemented from tcDspNetPhy.
|
inlinevirtual |
Reimplemented from tcDspNetPhy.