Ksz8041.h
Go to the documentation of this file.
1 /****
2  * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development.
3  * Created 2015 by Skurydin Alexey
4  * http://github.com/SmingHub/Sming
5  * All files of the Sming Core are provided under the LGPL v3 license.
6  *
7  * Ksz8041.h
8  *
9  ****/
10 
11 #pragma once
12 
13 #include <Platform/Ethernet.h>
14 
15 namespace Ethernet
16 {
20 class Ksz8041 : public PhyFactory
21 {
22 public:
23  using PhyFactory::PhyFactory;
24 
25  PhyInstance* create(const PhyConfig& config) override;
26  void destroy(PhyInstance* inst) override;
27 };
28 
29 } // namespace Ethernet
KSZ 8041 PHY interface.
Definition: Ksz8041.h:21
void destroy(PhyInstance *inst) override
Called by the Service to destroy a PHY instance.
PhyInstance * create(const PhyConfig &config) override
Called by the Service to construct a PHY instance.
Virtual class used to construct a specific PHY instance.
Definition: Ethernet.h:98
Ethernet::PhyInstance PhyInstance
Definition: Ethernet.h:100
Definition: Dp83848.h:16
PHY configuration.
Definition: Ethernet.h:84