[][src]Struct probe_rs::probe::daplink::commands::transfer::InnerTransferRequest

pub struct InnerTransferRequest {
    pub APnDP: PortType,
    pub RnW: RW,
    pub A2: bool,
    pub A3: bool,
    pub value_match: bool,
    pub match_mask: bool,
    pub td_timestamp_request: bool,
}

Contains information about requested access from host debugger.

Fields

APnDP: PortType

0 = Debug Port (DP), 1 = Access Port (AP).

RnW: RW

0 = Write Register, 1 = Read Register.

A2: bool

A2 Register Address bit 2.

A3: bool

A3 Register Address bit 3.

value_match: bool

(only valid for Read Register): 0 = Normal Read Register, 1 = Read Register with Value Match.

match_mask: bool

(only valid for Write Register): 0 = Normal Write Register, 1 = Write Match Mask (instead of Register).

td_timestamp_request: bool

0 = No time stamp, 1 = Include time stamp value from Test Domain Timer before every Transfer Data word (restrictions see note).

Methods

impl InnerTransferRequest[src]

pub fn new(port: PortType, rw: RW, address: u8) -> Self[src]

Trait Implementations

impl Debug for InnerTransferRequest[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.