Ethernet::PhyFactory Class Referenceabstract
Virtual class used to construct a specific PHY instance. More...
#include <Ethernet.h>
Inheritance diagram for Ethernet::PhyFactory:
Public Types | |
using | PhyInstance = Ethernet::PhyInstance |
Public Member Functions | |
virtual PhyInstance * | create (const PhyConfig &config)=0 |
Called by the Service to construct a PHY instance. More... | |
virtual void | destroy (PhyInstance *inst)=0 |
Called by the Service to destroy a PHY instance. More... | |
Detailed Description
Virtual class used to construct a specific PHY instance.
Applications provide an instance of this factory class so that the Service can create and configure it at the correct point in initialisation or teardown.
Member Typedef Documentation
◆ PhyInstance
using Ethernet::PhyFactory::PhyInstance = Ethernet::PhyInstance |
Member Function Documentation
◆ create()
|
pure virtual |
Called by the Service to construct a PHY instance.
Implemented in Ethernet::Rtl8201, Ethernet::Lan8720, Ethernet::Ksz8041, Ethernet::Ip101, Ethernet::Dp83848, Ethernet::W5500PhyFactory, and Ethernet::DM9051PhyFactory.
◆ destroy()
|
pure virtual |
Called by the Service to destroy a PHY instance.
Implemented in Ethernet::Rtl8201, Ethernet::Lan8720, Ethernet::Ksz8041, Ethernet::Ip101, Ethernet::Dp83848, Ethernet::W5500PhyFactory, and Ethernet::DM9051PhyFactory.
The documentation for this class was generated from the following file: