scan_command is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

scan_command struct

The scan_command provide a means of encapsulating a set of scan_field structures that should be scanned in/out to the device.

Syntax

struct scan_command {     bool ir_scan;     unsigned int num_fields;     struct scan_field *fields;     tap_state_t end_state; };

Fields

ir_scan

instruction/not data scan. Read more...

num_fields

number of fields in *fields array. Read more...

fields

pointer to an array of data scan fields. Read more...

end_state

state in which JTAG commands should finish. Read more...

References

LocationReferrerScopeText
commands.h:35
struct scan_command {
arm-jtag-ew.c:53armjtagew_scan()::commandarmjtagew_scan()
struct scan_command *command);
arm-jtag-ew.c:63armjtagew_tap_append_scan()::commandarmjtagew_tap_append_scan()
static void armjtagew_tap_append_scan(int length, uint8_t *buffer, struct scan_command *command);
arm-jtag-ew.c:330armjtagew_scan()
struct scan_command *command)
arm-jtag-ew.c:515pending_scan_result::commandpending_scan_result
struct scan_command *command; /* Corresponding scan command */
arm-jtag-ew.c:565armjtagew_tap_append_scan()
void armjtagew_tap_append_scan(int length, uint8_t *buffer, struct scan_command *command)
arm-jtag-ew.c:636armjtagew_tap_execute()
struct scan_command *command = pending_scan_result->command;
commands.c:167jtag_scan_type()::cmdjtag_scan_type()
enum scan_type jtag_scan_type(const struct scan_command *cmd)
commands.c:181jtag_scan_size()::cmdjtag_scan_size()
unsigned int jtag_scan_size(const struct scan_command *cmd)
commands.c:192jtag_build_buffer()::cmdjtag_build_buffer()
int jtag_build_buffer(const struct scan_command *cmd, uint8_t **buffer)
commands.c:230jtag_read_buffer()::cmdjtag_read_buffer()
int jtag_read_buffer(uint8_t *buffer, const struct scan_command *cmd)
commands.h:113jtag_command_container::scanjtag_command_container
struct scan_command *scan;
commands.h:159jtag_scan_type()::cmdjtag_scan_type()
enum scan_type jtag_scan_type(const struct scan_command *cmd);
commands.h:160jtag_scan_size()::cmdjtag_scan_size()
unsigned int jtag_scan_size(const struct scan_command *cmd);
commands.h:161jtag_read_buffer()::cmdjtag_read_buffer()
int jtag_read_buffer(uint8_t *buffer, const struct scan_command *cmd);
commands.h:162jtag_build_buffer()::cmdjtag_build_buffer()
int jtag_build_buffer(const struct scan_command *cmd, uint8_t **buffer);
driver.c:57interface_jtag_add_ir_scan()
struct scan_command *scan = cmd_queue_alloc(sizeof(struct scan_command));
driver.c:135interface_jtag_add_dr_scan()
struct scan_command *scan = cmd_queue_alloc(sizeof(struct scan_command));
driver.c:190jtag_add_plain_scan()
struct scan_command *scan = cmd_queue_alloc(sizeof(struct scan_command));
opendous.c:74pending_scan_result::commandpending_scan_result
struct scan_command *command; /* Corresponding scan command */
opendous.c:112opendous_scan()::commandopendous_scan()
int scan_size, struct scan_command *command);
opendous.c:122opendous_tap_append_scan()::commandopendous_tap_append_scan()
static void opendous_tap_append_scan(int length, uint8_t *buffer, struct scan_command *command);
opendous.c:461opendous_scan()
void opendous_scan(int ir_scan, enum scan_type type, uint8_t *buffer, int scan_size, struct scan_command *command)
opendous.c:582opendous_tap_append_scan()
void opendous_tap_append_scan(int length, uint8_t *buffer, struct scan_command *command)
opendous.c:661opendous_tap_execute()
struct scan_command *command = pending_scan_result->command;
usb_blaster.c:699ublast_scan()
static int ublast_scan(struct scan_command *cmd)
vsllink.c:31pending_scan_result::commandpending_scan_result
struct scan_command *command; /* Corresponding scan command */
vsllink.c:51vsllink_scan()::commandvsllink_scan()
uint8_t *buffer, int scan_size, struct scan_command *command);
vsllink.c:60vsllink_tap_append_scan()::commandvsllink_tap_append_scan()
struct scan_command *command);
vsllink.c:428vsllink_scan()
int scan_size, struct scan_command *command)
vsllink.c:571vsllink_tap_append_scan()
struct scan_command *command)
vsllink.c:633vsllink_jtag_execute()
struct scan_command *command;

Type Use

Variables of scan_command type
scan_command