SatCat5
satcat5::cfg::MdioWrapper Class Referenceabstract

Detailed Description

Helper class for indirect access register access.

The wrapper is an ephemeral object with no persistent state. Implementation varies by vendor and is unevenly standardized.

See also
MdioGenericMmd, MdioMarvell.

Definition at line 83 of file cfgbus_mdio.h.

#include <cfgbus_mdio.h>

Inheritance diagram for satcat5::cfg::MdioWrapper:
[legend]
Collaboration diagram for satcat5::cfg::MdioWrapper:
[legend]

Public Member Functions

 MdioWrapper (satcat5::cfg::Mdio *mdio, unsigned phyaddr)
 Public constructor so we can inherit cleanly.
 
virtual bool write (unsigned reg, unsigned data)=0
 Read and write methods allow indirect access.
 
virtual bool read (unsigned reg, satcat5::cfg::MdioEventListener *callback)=0
 Read and write methods allow indirect access.
 

Protected Attributes

satcat5::cfg::Mdio *const m_mdio
 
const unsigned m_phy
 

The documentation for this class was generated from the following file: