pub struct JTAGTAP { /* private fields */ }
Expand description

Represents a single TAP in a JTAG scan chain, with methods to read and write this TAP while other TAPs are placed into BYPASS.

Implementations

Returns the index of this TAP.

Returns number of TAPs in the underlying chain.

Returns maximum number of TDI bits that can fit into a single DAP packet.

Consume the JTAGTAP and return its JTAG and JTAGChain.

Reset JTAG TAPs, entering Test-Logic-Reset.

Move to Run-Test/Idle and remain there for n clock cycles.

Move to Shift-IR, write ir to IR, then enter Update-IR.

Move to Shift-IR, read the IR while writing 0xFF, then enter Update-IR. Returns the captured bits from TDO, leaving BYPASS in all IRs.

Move to Shift-IR, write ir to IR while capturing TDO, then enter Update-IR. Returns the captured bits from TDO.

Move to Shift-DR and write dr to DR. Exits Shift-DR and enters Exit1-DR once complete.

Move to Shift-DR and write dr to DR. Exits Shift-DR and enters Exit1-Dr once complete.

This method is similar to write_dr, but it additionally calls the callback cb with the current number of bits transferred at a regular interval.

Move to Shift-DR, read n bits of DR while writing 0xFF. Exits Shift-DR and enters Exit1-DR once complete. Returns the captured bits from TDO.

Move to Shift-DR, write dr to DR while capturing TDO. Exits Shift-DR and enters Exit1-DR once complete. Returns the captured bits from TDO.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.