[][src]Struct probe_rs::config::chip_family::ChipFamily

pub struct ChipFamily {
    pub name: String,
    pub manufacturer: Option<JEP106Code>,
    pub variants: Vec<Chip>,
    pub flash_algorithms: HashMap<String, RawFlashAlgorithm>,
    pub core: String,
}

This describes a chip family with all its variants.

Fields

name: String

This is the name of the chip family in base form. E.g. nRF52832.

manufacturer: Option<JEP106Code>

The JEP106 code of the manufacturer.

variants: Vec<Chip>

This vector holds all the variants of the family.

flash_algorithms: HashMap<String, RawFlashAlgorithm>

This vector holds all available algorithms.

core: String

The name of the core type. E.g. M0 or M4.

Methods

impl ChipFamily[src]

pub fn from_yaml_reader<R: Read>(
    definition_reader: R
) -> Result<Self, TargetParseError>
[src]

pub fn variants(&self) -> &Vec<Chip>[src]

pub fn algorithms(&self) -> &HashMap<String, RawFlashAlgorithm>[src]

Trait Implementations

impl Clone for ChipFamily[src]

impl Debug for ChipFamily[src]

impl<'de> Deserialize<'de> for ChipFamily[src]

impl Serialize for ChipFamily[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> DynClone for T where
    T: Clone
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.