[−][src]Struct probe_rs::architecture::arm::ArmCommunicationInterface
Methods
impl ArmCommunicationInterface
[src]
pub fn new(probe: Probe) -> Result<Self, DebugProbeError>
[src]
pub fn dedicated_memory_interface(&self) -> Option<Memory>
[src]
pub fn close(self) -> Result<Probe, Self>
[src]
Trait Implementations
impl<R> APAccess<GenericAP, R> for ArmCommunicationInterface where
R: APRegister<GenericAP>,
[src]
R: APRegister<GenericAP>,
type Error = DebugProbeError
fn read_ap_register(
&mut self,
port: GenericAP,
register: R
) -> Result<R, Self::Error>
[src]
&mut self,
port: GenericAP,
register: R
) -> Result<R, Self::Error>
fn write_ap_register(
&mut self,
port: GenericAP,
register: R
) -> Result<(), Self::Error>
[src]
&mut self,
port: GenericAP,
register: R
) -> Result<(), Self::Error>
fn write_ap_register_repeated(
&mut self,
port: GenericAP,
register: R,
values: &[u32]
) -> Result<(), Self::Error>
[src]
&mut self,
port: GenericAP,
register: R,
values: &[u32]
) -> Result<(), Self::Error>
fn read_ap_register_repeated(
&mut self,
port: GenericAP,
register: R,
values: &mut [u32]
) -> Result<(), Self::Error>
[src]
&mut self,
port: GenericAP,
register: R,
values: &mut [u32]
) -> Result<(), Self::Error>
impl<R> APAccess<MemoryAP, R> for ArmCommunicationInterface where
R: APRegister<MemoryAP>,
[src]
R: APRegister<MemoryAP>,
type Error = DebugProbeError
fn read_ap_register(
&mut self,
port: MemoryAP,
register: R
) -> Result<R, Self::Error>
[src]
&mut self,
port: MemoryAP,
register: R
) -> Result<R, Self::Error>
fn write_ap_register(
&mut self,
port: MemoryAP,
register: R
) -> Result<(), Self::Error>
[src]
&mut self,
port: MemoryAP,
register: R
) -> Result<(), Self::Error>
fn write_ap_register_repeated(
&mut self,
port: MemoryAP,
register: R,
values: &[u32]
) -> Result<(), Self::Error>
[src]
&mut self,
port: MemoryAP,
register: R,
values: &[u32]
) -> Result<(), Self::Error>
fn read_ap_register_repeated(
&mut self,
port: MemoryAP,
register: R,
values: &mut [u32]
) -> Result<(), Self::Error>
[src]
&mut self,
port: MemoryAP,
register: R,
values: &mut [u32]
) -> Result<(), Self::Error>
impl Clone for ArmCommunicationInterface
[src]
fn clone(&self) -> ArmCommunicationInterface
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl CommunicationInterface for ArmCommunicationInterface
[src]
fn probe_for_chip_info(self) -> Result<Option<ChipInfo>, ProbeRsError>
[src]
impl DPAccess for ArmCommunicationInterface
[src]
fn read_dp_register<R: DPRegister>(&mut self) -> Result<R, DebugPortError>
[src]
fn write_dp_register<R: DPRegister>(
&mut self,
register: R
) -> Result<(), DebugPortError>
[src]
&mut self,
register: R
) -> Result<(), DebugPortError>
impl Debug for ArmCommunicationInterface
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ArmCommunicationInterface
impl !Send for ArmCommunicationInterface
impl !Sync for ArmCommunicationInterface
impl Unpin for ArmCommunicationInterface
impl !UnwindSafe for ArmCommunicationInterface
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,