tms_command struct
Encapsulates a series of bits to be clocked out, affecting state and mode of the interface. In JTAG mode these are clocked out on TMS, using TCK. They may be used for link resets, transitioning between JTAG and SWD modes, or to implement JTAG state machine transitions (implementing pathmove or statemove operations). In SWD mode these are clocked out on SWDIO, using SWCLK, and are used for link resets and transitioning between SWD and JTAG modes.
Syntax
struct tms_command
{
unsigned int num_bits;
const uint8_t *bits;
};
Fields
How many bits should be clocked out.
The bits to clock out; the LSB is bit 0 of bits[0].