[][src]Trait probe_rs::architecture::arm::dp::DPAccess

pub trait DPAccess<PORT, R> where
    PORT: DebugPort,
    R: DPRegister<PORT>, 
{ type Error: Debug; fn read_dp_register(&mut self, port: &PORT) -> Result<R, Self::Error>;
fn write_dp_register(
        &mut self,
        port: &PORT,
        register: R
    ) -> Result<(), Self::Error>; }

Associated Types

type Error: Debug

Loading content...

Required methods

fn read_dp_register(&mut self, port: &PORT) -> Result<R, Self::Error>

fn write_dp_register(
    &mut self,
    port: &PORT,
    register: R
) -> Result<(), Self::Error>

Loading content...

Implementors

impl<P: DebugPort, R: DPRegister<P>> DPAccess<P, R> for ArmCommunicationInterface[src]

type Error = DebugProbeError

Loading content...