[][src]Enum probe_rs::coresight::memory::romtable::CSComponent

pub enum CSComponent {
    GenericVerificationComponent(CSComponentId),
    Class1RomTable(CSComponentIdRomTable),
    Class9RomTable(CSComponentId),
    PeripheralTestBlock(CSComponentId),
    GenericIPComponent(CSComponentId),
    CoreLinkOrPrimeCellOrSystemComponent(CSComponentId),
    None,
}

This enum describes a component. Described in table D1-2 in the ADIv5.2 spec.

Variants

GenericVerificationComponent(CSComponentId)
Class1RomTable(CSComponentIdRomTable)
Class9RomTable(CSComponentId)
PeripheralTestBlock(CSComponentId)
GenericIPComponent(CSComponentId)
CoreLinkOrPrimeCellOrSystemComponent(CSComponentId)
None

Methods

impl CSComponent[src]

pub fn try_parse<P>(
    link: &RefCell<P>,
    baseaddr: u64
) -> Result<CSComponent, RomTableError> where
    P: MI + APAccess<GenericAP, IDR> + APAccess<MemoryAP, BASE> + APAccess<MemoryAP, BASE2>, 
[src]

Tries to parse a CoreSight component table.

Important traits for CSComponentIter<'a>
pub fn iter(&self) -> CSComponentIter[src]

Trait Implementations

impl Debug for CSComponent[src]

impl PartialEq<CSComponent> for CSComponent[src]

impl StructuralPartialEq for CSComponent[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> From<T> for T[src]

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

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.