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.
WIZ820ioNetIf Class Reference
WIZ820io network interface. More...
#include <WIZ820ioNetIf.h>
Inherits MyNetIf.
Public Member Functions | |
| WIZ820ioNetIf (PinName mosi, PinName miso, PinName sclk, PinName cs, PinName reset) | |
| Create a WIZ820io ethernet interface. | |
| int | setup (int timeout_ms=15000) |
| Brings the interface up. | |
| IpAddr | getIp () const |
| Returns the IP of the interface once it's connected. | |
Detailed Description
WIZ820io network interface.
Definition at line 20 of file WIZ820ioNetIf.h.
Constructor & Destructor Documentation
| WIZ820ioNetIf | ( | PinName | mosi, |
| PinName | miso, | ||
| PinName | sclk, | ||
| PinName | cs, | ||
| PinName | reset | ||
| ) |
Create a WIZ820io ethernet interface.
- Parameters:
-
mosi SPI mosi pin connected to WIZ820io miso SPI miso pin conencted to WIZ820io sclk SPI sclk pin connected to WIZ820io cs DigitalOut pin used as WIZ820io select reset DigitalOut pin WIZ820io hardware reset
Definition at line 10 of file WIZ820ioNetIf.cpp.
Member Function Documentation
| IpAddr getIp | ( | ) | const [inherited] |
| int setup | ( | int | timeout_ms = 15000 ) |
Brings the interface up.
Uses DHCP if necessary
- Parameters:
-
timeout_ms : You can set the timeout parameter in milliseconds, if not it defaults to 15s
- Returns:
- : 0 on success or -1 on timeout
Definition at line 66 of file WIZ820ioNetIf.cpp.
Generated on Tue Jul 12 2022 13:04:15 by
1.7.2