[][src]Struct probe_rs::config::Chip

pub struct Chip {
    pub name: Cow<'static, str>,
    pub part: Option<u16>,
    pub memory_map: Cow<'static, [MemoryRegion]>,
    pub flash_algorithms: Cow<'static, [Cow<'static, str>]>,
}

This describes a single chip model. It can come in different configurations (memory, peripherals). E.g. nRF52832 is a Chip where nRF52832_xxAA and nRF52832_xxBB are its Variants.

Fields

name: Cow<'static, str>

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.

memory_map: Cow<'static, [MemoryRegion]>

The memory regions available on the chip.

flash_algorithms: Cow<'static, [Cow<'static, str>]>

Trait Implementations

impl Clone for Chip[src]

impl Debug for Chip[src]

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

impl Serialize for Chip[src]

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

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: for<'de> Deserialize<'de>, 
[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.