embassy-net-adin1110

Crates

git

Versions

default

Flavors

embassy_net_adin1110

Function new

source
pub async fn new<const N_RX: usize, const N_TX: usize, SPI: SpiDevice, INT: Wait, RST: OutputPin>(
    mac_addr: [u8; 6],
    state: &mut State<N_RX, N_TX>,
    spi_dev: SPI,
    int: INT,
    reset: RST,
    spi_crc: bool,
    append_fcs_on_tx: bool,
) -> (Device<'_>, Runner<'_, SPI, INT, RST>)
Expand description

Obtain a driver for using the ADIN1110 with embassy-net.