OpenOCD
armv7m_trace.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 /***************************************************************************
4  * Copyright (C) 2015 Paul Fertser <fercerpav@gmail.com> *
5  ***************************************************************************/
6 
7 #ifndef OPENOCD_TARGET_ARMV7M_TRACE_H
8 #define OPENOCD_TARGET_ARMV7M_TRACE_H
9 
10 #include <helper/command.h>
11 #include <target/target.h>
12 
23 };
24 
27  uint32_t itm_ter[8];
29  unsigned int trace_bus_id;
40 };
41 
43 
48 
49 #endif /* OPENOCD_TARGET_ARMV7M_TRACE_H */
itm_ts_prescaler
Definition: armv7m_trace.h:18
@ ITM_TS_PRESCALE4
refclock divided by 4 for the timestamp counter
Definition: armv7m_trace.h:20
@ ITM_TS_PRESCALE1
no prescaling for the timestamp counter
Definition: armv7m_trace.h:19
@ ITM_TS_PRESCALE16
refclock divided by 16 for the timestamp counter
Definition: armv7m_trace.h:21
@ ITM_TS_PRESCALE64
refclock divided by 64 for the timestamp counter
Definition: armv7m_trace.h:22
const struct command_registration armv7m_trace_command_handlers[]
Definition: armv7m_trace.c:140
int armv7m_trace_itm_config(struct target *target)
Configure hardware accordingly to the current ITM target settings.
Definition: armv7m_trace.c:18
uint32_t itm_ter[8]
Bitmask of currently enabled ITM stimuli.
Definition: armv7m_trace.h:27
unsigned int trace_bus_id
Identifier for multi-source trace stream formatting.
Definition: armv7m_trace.h:29
bool itm_diff_timestamps
Enable differential timestamps.
Definition: armv7m_trace.h:33
bool itm_async_timestamps
Enable async timestamps model.
Definition: armv7m_trace.h:35
bool itm_synchro_packets
Enable synchronisation packet transmission (for sync port only)
Definition: armv7m_trace.h:37
bool itm_deferred_config
Config ITM after target examine.
Definition: armv7m_trace.h:39
enum itm_ts_prescaler itm_ts_prescale
Prescaler for the timestamp counter.
Definition: armv7m_trace.h:31
Definition: target.h:120