Function embassy_net_w5500::new
source · pub async fn new<'a, const N_RX: usize, const N_TX: usize, SPI: SpiDevice, INT: Wait, RST: OutputPin>(
mac_addr: [u8; 6],
state: &'a mut State<N_RX, N_TX>,
spi_dev: SPI,
int: INT,
reset: RST
) -> (Device<'a>, Runner<'a, SPI, INT, RST>)
Expand description
Obtain a driver for using the W5500 with embassy-net
.