components

Module nonvolatile_storage

Source
Expand description

Component for non-volatile storage Drivers.

This provides one component, NonvolatileStorageComponent, which provides a system call interface to non-volatile storage.

§Usage

let nonvolatile_storage = components::nonvolatile_storage::NonvolatileStorageComponent::new(
    board_kernel,
    &sam4l::flashcalw::FLASH_CONTROLLER,
    0x60000,
    0x20000,
    core::ptr::addr_of!(_sstorage) as usize,
    core::ptr::addr_of!(_estorage) as usize,
)
.finalize(components::nonvolatile_storage_component_static!(
    sam4l::flashcalw::FLASHCALW
));

Structs§

Type Aliases§