components

Module flash

Source
Expand description

Component for Flash

Provides FlashMux and FlashUser (virtual flash).

§Usage

   let mux_flash = components::flash::FlashMuxComponent::new(&base_peripherals.nvmc).finalize(
      components::flash_mux_component_static!(nrf52833::nvmc::Nvmc),
   );

   let virtual_app_flash = components::flash::FlashUserComponent::new(mux_flash).finalize(
      components::flash_user_component_static!(nrf52833::nvmc::Nvmc),
   );

Structs§