Struct probe_rs::architecture::arm::MemoryApInformation
source · [−]pub struct MemoryApInformation {
pub address: ApAddress,
pub only_32bit_data_size: bool,
pub debug_base_address: u64,
pub supports_hnonsec: bool,
pub has_large_address_extension: bool,
pub has_large_data_extension: bool,
}
Expand description
Information about a memory access port. Can be used for target discovery. Useful for detecting supported memory access of a target.
Fields
address: ApAddress
Zero-based port number of the access port. This is used in the debug port to select an AP.
only_32bit_data_size: bool
Some Memory APs only support 32 bit wide access to data, while others also support other widths. Based on this, 8 bit data access can either be performed directly, or has to be done as a 32 bit access.
debug_base_address: u64
The Debug Base Address points to either the start of a set of debug register, or a ROM table which describes the connected debug components.
See chapter C2.6, ARM Debug Interface Architecture Specification.
supports_hnonsec: bool
Indicates if the HNONSEC bit in the CSW register is supported. See section E1.5.1, ARM Debug Interface Architecture Specification.
has_large_address_extension: bool
This AP has the large address extension present, supporting 64-bit addresses
has_large_data_extension: bool
This AP has the large data extension present, supporting 64-bit data access
Trait Implementations
sourceimpl Clone for MemoryApInformation
impl Clone for MemoryApInformation
sourcefn clone(&self) -> MemoryApInformation
fn clone(&self) -> MemoryApInformation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for MemoryApInformation
impl Send for MemoryApInformation
impl Sync for MemoryApInformation
impl Unpin for MemoryApInformation
impl UnwindSafe for MemoryApInformation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more