Config struct final
#include <hal/wizchip/w5500_device.hpp>
Static wiring and transport configuration for one W5500 instance.
Public variables
- uint32_t cs_pin
- GPIO pin mapping for W5500 chip select (active low).
- uint32_t int_pin
- GPIO pin mapping for W5500 interrupt line (active low).
- uint32_t miso_pin
- GPIO pin mapping for SPI MISO.
- uint32_t mosi_pin
- GPIO pin mapping for SPI MOSI.
- uint32_t rst_pin
- GPIO pin mapping for W5500 reset line.
- uint32_t sck_pin
- GPIO pin mapping for SPI clock.
- uint32_t spi_baudrate_hz
- SPI bit rate used when initializing the injected SPI bus.
- SpiBus* spi_bus
- SPI abstraction owned by the caller and injected into the driver.
- void* spi_controller
- MCU SPI controller instance, e.g. SpiBus::
controller0()/controller1(). - bool use_dma
- Enables DMA for SPI payload reads/writes when channels are available.