OpenOCD
armv7m_trace.c File Reference
Include dependency graph for armv7m_trace.c:

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 []
 

Function Documentation

◆ armv7m_trace_itm_config()

◆ COMMAND_HANDLER() [1/2]

◆ COMMAND_HANDLER() [2/2]

COMMAND_HANDLER ( handle_itm_ports_command  )

Definition at line 102 of file armv7m_trace.c.

Variable Documentation

◆ armv7m_trace_command_handlers

const struct command_registration armv7m_trace_command_handlers[]
Initial value:
= {
{
.name = "itm",
.mode = COMMAND_ANY,
.help = "itm command group",
.usage = "",
},
}
static const struct command_registration itm_command_handlers[]
Definition: armv7m_trace.c:122
#define COMMAND_REGISTRATION_DONE
Use this as the last entry in an array of command_registration records.
Definition: command.h:253
@ COMMAND_ANY
Definition: command.h:42

Definition at line 102 of file armv7m_trace.c.

◆ itm_command_handlers

const struct command_registration itm_command_handlers[]
static
Initial value:
= {
{
.name = "port",
.handler = handle_itm_port_command,
.mode = COMMAND_ANY,
.help = "Enable or disable ITM stimulus port",
.usage = "<port> (0|1|on|off)",
},
{
.name = "ports",
.handler = handle_itm_ports_command,
.mode = COMMAND_ANY,
.help = "Enable or disable all ITM stimulus ports",
.usage = "(0|1|on|off)",
},
}

Definition at line 102 of file armv7m_trace.c.