[−][src]Struct debug_probe::debug_probe::FakeProbe
Methods
impl FakeProbe
[src]
Trait Implementations
impl DAPAccess for FakeProbe
[src]
fn read_register(
&mut self,
port: Port,
addr: u16
) -> Result<u32, DebugProbeError>
[src]
&mut self,
port: Port,
addr: u16
) -> Result<u32, DebugProbeError>
Reads the DAP register on the specified port and address
fn write_register(
&mut self,
port: Port,
addr: u16,
value: u32
) -> Result<(), DebugProbeError>
[src]
&mut self,
port: Port,
addr: u16,
value: u32
) -> Result<(), DebugProbeError>
Writes a value to the DAP register on the specified port and address
impl DebugProbe for FakeProbe
[src]
fn new_from_probe_info(
info: &DebugProbeInfo
) -> Result<Box<Self>, DebugProbeError> where
Self: Sized,
[src]
info: &DebugProbeInfo
) -> Result<Box<Self>, DebugProbeError> where
Self: Sized,
fn get_name(&self) -> &str
[src]
Get human readable name for the probe
fn attach(
&mut self,
protocol: Option<WireProtocol>
) -> Result<WireProtocol, DebugProbeError>
[src]
&mut self,
protocol: Option<WireProtocol>
) -> Result<WireProtocol, DebugProbeError>
Enters debug mode
fn detach(&mut self) -> Result<(), DebugProbeError>
[src]
Leave debug mode
fn target_reset(&mut self) -> Result<(), DebugProbeError>
[src]
Resets the target device.
Auto Trait Implementations
impl Send for FakeProbe
impl Unpin for FakeProbe
impl Sync for FakeProbe
impl RefUnwindSafe for FakeProbe
impl UnwindSafe for FakeProbe
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,