pub struct OptionalMemory {
    pub memory_type: MemoryType,
    pub location: MemoryLocation,
    pub link_name: &'static str,
    pub start_address: usize,
    pub size: Byte,
}
Expand description

Definition of optional memory sections that go beyond the default of SRAM and flash.

Fields

memory_type: MemoryType

Type of memory.

location: MemoryLocation

Location of the memory.

link_name: &'static str

Name in the linker file.

start_address: usize

Lowest address of the section.

size: Byte

Memory size.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.