OpenOCD
bitq.c File Reference
Include dependency graph for bitq.c:

Go to the source code of this file.

Data Structures

struct  bitq_state
 

Functions

void bitq_cleanup (void)
 
static void bitq_end_state (tap_state_t state)
 
int bitq_execute_queue (struct jtag_command *cmd_queue)
 
static void bitq_in_proc (void)
 
static void bitq_io (int tms, int tdi, int tdo_req)
 
static void bitq_path_move (struct pathmove_command *cmd)
 
static void bitq_runtest (int num_cycles)
 
static void bitq_scan (struct scan_command *cmd)
 
static void bitq_scan_field (struct scan_field *field, int do_pause)
 
static void bitq_state_move (tap_state_t new_state)
 

Variables

static struct bitq_state bitq_in_state
 
struct bitq_interfacebitq_interface
 

Function Documentation

◆ bitq_cleanup()

void bitq_cleanup ( void  )

Definition at line 285 of file bitq.c.

Referenced by esp_usb_jtag_quit().

◆ bitq_end_state()

static void bitq_end_state ( tap_state_t  state)
static

Definition at line 79 of file bitq.c.

References LOG_ERROR, state, tap_is_state_stable(), and tap_set_end_state().

Referenced by bitq_execute_queue().

◆ bitq_execute_queue()

◆ bitq_in_proc()

◆ bitq_io()

static void bitq_io ( int  tms,
int  tdi,
int  tdo_req 
)
static

◆ bitq_path_move()

static void bitq_path_move ( struct pathmove_command cmd)
static

◆ bitq_runtest()

static void bitq_runtest ( int  num_cycles)
static

Definition at line 130 of file bitq.c.

References bitq_io(), bitq_state_move(), tap_get_end_state(), tap_get_state(), and TAP_IDLE.

Referenced by bitq_execute_queue().

◆ bitq_scan()

static void bitq_scan ( struct scan_command cmd)
static

Definition at line 191 of file bitq.c.

References bitq_scan_field(), bitq_state_move(), cmd, TAP_DRSHIFT, and TAP_IRSHIFT.

Referenced by bitq_execute_queue().

◆ bitq_scan_field()

static void bitq_scan_field ( struct scan_field field,
int  do_pause 
)
static

◆ bitq_state_move()

static void bitq_state_move ( tap_state_t  new_state)
static

Variable Documentation

◆ bitq_in_state

struct bitq_state bitq_in_state
static

Definition at line 16 of file bitq.c.

Referenced by bitq_execute_queue(), and bitq_in_proc().

◆ bitq_interface

Definition at line 16 of file bitq.c.