pub struct MemoryAp { /* private fields */ }
Expand description
Memory AP
The memory AP can be used to access a memory-mapped set of debug resouces of the attached system.
Implementations
sourceimpl MemoryAp
impl MemoryAp
sourcepub fn base_address<A>(&self, interface: &mut A) -> Result<u64, DebugProbeError> where
A: ApAccess,
pub fn base_address<A>(&self, interface: &mut A) -> Result<u64, DebugProbeError> where
A: ApAccess,
The base address of this AP which is used to then access all relative control registers.
Trait Implementations
sourceimpl AccessPort for MemoryAp
impl AccessPort for MemoryAp
sourcefn ap_address(&self) -> ApAddress
fn ap_address(&self) -> ApAddress
Returns the address of the access port.
impl ApRegister<MemoryAp> for BASE
impl ApRegister<MemoryAp> for BASE2
impl ApRegister<MemoryAp> for CFG
impl ApRegister<MemoryAp> for CSW
impl ApRegister<MemoryAp> for DRW
impl ApRegister<MemoryAp> for TAR
impl ApRegister<MemoryAp> for TAR2
impl Copy for MemoryAp
Auto Trait Implementations
impl RefUnwindSafe for MemoryAp
impl Send for MemoryAp
impl Sync for MemoryAp
impl Unpin for MemoryAp
impl UnwindSafe for MemoryAp
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