OpenOCD
tms_command Struct Reference

Encapsulates a series of bits to be clocked out, affecting state and mode of the interface. More...

Data Fields

const uint8_t * bits
 The bits to clock out; the LSB is bit 0 of bits[0]. More...
 
unsigned num_bits
 How many bits should be clocked out. More...
 

Detailed Description

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.

Definition at line 101 of file commands.h.

Field Documentation

◆ bits

const uint8_t* tms_command::bits

The bits to clock out; the LSB is bit 0 of bits[0].

Definition at line 105 of file commands.h.

◆ num_bits

unsigned tms_command::num_bits

How many bits should be clocked out.

Definition at line 103 of file commands.h.


The documentation for this struct was generated from the following file: