|
SatCat5
|
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.
Definition at line 83 of file cfgbus_mdio.h.
#include <cfgbus_mdio.h>
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 |