OpenOCD
|
Data Fields | |
union { | |
struct stlink_tcp_priv_s tcp_backend_priv | |
struct stlink_usb_priv_s usb_backend_priv | |
}; | |
struct stlink_backend_s * | backend |
uint8_t * | cmdbuf |
uint8_t | cmdidx |
uint8_t * | databuf |
uint8_t | direction |
uint32_t | max_mem_packet |
uint16_t | pid |
struct dap_queue | queue [MAX_QUEUE_DEPTH] |
queue of dap_direct operations More... | |
unsigned int | queue_index |
first element available in the queue More... | |
bool | reconnect_pending |
reconnect is needed next time we try to query the status More... | |
uint8_t | rx_ep |
enum stlink_mode | st_mode |
struct { | |
bool enabled | |
whether SWO tracing is enabled or not More... | |
uint32_t source_hz | |
trace module source clock More... | |
} | trace |
uint8_t | trace_ep |
uint8_t | tx_ep |
struct stlink_usb_version | version |
uint16_t | vid |
Definition at line 246 of file stlink_usb.c.
union { ... } |
struct stlink_backend_s* stlink_usb_handle_s::backend |
Definition at line 248 of file stlink_usb.c.
Referenced by stlink_open(), stlink_usb_close(), stlink_usb_count_misc_rw_queue(), stlink_usb_open(), and stlink_usb_read_trace().
uint8_t* stlink_usb_handle_s::cmdbuf |
Definition at line 261 of file stlink_usb.c.
Referenced by __attribute__(), COMMAND_HANDLER(), stlink_get_com_freq(), stlink_read_dap_register(), stlink_set_com_freq(), stlink_swim_assert_reset(), stlink_swim_enter(), stlink_swim_generate_rst(), stlink_swim_readbytes(), stlink_swim_resync(), stlink_swim_speed(), stlink_swim_status(), stlink_swim_writebytes(), stlink_usb_assert_srst(), stlink_usb_check_voltage(), stlink_usb_close_access_port(), stlink_usb_current_mode(), stlink_usb_get_rw_status(), stlink_usb_halt(), stlink_usb_idcode(), stlink_usb_init_access_port(), stlink_usb_init_buffer(), stlink_usb_mode_enter(), stlink_usb_mode_leave(), stlink_usb_read_mem16(), stlink_usb_read_mem32(), stlink_usb_read_mem32_noaddrinc(), stlink_usb_read_mem8(), stlink_usb_read_reg(), stlink_usb_read_regs(), stlink_usb_reset(), stlink_usb_run(), stlink_usb_rw_misc_in(), stlink_usb_rw_misc_out(), stlink_usb_set_cbw_transfer_datalength(), stlink_usb_set_jtagclk(), stlink_usb_set_swdclk(), stlink_usb_state(), stlink_usb_step(), stlink_usb_trace_disable(), stlink_usb_trace_enable(), stlink_usb_usb_close(), stlink_usb_usb_open(), stlink_usb_usb_xfer_noerrcheck(), stlink_usb_v2_read_debug_reg(), stlink_usb_version(), stlink_usb_write_debug_reg(), stlink_usb_write_mem16(), stlink_usb_write_mem32(), stlink_usb_write_mem32_noaddrinc(), stlink_usb_write_mem8(), stlink_usb_write_reg(), stlink_usb_xfer_rw(), stlink_usb_xfer_v1_create_cmd(), stlink_usb_xfer_v1_get_sense(), and stlink_usb_xfer_v1_get_status().
uint8_t stlink_usb_handle_s::cmdidx |
Definition at line 263 of file stlink_usb.c.
Referenced by __attribute__(), COMMAND_HANDLER(), stlink_get_com_freq(), stlink_read_dap_register(), stlink_set_com_freq(), stlink_swim_assert_reset(), stlink_swim_enter(), stlink_swim_generate_rst(), stlink_swim_readbytes(), stlink_swim_resync(), stlink_swim_speed(), stlink_swim_status(), stlink_swim_writebytes(), stlink_usb_assert_srst(), stlink_usb_check_voltage(), stlink_usb_close_access_port(), stlink_usb_current_mode(), stlink_usb_get_rw_status(), stlink_usb_halt(), stlink_usb_idcode(), stlink_usb_init_access_port(), stlink_usb_init_buffer(), stlink_usb_mode_enter(), stlink_usb_mode_leave(), stlink_usb_read_mem16(), stlink_usb_read_mem32(), stlink_usb_read_mem32_noaddrinc(), stlink_usb_read_mem8(), stlink_usb_read_reg(), stlink_usb_read_regs(), stlink_usb_reset(), stlink_usb_run(), stlink_usb_rw_misc_in(), stlink_usb_rw_misc_out(), stlink_usb_set_jtagclk(), stlink_usb_set_swdclk(), stlink_usb_state(), stlink_usb_step(), stlink_usb_trace_disable(), stlink_usb_trace_enable(), stlink_usb_usb_xfer_noerrcheck(), stlink_usb_v2_read_debug_reg(), stlink_usb_version(), stlink_usb_write_debug_reg(), stlink_usb_write_mem16(), stlink_usb_write_mem32(), stlink_usb_write_mem32_noaddrinc(), stlink_usb_write_mem8(), stlink_usb_write_reg(), stlink_usb_xfer_v1_create_cmd(), and stlink_usb_xfer_v1_get_sense().
uint8_t* stlink_usb_handle_s::databuf |
Definition at line 267 of file stlink_usb.c.
Referenced by __attribute__(), COMMAND_HANDLER(), stlink_get_com_freq(), stlink_read_dap_register(), stlink_set_com_freq(), stlink_swim_assert_reset(), stlink_swim_enter(), stlink_swim_generate_rst(), stlink_swim_readbytes(), stlink_swim_resync(), stlink_swim_speed(), stlink_swim_status(), stlink_swim_writebytes(), stlink_usb_assert_srst(), stlink_usb_check_voltage(), stlink_usb_close_access_port(), stlink_usb_current_mode(), stlink_usb_error_check(), stlink_usb_get_rw_status(), stlink_usb_halt(), stlink_usb_idcode(), stlink_usb_init_access_port(), stlink_usb_init_buffer(), stlink_usb_mode_enter(), stlink_usb_mode_leave(), stlink_usb_read_mem16(), stlink_usb_read_mem32(), stlink_usb_read_mem32_noaddrinc(), stlink_usb_read_mem8(), stlink_usb_read_reg(), stlink_usb_read_regs(), stlink_usb_reset(), stlink_usb_run(), stlink_usb_rw_misc_in(), stlink_usb_set_jtagclk(), stlink_usb_set_swdclk(), stlink_usb_state(), stlink_usb_step(), stlink_usb_trace_disable(), stlink_usb_trace_enable(), stlink_usb_usb_close(), stlink_usb_usb_open(), stlink_usb_v2_read_debug_reg(), stlink_usb_version(), stlink_usb_write_debug_reg(), stlink_usb_write_reg(), and stlink_usb_xfer_v1_get_sense().
uint8_t stlink_usb_handle_s::direction |
Definition at line 265 of file stlink_usb.c.
Referenced by stlink_tcp_xfer_noerrcheck(), stlink_usb_init_buffer(), and stlink_usb_xfer_rw().
bool stlink_usb_handle_s::enabled |
whether SWO tracing is enabled or not
Definition at line 281 of file stlink_usb.c.
Referenced by stlink_config_trace(), stlink_usb_reset(), stlink_usb_state(), stlink_usb_trace_disable(), and stlink_usb_trace_enable().
uint32_t stlink_usb_handle_s::max_mem_packet |
Definition at line 269 of file stlink_usb.c.
Referenced by stlink_open(), stlink_usb_read_ap_mem(), and stlink_usb_write_ap_mem().
uint16_t stlink_usb_handle_s::pid |
Definition at line 277 of file stlink_usb.c.
Referenced by stlink_usb_usb_open(), and stlink_usb_version().
struct dap_queue stlink_usb_handle_s::queue[MAX_QUEUE_DEPTH] |
queue of dap_direct operations
Definition at line 287 of file stlink_usb.c.
Referenced by stlink_dap_op_queue_ap_read(), stlink_dap_op_queue_ap_write(), stlink_dap_op_queue_dp_read(), stlink_dap_op_queue_dp_write(), and stlink_dap_run_internal().
unsigned int stlink_usb_handle_s::queue_index |
first element available in the queue
Definition at line 291 of file stlink_usb.c.
Referenced by stlink_dap_op_queue_ap_read(), stlink_dap_op_queue_ap_write(), stlink_dap_op_queue_dp_read(), stlink_dap_op_queue_dp_write(), and stlink_dap_run_internal().
bool stlink_usb_handle_s::reconnect_pending |
reconnect is needed next time we try to query the status
Definition at line 287 of file stlink_usb.c.
Referenced by stlink_dap_reinit_interface().
uint8_t stlink_usb_handle_s::rx_ep |
Definition at line 255 of file stlink_usb.c.
Referenced by __attribute__(), COMMAND_HANDLER(), stlink_get_com_freq(), stlink_read_dap_register(), stlink_set_com_freq(), stlink_swim_assert_reset(), stlink_swim_enter(), stlink_swim_generate_rst(), stlink_swim_readbytes(), stlink_swim_resync(), stlink_swim_speed(), stlink_swim_status(), stlink_usb_assert_srst(), stlink_usb_check_voltage(), stlink_usb_close_access_port(), stlink_usb_current_mode(), stlink_usb_get_rw_status(), stlink_usb_halt(), stlink_usb_idcode(), stlink_usb_init_access_port(), stlink_usb_mode_enter(), stlink_usb_mode_leave(), stlink_usb_read_mem16(), stlink_usb_read_mem32(), stlink_usb_read_mem32_noaddrinc(), stlink_usb_read_mem8(), stlink_usb_read_reg(), stlink_usb_read_regs(), stlink_usb_reset(), stlink_usb_run(), stlink_usb_rw_misc_in(), stlink_usb_set_jtagclk(), stlink_usb_set_swdclk(), stlink_usb_state(), stlink_usb_step(), stlink_usb_trace_disable(), stlink_usb_trace_enable(), stlink_usb_usb_open(), stlink_usb_v2_read_debug_reg(), stlink_usb_version(), stlink_usb_write_debug_reg(), stlink_usb_write_reg(), stlink_usb_xfer_rw(), stlink_usb_xfer_v1_create_cmd(), stlink_usb_xfer_v1_get_sense(), and stlink_usb_xfer_v1_get_status().
uint32_t stlink_usb_handle_s::source_hz |
trace module source clock
Definition at line 283 of file stlink_usb.c.
Referenced by stlink_config_trace(), and stlink_usb_trace_enable().
enum stlink_mode stlink_usb_handle_s::st_mode |
Definition at line 269 of file stlink_usb.c.
Referenced by stlink_cmd_allow_retry(), stlink_dap_dp_read(), stlink_dap_op_connect(), stlink_dap_reinit_interface(), stlink_dap_run_finalize(), stlink_open(), stlink_speed(), stlink_usb_assert_srst(), stlink_usb_error_check(), stlink_usb_idcode(), and stlink_usb_init_mode().
struct stlink_tcp_priv_s stlink_usb_handle_s::tcp_backend_priv |
Definition at line 291 of file stlink_usb.c.
Referenced by stlink_tcp_close(), stlink_tcp_send_cmd(), stlink_tcp_xfer_noerrcheck(), and stlink_usb_count_misc_rw_queue().
struct { ... } stlink_usb_handle_s::trace |
Referenced by stlink_config_trace(), stlink_usb_reset(), stlink_usb_state(), stlink_usb_trace_disable(), and stlink_usb_trace_enable().
uint8_t stlink_usb_handle_s::trace_ep |
Definition at line 259 of file stlink_usb.c.
Referenced by stlink_tcp_read_trace(), stlink_usb_usb_open(), and stlink_usb_usb_read_trace().
uint8_t stlink_usb_handle_s::tx_ep |
Definition at line 257 of file stlink_usb.c.
Referenced by stlink_swim_writebytes(), stlink_tcp_xfer_noerrcheck(), stlink_usb_rw_misc_out(), stlink_usb_usb_open(), stlink_usb_write_mem16(), stlink_usb_write_mem32(), stlink_usb_write_mem32_noaddrinc(), stlink_usb_write_mem8(), and stlink_usb_xfer_rw().
struct stlink_usb_priv_s stlink_usb_handle_s::usb_backend_priv |
Definition at line 291 of file stlink_usb.c.
Referenced by stlink_usb_usb_close(), stlink_usb_usb_open(), stlink_usb_usb_read_trace(), stlink_usb_xfer_rw(), and stlink_usb_xfer_v1_get_status().
struct stlink_usb_version stlink_usb_handle_s::version |
Definition at line 269 of file stlink_usb.c.
Referenced by stlink_config_trace(), stlink_dap_closeall_ap(), stlink_dap_dp_read(), stlink_dap_dp_write(), stlink_dap_init(), stlink_dap_op_queue_ap_read(), stlink_dap_op_queue_ap_write(), stlink_dap_reinit_interface(), stlink_get_com_freq(), stlink_open(), stlink_read_dap_register(), stlink_set_com_freq(), stlink_speed(), stlink_speed_jtag(), stlink_speed_swd(), stlink_swim_writebytes(), stlink_usb_assert_srst(), stlink_usb_block(), stlink_usb_check_voltage(), stlink_usb_close_access_port(), stlink_usb_count_misc_rw_queue(), stlink_usb_error_check(), stlink_usb_get_rw_status(), stlink_usb_halt(), stlink_usb_idcode(), stlink_usb_init_access_port(), stlink_usb_init_buffer(), stlink_usb_init_mode(), stlink_usb_mode_enter(), stlink_usb_open_ap(), stlink_usb_read_ap_mem(), stlink_usb_read_mem16(), stlink_usb_read_mem32(), stlink_usb_read_mem32_noaddrinc(), stlink_usb_read_mem8(), stlink_usb_read_reg(), stlink_usb_read_regs(), stlink_usb_read_trace(), stlink_usb_reset(), stlink_usb_run(), stlink_usb_rw_misc_in(), stlink_usb_rw_misc_out(), stlink_usb_set_jtagclk(), stlink_usb_set_swdclk(), stlink_usb_state(), stlink_usb_step(), stlink_usb_trace_disable(), stlink_usb_trace_enable(), stlink_usb_usb_open(), stlink_usb_usb_xfer_noerrcheck(), stlink_usb_version(), stlink_usb_write_ap_mem(), stlink_usb_write_debug_reg(), stlink_usb_write_mem16(), stlink_usb_write_mem32(), stlink_usb_write_mem32_noaddrinc(), stlink_usb_write_mem8(), and stlink_usb_write_reg().
uint16_t stlink_usb_handle_s::vid |
Definition at line 275 of file stlink_usb.c.
Referenced by stlink_usb_version().