pub struct ArmCommunicationInterface<S: ArmDebugState> { /* private fields */ }
Expand description

An implementation of the communication protocol between probe and target. Can be used to perform all sorts of generic debug access on ARM targets with probes that support low level access. (E.g. CMSIS-DAP and J-Link support this, ST-Link does not)

Implementations

Tries to obtain a memory interface which can be used to read memory from ARM targets.

Reads the chip info from the romtable of given debug port.

Trait Implementations

Returns a memory interface to access the target’s memory.

Returns information about a specific access port.

Reads the chip info from the romtable of given debug port.

Returns the number of access ports the debug port has.

Closes the interface and returns back the generic probe it consumed.

Flush all remaining commands if the target driver implements batching.

Tries to get the underlying ArmCommunicationInterface.

Read a Debug Port register. Read more

Write a Debug Port register. Read more

Read an Access Port register. Read more

Read multiple values from the same Access Port register. Read more

Write an AP register. Read more

Write multiple values to the same Access Port register. Read more

Formats the value using the given formatter. Read more

Configure a SwoAccess interface for reading SWO data.

Disable SWO reading on this SwoAccess interface.

Read SWO data for up to timeout duration. Read more

Read any available SWO data without waiting. Read more

Request an estimated best time to wait between polls of read_swo. Read more

Request the probe SWO buffer size, if known.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Read a register of the access port.

Write a register of the access port.

Write a register of the access port using a block transfer. This can be used to write multiple values to the same register. Read more

Read a register of the access port using a block transfer. This can be used to read multiple values from the same register. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Reads a debug port register.

Write a debug port register.

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.