OpenOCD
|
Go to the source code of this file.
Macros | |
#define | CHANNEL_NAME_SIZE 128 |
Functions | |
COMMAND_HANDLER (handle_rtt_channels_command) | |
COMMAND_HANDLER (handle_rtt_polling_interval_command) | |
COMMAND_HANDLER (handle_rtt_setup_command) | |
COMMAND_HANDLER (handle_rtt_start_command) | |
COMMAND_HANDLER (handle_rtt_stop_command) | |
static int | jim_channel_list (Jim_Interp *interp, int argc, Jim_Obj *const *argv) |
Variables | |
static const struct command_registration | rtt_subcommand_handlers [] |
const struct command_registration | rtt_target_command_handlers [] |
COMMAND_HANDLER | ( | handle_rtt_channels_command | ) |
Definition at line 100 of file rtt/tcl.c.
References CHANNEL_NAME_SIZE, CMD, command_print(), ctrl, ERROR_FAIL, ERROR_OK, info, rtt_control::num_down_channels, rtt_control::num_up_channels, RTT_CHANNEL_TYPE_DOWN, RTT_CHANNEL_TYPE_UP, rtt_found_cb(), rtt_get_control(), and rtt_read_channel_info().
COMMAND_HANDLER | ( | handle_rtt_polling_interval_command | ) |
Definition at line 68 of file rtt/tcl.c.
References CMD, CMD_ARGC, CMD_ARGV, COMMAND_PARSE_NUMBER, command_print(), ERROR_COMMAND_SYNTAX_ERROR, ERROR_OK, rtt_get_polling_interval(), and rtt_set_polling_interval().
COMMAND_HANDLER | ( | handle_rtt_setup_command | ) |
Definition at line 18 of file rtt/tcl.c.
References CMD_ARGC, CMD_ARGV, CMD_CTX, COMMAND_PARSE_NUMBER, ERROR_COMMAND_SYNTAX_ERROR, ERROR_FAIL, ERROR_OK, rtt_source::find_cb, get_current_target(), rtt_source::read, rtt_source::read_cb, rtt_source::read_channel_info, rtt_register_source(), rtt_setup(), size, source, rtt_source::start, rtt_source::stop, target_rtt_find_control_block(), target_rtt_read_callback(), target_rtt_read_channel_info(), target_rtt_read_control_block(), target_rtt_start(), target_rtt_stop(), target_rtt_write_callback(), and rtt_source::write.
COMMAND_HANDLER | ( | handle_rtt_start_command | ) |
Definition at line 47 of file rtt/tcl.c.
References CMD, CMD_ARGC, command_print(), ERROR_COMMAND_SYNTAX_ERROR, ERROR_FAIL, rtt_configured(), and rtt_start().
COMMAND_HANDLER | ( | handle_rtt_stop_command | ) |
Definition at line 60 of file rtt/tcl.c.
References CMD_ARGC, ERROR_COMMAND_SYNTAX_ERROR, and rtt_stop().
|
static |
Definition at line 153 of file rtt/tcl.c.
References CHANNEL_NAME_SIZE, ctrl, ERROR_FAIL, ERROR_OK, info, NULL, rtt_control::num_down_channels, rtt_control::num_up_channels, RTT_CHANNEL_TYPE_DOWN, RTT_CHANNEL_TYPE_UP, rtt_found_cb(), rtt_get_control(), and rtt_read_channel_info().
|
static |
const struct command_registration rtt_target_command_handlers[] |