[][src]Trait probe_rs::coresight::dp_access::DPAccess

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

Associated Types

type Error: Debug

Loading content...

Required methods

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

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

Loading content...

Implementors

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

type Error = DebugProbeError

Loading content...