pub async fn new<'a, PWR, SPI>(
state: &'a mut State,
pwr: PWR,
spi: SPI,
firmware: &[u8],
) -> (NetDriver<'a>, Control<'a>, Runner<'a, PWR, SPI>)where
PWR: OutputPin,
SPI: SpiBusCyw43,
Expand description
Create a new instance of the CYW43 driver.
Returns a handle to the network device, control handle and a runner for driving the low level stack.