Struct probe_rs_target::Chip
source · [−]pub struct Chip {
pub name: String,
pub part: Option<u16>,
pub cores: Vec<Core>,
pub memory_map: Vec<MemoryRegion>,
pub flash_algorithms: Vec<String>,
}
Expand description
A single chip variant.
This describes an exact chip variant, including the cores, flash and memory size. For example,
the nRF52832
chip has two variants, nRF52832_xxAA
and nRF52832_xxBB
. For this case,
the struct will correspond to one of the variants, e.g. nRF52832_xxAA
.
Fields
name: String
This is the name of the chip in base form.
E.g. nRF52832
.
part: Option<u16>
The PART
register of the chip.
This value can be determined via the cli info
command.
cores: Vec<Core>
The cores available on the chip.
memory_map: Vec<MemoryRegion>
The memory regions available on the chip.
flash_algorithms: Vec<String>
Names of all flash algorithms available for this chip.
This can be used to look up the flash algorithm in the
ChipFamily::flash_algorithms
field.
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Chip
impl<'de> Deserialize<'de> for Chip
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for Chip
impl Send for Chip
impl Sync for Chip
impl Unpin for Chip
impl UnwindSafe for Chip
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more