MityDSP Documentation Index

tcDspPhyBroadcomBCM5221 Class Reference

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

#include <DspPhyBroadcomBCM5221.h>

Inheritance diagram for tcDspPhyBroadcomBCM5221:
tcDspNetPhy

List of all members.

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)

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

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

Destructor. Typically not reached.


Member Function Documentation

bool tcDspPhyBroadcomBCM5221::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 tcDspPhyBroadcomBCM5221::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* tcDspPhyBroadcomBCM5221::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.