pub struct Algorithm {
pub processor_name: Option<String>,
pub device_index: Option<String>,
pub name: String,
pub start: Option<u64>,
pub size: Option<u64>,
pub parameter: Option<String>,
pub endian: Option<String>,
pub ram_start: Option<u64>,
pub ram_size: Option<u64>,
pub default: Option<bool>,
pub style: Option<String>,
}Expand description
Represents a PDSC board algorithm element
Fields§
§processor_name: Option<String>Processor identifier for multi-processor boards
device_index: Option<String>Device index for multi-device boards
name: StringPath to the flash programming algorithm file
start: Option<u64>Base address of the flash region covered by this algorithm (hex or decimal)
size: Option<u64>Size of the flash region covered by this algorithm in bytes (hex or decimal)
parameter: Option<String>Additional parameter passed to the algorithm
endian: Option<String>Endianness of the target (default: Little-endian)
ram_start: Option<u64>RAM execution base address for the algorithm (hex or decimal)
ram_size: Option<u64>Maximum RAM available for algorithm execution (hex or decimal)
default: Option<bool>Whether this is the default algorithm for the covered region (default: false)
style: Option<String>Algorithm style; defaults to Keil
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Algorithm
impl<'de> Deserialize<'de> for Algorithm
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Algorithm
impl StructuralPartialEq for Algorithm
Auto Trait Implementations§
impl Freeze for Algorithm
impl RefUnwindSafe for Algorithm
impl Send for Algorithm
impl Sync for Algorithm
impl Unpin for Algorithm
impl UnsafeUnpin for Algorithm
impl UnwindSafe for Algorithm
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more