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

Formats the value using the given formatter. Read more

Converts to this type from the input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.