pub trait JtagChain {
    // Required methods
    fn connect(self: Box<Self>, tap: JtagTap) -> Result<Box<dyn Jtag>>;
    fn into_raw(self: Box<Self>) -> Result<OpenOcd>;
}
Expand description

A trait which represents a JTAG interface.

JTAG lines form a daisy-chained topology and can connect multiple TAPs together in a chain. This trait represents an adaptor that has been configured to connect to a given JTAG chain, but have not yet been configured to only access a particular TAP.

Required Methods§

source

fn connect(self: Box<Self>, tap: JtagTap) -> Result<Box<dyn Jtag>>

Connect to the given JTAG TAP on this chain.

source

fn into_raw(self: Box<Self>) -> Result<OpenOcd>

Stop further setup and returns raw OpenOCD instance.

Implementors§