MityDSP Documentation Index

tcDspPhyCrystalLanCS8952 Class Reference

Controller Class for Broadcom 10/100 MBit Ethernet PHY. More...

#include <DspPhyCrystalLanCS8952.h>

Inheritance diagram for tcDspPhyCrystalLanCS8952:
tcDspNetPhy

List of all members.

Public Member Functions

 tcDspPhyCrystalLanCS8952 (void *apAddress)
virtual ~tcDspPhyCrystalLanCS8952 ()
virtual bool GetPhyStatus (tsNetPhyStatus &arPhyStatus, unsigned int anPhyAddr=0xFFFFFFFF)
bool Initialize (void)
virtual const char * GetPhyName (void)

Detailed Description

Controller Class for Broadcom 10/100 MBit Ethernet PHY.

This class provides PHY interface control over the Broadcom BCM5221 Ethernet PHY.


Constructor & Destructor Documentation

tcDspPhyCrystalLanCS8952::tcDspPhyCrystalLanCS8952 ( void *  apAddress  ) 
tcDspPhyCrystalLanCS8952::~tcDspPhyCrystalLanCS8952 (  )  [virtual]

Destructor. Typically not reached.


Member Function Documentation

bool tcDspPhyCrystalLanCS8952::GetPhyStatus ( tsNetPhyStatus arPhyStatus,
unsigned int  anPhyAddr = 0xFFFFFFFF 
) [virtual]

Get the basic PHY status of a connected device from the standard MII status word.

Parameters:
[out] arPhyStatus structure to update
[in] anPhyAddr address of the Phy (or 0xFFFFFFFF to probe)
Returns:
true if successful

Reimplemented from tcDspNetPhy.

bool tcDspPhyCrystalLanCS8952::Initialize ( void   )  [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.

Returns:
true on success

Reimplemented from tcDspNetPhy.

virtual const char* tcDspPhyCrystalLanCS8952::GetPhyName ( void   )  [inline, virtual]

Reimplemented from tcDspNetPhy.


  
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.