Trait ArmMemoryInterface

Source
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§

Source

fn fully_qualified_address(&self) -> FullyQualifiedApAddress

The underlying MemoryAp address.

Source

fn base_address(&mut self) -> Result<u64, ArmError>

The underlying memory AP’s base address.

Source

fn get_swd_sequence(&mut self) -> Result<&mut dyn SwdSequence, DebugProbeError>

Get this interface as a SwdSequence object.

Source

fn get_arm_probe_interface( &mut self, ) -> Result<&mut dyn ArmProbeInterface, DebugProbeError>

Get this interface as a ArmProbeInterface object.

Source

fn get_dap_access(&mut self) -> Result<&mut dyn DapAccess, DebugProbeError>

Get this interface as a DapAccess object.

Source

fn generic_status(&mut self) -> Result<CSW, ArmError>

Get the current value of the CSW reflected in this probe.

Provided Methods§

Source

fn update_core_status(&mut self, _state: CoreStatus)

Inform the probe of the CoreStatus of the chip/core attached to the probe.

Implementors§