Embassy
embassy-net-adin1110

Crates

git

Versions

default

Flavors

Function embassy_net_adin1110::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.