OpenOCD
|
Go to the source code of this file.
Functions | |
int | armv7m_trace_itm_config (struct target *target) |
Configure hardware accordingly to the current ITM target settings. More... | |
COMMAND_HANDLER (handle_itm_port_command) | |
COMMAND_HANDLER (handle_itm_ports_command) | |
Variables | |
const struct command_registration | armv7m_trace_command_handlers [] |
static const struct command_registration | itm_command_handlers [] |
int armv7m_trace_itm_config | ( | struct target * | target | ) |
Configure hardware accordingly to the current ITM target settings.
Definition at line 18 of file armv7m_trace.c.
References ERROR_FAIL, ERROR_OK, armv7m_trace_config::itm_async_timestamps, armv7m_trace_config::itm_diff_timestamps, ITM_LAR, ITM_LAR_KEY, armv7m_trace_config::itm_synchro_packets, ITM_TCR, ITM_TCR_BUSY_BIT, ITM_TCR_ITMENA_BIT, armv7m_trace_config::itm_ter, ITM_TER0, armv7m_trace_config::itm_ts_prescale, LOG_ERROR, target_read_u32(), target_to_armv7m(), target_write_u32(), timeval_ms(), armv7m_trace_config::trace_bus_id, and armv7m_common::trace_config.
Referenced by COMMAND_HANDLER(), and cortex_m_examine().
COMMAND_HANDLER | ( | handle_itm_port_command | ) |
Definition at line 75 of file armv7m_trace.c.
References armv7m_trace_itm_config(), CMD_ARGC, CMD_ARGV, CMD_CTX, COMMAND_EXEC, COMMAND_PARSE_NUMBER, COMMAND_PARSE_ON_OFF, ERROR_COMMAND_SYNTAX_ERROR, ERROR_OK, get_current_target(), armv7m_trace_config::itm_deferred_config, armv7m_trace_config::itm_ter, target_to_armv7m(), and armv7m_common::trace_config.
COMMAND_HANDLER | ( | handle_itm_ports_command | ) |
Definition at line 102 of file armv7m_trace.c.
const struct command_registration armv7m_trace_command_handlers[] |
Definition at line 102 of file armv7m_trace.c.
|
static |
Definition at line 102 of file armv7m_trace.c.