[][src]Struct probe_rs::architecture::arm::ArmCommunicationInterface

pub struct ArmCommunicationInterface { /* fields omitted */ }

Implementations

impl<'interface> ArmCommunicationInterface[src]

pub fn memory_interface(
    &'interface mut self,
    access_port: MemoryAP
) -> Result<Memory<'interface>, ProbeRsError>
[src]

pub fn write_ap_register<AP, R>(
    &mut self,
    port: impl Into<AP>,
    register: R
) -> Result<(), DebugProbeError> where
    AP: AccessPort,
    R: APRegister<AP>, 
[src]

Write the given register R of the given AP, where the to be written register value is wrapped in the given register parameter.

pub fn write_ap_register_repeated<AP, R>(
    &mut self,
    port: impl Into<AP>,
    _register: R,
    values: &[u32]
) -> Result<(), DebugProbeError> where
    AP: AccessPort,
    R: APRegister<AP>, 
[src]

Write the given register R of the given AP repeatedly, where the to be written register values are stored in the values array. The values are written in the exact order they are stored in the array.

pub fn read_ap_register<AP, R>(
    &mut self,
    port: impl Into<AP>,
    _register: R
) -> Result<R, DebugProbeError> where
    AP: AccessPort,
    R: APRegister<AP>, 
[src]

Read the given register R of the given AP, where the read register value is wrapped in the given register parameter.

pub fn read_ap_register_repeated<AP, R>(
    &mut self,
    port: impl Into<AP>,
    _register: R,
    values: &mut [u32]
) -> Result<(), DebugProbeError> where
    AP: AccessPort,
    R: APRegister<AP>, 
[src]

Read the given register R of the given AP repeatedly, where the read register values are stored in the values array. The values are read in the exact order they are stored in the array.

impl ArmCommunicationInterface[src]

Trait Implementations

impl<R> APAccess<GenericAP, R> for ArmCommunicationInterface where
    R: APRegister<GenericAP>, 
[src]

type Error = DebugProbeError

impl<R> APAccess<MemoryAP, R> for ArmCommunicationInterface where
    R: APRegister<MemoryAP>, 
[src]

type Error = DebugProbeError

impl<'a> AsMut<dyn DebugProbe + 'a> for ArmCommunicationInterface[src]

impl<'a> AsRef<dyn DebugProbe + 'a> for ArmCommunicationInterface[src]

impl CommunicationInterface for ArmCommunicationInterface[src]

impl DPAccess for ArmCommunicationInterface[src]

impl Debug for ArmCommunicationInterface[src]

impl SwoAccess for ArmCommunicationInterface[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.