Struct probe_rs::architecture::arm::dp::DebugPortId
source · [−]pub struct DebugPortId {
pub revision: u8,
pub part_no: u8,
pub version: DebugPortVersion,
pub min_dp_support: MinDpSupport,
pub designer: JEP106Code,
}
Expand description
The ID of a debug port. Can be used to detect and select devices in a multidrop setup.
Fields
revision: u8
The revision of the debug port (implementation defined). This is what the designer of the debug port chooses.
part_no: u8
The part number of the debug port (determined by the designer).
version: DebugPortVersion
The version of this debug port. This is what the selected spec says.
min_dp_support: MinDpSupport
Specifies if pushed-find operations are implemented or not.
designer: JEP106Code
The JEP106 code of the designer of this debug port.
Trait Implementations
sourceimpl Debug for DebugPortId
impl Debug for DebugPortId
sourceimpl From<DPIDR> for DebugPortId
impl From<DPIDR> for DebugPortId
sourcefn from(dpidr: DPIDR) -> DebugPortId
fn from(dpidr: DPIDR) -> DebugPortId
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for DebugPortId
impl Send for DebugPortId
impl Sync for DebugPortId
impl Unpin for DebugPortId
impl UnwindSafe for DebugPortId
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