Rtl8201.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  * Rtl8201.h
8  *
9  ****/
10 
11 #pragma once
12 
13 #include <Platform/Ethernet.h>
14 
15 namespace Ethernet
16 {
20 class Rtl8201 : 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
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.
Ethernet::PhyInstance PhyInstance
Definition: Ethernet.h:100
Definition: Dp83848.h:15