pub struct OpenOcdDmi { /* private fields */ }
Expand description
DMI interface via OpenOCD.
Implementations§
Source§impl OpenOcdDmi
impl OpenOcdDmi
Sourcepub fn new(openocd: OpenOcd, tap: &str) -> Result<Self>
pub fn new(openocd: OpenOcd, tap: &str) -> Result<Self>
Create a new DMI interface via OpenOCD.
This should be an OpenOCD instance with JTAG scan chain already set up, but not with target set up. If target has been set up, OpenOCD will access DMI registers on its own, which will interfere with raw DMI operations.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OpenOcdDmi
impl RefUnwindSafe for OpenOcdDmi
impl Send for OpenOcdDmi
impl Sync for OpenOcdDmi
impl Unpin for OpenOcdDmi
impl UnwindSafe for OpenOcdDmi
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more