Struct probe_rs::architecture::arm::ArmChipInfo
source · [−]pub struct ArmChipInfo {
pub manufacturer: JEP106Code,
pub part: u16,
}
Expand description
Information about the chip target we are currently attached to. This can be used for discovery, tho, for now it does not work optimally, as some manufacturers (e.g. ST Microelectronics) violate the spec and thus need special discovery procedures.
Fields
manufacturer: JEP106Code
The JEP106 code of the manufacturer of this chip target.
part: u16
The unique part numer of the chip target. Unfortunately this only unique in the spec. In practice some manufacturers violate the spec and assign a part number to an entire family.
Consider this not unique when working with targets!
Trait Implementations
sourceimpl Debug for ArmChipInfo
impl Debug for ArmChipInfo
Auto Trait Implementations
impl RefUnwindSafe for ArmChipInfo
impl Send for ArmChipInfo
impl Sync for ArmChipInfo
impl Unpin for ArmChipInfo
impl UnwindSafe for ArmChipInfo
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