arc_jtag_enque_read_dr() is only used within OpenOCD.
 
Symbols
loading...
Files
loading...
CodeScopeDevelopment ToolsOpenOCDarc_jtag_enque_read_dr()

arc_jtag_enque_read_dr() function

Read 4-byte word from data register. Unlike arc_jtag_write_data, this function returns byte-buffer, caller must convert this data to required format himself. This is done, because it is impossible to convert data before jtag_execute_queue() is invoked, so it cannot be done inside this function, so it has to operate with byte-buffers. Write function on the other hand can "write-and-forget", data is converted to byte-buffer before jtag_execute_queue().

Syntax

static void arc_jtag_enque_read_dr(struct arc_jtag *jtag_info,     uint8_t *data,     tap_state_t end_state);

Arguments

jtag_info

data

Array of bytes to read into.

end_state

End state after reading.

References

LocationReferrerText
arc_jtag.c:68
static void arc_jtag_enque_read_dr(struct arc_jtag *jtag_info, uint8_t *data,
arc_jtag.c:164arc_jtag_enque_status_read()
arc_jtag_enque_read_dr(jtag_info, buffer, TAP_IDLE);
arc_jtag.c:224arc_jtag_enque_register_rw()
arc_jtag_enque_read_dr(jtag_info, read_buffer + i * 4, TAP_IDLE);
arc_jtag.c:524arc_jtag_read_memory()
arc_jtag_enque_read_dr(jtag_info, data_buf + i * 4, TAP_IDLE);

Call Tree

Functions calling arc_jtag_enque_read_dr()
Functions called by arc_jtag_enque_read_dr()
arc_jtag_enque_read_dr()
all items filtered out
Data read by arc_jtag_enque_read_dr()
arc_jtag_enque_read_dr()
Type of arc_jtag_enque_read_dr()
arc_jtag_enque_read_dr()
all items filtered out