WIZNet W5500 with additional enhancements
Fork of WIZnetInterface by
Diff: arch/ext/W5500.h
- Revision:
- 33:879cfe51e66e
- Parent:
- 32:f6d76a55a50b
- Child:
- 35:fe3028eda085
--- a/arch/ext/W5500.h Sat Oct 07 16:26:55 2017 +0200 +++ b/arch/ext/W5500.h Sat Oct 07 22:10:01 2017 +0200 @@ -983,7 +983,13 @@ int ethernet_link(void); + int ethernet_speed(void); + bool ethernet_fullduplex(void); void ethernet_set_link(int speed, int duplex); + + uint32_t getDNSAddr(void) { + return dnsaddr; + }; protected: uint8_t mac[6]; uint32_t ip;