OpenOCD
armv7m_trace.h File Reference

Holds the interface to ITM and DWT configuration functions. More...

Include dependency graph for armv7m_trace.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  armv7m_trace_config
 

Enumerations

enum  itm_ts_prescaler { ITM_TS_PRESCALE1 , ITM_TS_PRESCALE4 , ITM_TS_PRESCALE16 , ITM_TS_PRESCALE64 }
 

Functions

int armv7m_trace_itm_config (struct target *target)
 Configure hardware accordingly to the current ITM target settings. More...
 

Variables

const struct command_registration armv7m_trace_command_handlers []
 

Detailed Description

Holds the interface to ITM and DWT configuration functions.

Definition in file armv7m_trace.h.

Enumeration Type Documentation

◆ itm_ts_prescaler

Enumerator
ITM_TS_PRESCALE1 

no prescaling for the timestamp counter

ITM_TS_PRESCALE4 

refclock divided by 4 for the timestamp counter

ITM_TS_PRESCALE16 

refclock divided by 16 for the timestamp counter

ITM_TS_PRESCALE64 

refclock divided by 64 for the timestamp counter

Definition at line 18 of file armv7m_trace.h.

Function Documentation

◆ armv7m_trace_itm_config()

Variable Documentation

◆ armv7m_trace_command_handlers

const struct command_registration armv7m_trace_command_handlers[]
extern

Definition at line 102 of file armv7m_trace.c.