components

Module bus

Source
Expand description

Bus Components for Intel8080 Parallel Interface, I2C, SPI

Example

Intel 8080 Parallel Interface

let bus = components::bus::Bus8080BusComponent::new(&stm32f412g::fsmc::FSMC).finalize( components::bus8080_bus_component_static!(stm32f412g::fsmc::Fsmc) );

SPI

let bus = components::bus::SpiMasterBusComponent::new(spi_mux,
                                                      chip_select,
                                                      baud_rate,
                                                      clock_phase,
                                                      clock_polarity).finalize(
    components::spi_bus_component_static!(nrf52840::spi::SPIM)
);

Structsยง