Ethernet.h File Reference
#include <WString.h>
#include <IpAddress.h>
#include <MacAddress.h>
#include <Delegate.h>
#include <memory>
Include dependency graph for Ethernet.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
struct | Ethernet::PhyConfig |
PHY configuration. More... | |
class | Ethernet::PhyFactory |
Virtual class used to construct a specific PHY instance. More... | |
class | Ethernet::Service |
Abstract Service class. More... | |
Namespaces | |
Ethernet | |
Macros | |
#define | ETHERNET_EVENT_MAP(XX) |
Ethernet event code map. More... | |
#define | XX(tag, desc) tag, |
Typedefs | |
using | Ethernet::EventDelegate = Delegate< void(Ethernet::Event event)> |
Delegate type for Ethernet events. More... | |
using | Ethernet::GotIpDelegate = Delegate< void(IpAddress ip, IpAddress netmask, IpAddress gateway)> |
Delegate type for 'got IP address' event. More... | |
Enumerations | |
enum | Ethernet::Event { Ethernet::Event::XX } |
Ethernet event codes. More... | |
enum | Ethernet::Speed { Ethernet::Speed::MBPS10, Ethernet::Speed::MBPS100 } |
Link speed. More... | |
Functions | |
String | toString (Ethernet::Event event) |
String | toLongString (Ethernet::Event event) |
Variables | |
constexpr int8_t | Ethernet::PIN_DEFAULT {-2} |
Use default pin for platform. More... | |
constexpr int8_t | Ethernet::PIN_UNUSED {-1} |
Do not configure this pin. More... | |
constexpr int8_t | Ethernet::PHY_ADDR_AUTO {-1} |
Automatically detect PHY address during initialization. More... | |
Macro Definition Documentation
◆ ETHERNET_EVENT_MAP
#define ETHERNET_EVENT_MAP | ( | XX | ) |
◆ XX
#define XX | ( | tag, | |
desc | |||
) | tag, |
Function Documentation
◆ toLongString()
String toLongString | ( | Ethernet::Event | event | ) |
◆ toString()
String toString | ( | Ethernet::Event | event | ) |