pub trait ArmMemoryInterface: MemoryInterface<ArmError> {
// Required methods
fn fully_qualified_address(&self) -> FullyQualifiedApAddress;
fn base_address(&mut self) -> Result<u64, ArmError>;
fn get_swd_sequence(
&mut self,
) -> Result<&mut dyn SwdSequence, DebugProbeError>;
fn get_arm_probe_interface(
&mut self,
) -> Result<&mut dyn ArmProbeInterface, DebugProbeError>;
fn get_dap_access(&mut self) -> Result<&mut dyn DapAccess, DebugProbeError>;
fn generic_status(&mut self) -> Result<CSW, ArmError>;
// Provided method
fn update_core_status(&mut self, _state: CoreStatus) { ... }
}
Expand description
An ArmMemoryInterface (ArmProbeInterface + MemoryAp)
Required Methods§
Sourcefn fully_qualified_address(&self) -> FullyQualifiedApAddress
fn fully_qualified_address(&self) -> FullyQualifiedApAddress
The underlying MemoryAp address.
Sourcefn base_address(&mut self) -> Result<u64, ArmError>
fn base_address(&mut self) -> Result<u64, ArmError>
The underlying memory AP’s base address.
Sourcefn get_swd_sequence(&mut self) -> Result<&mut dyn SwdSequence, DebugProbeError>
fn get_swd_sequence(&mut self) -> Result<&mut dyn SwdSequence, DebugProbeError>
Get this interface as a SwdSequence object.
Sourcefn get_arm_probe_interface(
&mut self,
) -> Result<&mut dyn ArmProbeInterface, DebugProbeError>
fn get_arm_probe_interface( &mut self, ) -> Result<&mut dyn ArmProbeInterface, DebugProbeError>
Get this interface as a ArmProbeInterface
object.
Sourcefn get_dap_access(&mut self) -> Result<&mut dyn DapAccess, DebugProbeError>
fn get_dap_access(&mut self) -> Result<&mut dyn DapAccess, DebugProbeError>
Get this interface as a DapAccess
object.
Sourcefn generic_status(&mut self) -> Result<CSW, ArmError>
fn generic_status(&mut self) -> Result<CSW, ArmError>
Get the current value of the CSW reflected in this probe.
Provided Methods§
Sourcefn update_core_status(&mut self, _state: CoreStatus)
fn update_core_status(&mut self, _state: CoreStatus)
Inform the probe of the CoreStatus
of the chip/core attached to
the probe.