Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of WIZnetInterface by
Diff: EthernetInterface.h
- Revision:
- 8:4c02de1dbf3a
- Parent:
- 7:da6fcec0f3fe
- Child:
- 20:bda61525ac71
- Child:
- 25:48abbe1d9bab
--- 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
