pub struct Memory<'probe> { /* private fields */ }
Expand description

A struct to allow memory access via an ARM probe.

Implementations

Constructs a new Memory handle with a ARM probe and a memory AP.

Does this interface support native 64-bit wide accesses

Reads a 64 bit word from address.

Reads a 32 bit word from address.

Reads an 8 bit word from address.

Reads data.len() 64 bit words from address into data.

Reads data.len() 32 bit words from address into data.

Reads data.len() 8 bit words from address into data.

Writes a 64 bit word to address.

Writes a 32 bit word to address.

Writes a 8 bit word to address.

Writes data.len() 32 bit words from data to address.

Writes data.len() 32 bit words from data to address.

Writes data.len() 8 bit words from data to address.

Flushes all pending writes to the target.

This method is necessary when the underlying probe driver implements batching.

Tries to borrow the underlying ArmCommunicationInterface.

Borrows the underlying [ArmProbe] driver.

Returns the underlying ApAddress.

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.