components

Module mx25r6435f

Source
Expand description

Component for the MX25R6435F flash chip.

§Usage

let mx25r6435f = components::mx25r6435f::Mx25r6435fComponent::new(
    &gpio_port[driver.write_protect_pin],
    &gpio_port[driver.hold_pin],
    &gpio_port[driver.chip_select] as &dyn kernel::hil::gpio::Pin,
    mux_alarm,
    mux_spi,
)
.finalize(components::mx25r6435f_component_static!(
    nrf52::spi::SPIM,
    nrf52::gpio::GPIOPin,
    nrf52::rtc::Rtc
));

Structs§

Type Aliases§