Library for ethernet
Dependents: VC0706_FTP_Client_Ethernet_MQTT
Fork of WIZnetInterface by
Diff: EthernetInterface.h
- Revision:
- 8:4c02de1dbf3a
- Parent:
- 7:da6fcec0f3fe
--- a/EthernetInterface.h Mon Jun 15 23:43:56 2015 +0000 +++ b/EthernetInterface.h Tue Jun 16 11:11:11 2015 +0900 @@ -23,10 +23,21 @@ */ class EthernetInterface: public WIZnet_Chip { public: + #if not defined(TARGET_WIZwiki_W7500) + /** + * Constructor + * + * \param mosi mbed pin to use for SPI + * \param miso mbed pin to use for SPI + * \param sclk mbed pin to use for SPI + * \param cs chip select of the WIZnet_Chip + * \param reset reset pin of the WIZnet_Chip + */ EthernetInterface(PinName mosi, PinName miso, PinName sclk, PinName cs, PinName reset); EthernetInterface(SPI* spi, PinName cs, PinName reset); #endif + /** Initialize the interface with DHCP. * Initialize the interface and configure it to use DHCP (no connection at this point). * \return 0 on success, a negative number on failure