Driver for W5500 ethernet devices.
More...
Driver for W5500 ethernet devices.
This device driver only exposes the MACRAW mode of W5500 devices, so it does not offer any support for the on-chip IPv4, UDP, and TCP capabilities of these chips. In connection with RIOT we are only interested in the RAW Ethernet packets, which we can use through netdev with any software network stack provided by RIOT (e.g. GNRC). This enables W5500 devices to communicate via IPv6, enables unlimited connections, and more...
- Note
- This driver can be used in polling or interrupt mode. On some shields the interrupt line is not enabled by default, you have to close the corresponding solder bridge to make the interrupt mode work...
|
file | w5500.h |
| Interface definition for the W5500 device driver.
|
|
file | w5500_params.h |
| Default parameters for W5500 Ethernet devices.
|
|
file | w5500_regs.h |
| Register definitions for W5500 devices.
|
|
|
typedef struct w5500 | w5500_t |
| Device descriptor for W5500 devices.
|
|
◆ w5500_setup()
So the initial device setup.
This function pre-initializes the netdev structure, saves the configuration parameters and finally initializes the SPI bus and the used GPIO pins.
- Parameters
-
[out] | dev | the handle of the device to initialize |
[in] | params | parameters for device initialization |
[in] | index | Index of params in a global parameter struct array. If initialized manually, pass a unique identifier instead. |