[−][src]Struct probe_rs::probe::daplink::commands::transfer::TransferRequest
Read/write single and multiple registers.
The DAP_Transfer Command reads or writes data to CoreSight registers. Each CoreSight register is accessed with a single 32-bit read or write. The CoreSight registers are addressed with DPBANKSEL/APBANKSEL and address lines A2, A3 (A0 = 0 and A1 = 0). This command executes several read/write operations on the selected DP/AP registers. The Transfer Data in the Response are in the order of the Transfer Request in the Command but might be shorter in case of communication failures. The data transfer is aborted on a communication error:
- Protocol Error
- Target FAULT response
- Target WAIT responses exceed configured value
- Value Mismatch (Read Register with Value Match)
Fields
dap_index: u8
Zero based device index of the selected JTAG device. For SWD mode the value is ignored.
transfer_count: u8
Number of transfers: 1 .. 255. For each transfer a Transfer Request BYTE is sent. Depending on the request an additional Transfer Data WORD is sent.
transfer_request: InnerTransferRequest
Contains information about requested access from host debugger.
transfer_data: u32
Methods
impl TransferRequest
[src]
pub fn new(transfer_request: InnerTransferRequest, data: u32) -> Self
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TransferRequest
impl Send for TransferRequest
impl Sync for TransferRequest
impl Unpin for TransferRequest
impl UnwindSafe for TransferRequest
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,