Struct probe_rs::config::Target [−][src]
pub struct Target { pub name: String, pub flash_algorithms: Vec<RawFlashAlgorithm>, pub core_type: CoreType, pub memory_map: Vec<MemoryRegion>, // some fields omitted }
Expand description
This describes a complete target with a fixed chip model and variant.
Fields
name: String
The name of the target.
flash_algorithms: Vec<RawFlashAlgorithm>
The name of the flash algorithm.
core_type: CoreType
The core type.
memory_map: Vec<MemoryRegion>
The memory map of the target.
Implementations
pub fn new(
chip: &Chip,
flash_algorithms: Vec<RawFlashAlgorithm>,
core_type: CoreType,
source: TargetDescriptionSource
) -> Target
pub fn new(
chip: &Chip,
flash_algorithms: Vec<RawFlashAlgorithm>,
core_type: CoreType,
source: TargetDescriptionSource
) -> Target
Create a new target
Get the architectre of the target
Source description of this target.
Create a FlashLoader for this target, which can be used to program its non-volatile memory.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Target
impl UnwindSafe for Target
Blanket Implementations
Mutably borrows from an owned value. Read more