Sming Framework API
()
Toggle main menu visibility
Sming
Components
Network
src
Network
Ethernet
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
Ethernet::Ksz8041::destroy
void destroy(PhyInstance *inst) override
Called by the Service to destroy a PHY instance.
Ethernet.h
Ethernet::PhyFactory::PhyInstance
Ethernet::PhyInstance PhyInstance
Definition:
Ethernet.h:100
Ethernet::Ksz8041::create
PhyInstance * create(const PhyConfig &config) override
Called by the Service to construct a PHY instance.
Ethernet
Definition:
Dp83848.h:15
Generated by
1.8.17