aboutsummaryrefslogtreecommitdiff
path: root/src/target/armv7m_trace.h
diff options
context:
space:
mode:
authorMarc Schink <openocd-dev@marcschink.de>2016-12-10 12:59:27 +0100
committerPaul Fertser <fercerpav@gmail.com>2018-07-19 10:49:24 +0100
commit9f93cca42738cf0c5060296ef5899fee53fc642f (patch)
treee366e04e300383475f9a130db1214b9685237daf /src/target/armv7m_trace.h
parent55abb63752196de5a2e79fc4944a6af24e6414f6 (diff)
downloadriscv-openocd-9f93cca42738cf0c5060296ef5899fee53fc642f.zip
riscv-openocd-9f93cca42738cf0c5060296ef5899fee53fc642f.tar.gz
riscv-openocd-9f93cca42738cf0c5060296ef5899fee53fc642f.tar.bz2
target/armv7m_trace: Use prefix for enums
Change-Id: I3f199e6053146a1094d96b98ea174b41bb021599 Signed-off-by: Marc Schink <openocd-dev@marcschink.de> Reviewed-on: http://openocd.zylin.com/3905 Tested-by: jenkins Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Diffstat (limited to 'src/target/armv7m_trace.h')
-rw-r--r--src/target/armv7m_trace.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/target/armv7m_trace.h b/src/target/armv7m_trace.h
index 02bec96..c63f36d 100644
--- a/src/target/armv7m_trace.h
+++ b/src/target/armv7m_trace.h
@@ -27,15 +27,15 @@
*/
enum trace_config_type {
- DISABLED, /**< tracing is disabled */
- EXTERNAL, /**< trace output is captured externally */
- INTERNAL /**< trace output is handled by OpenOCD adapter driver */
+ TRACE_CONFIG_TYPE_DISABLED, /**< tracing is disabled */
+ TRACE_CONFIG_TYPE_EXTERNAL, /**< trace output is captured externally */
+ TRACE_CONFIG_TYPE_INTERNAL /**< trace output is handled by OpenOCD adapter driver */
};
enum tpiu_pin_protocol {
- SYNC, /**< synchronous trace output */
- ASYNC_MANCHESTER, /**< asynchronous output with Manchester coding */
- ASYNC_UART /**< asynchronous output with NRZ coding */
+ TPIU_PIN_PROTOCOL_SYNC, /**< synchronous trace output */
+ TPIU_PIN_PROTOCOL_ASYNC_MANCHESTER, /**< asynchronous output with Manchester coding */
+ TPIU_PIN_PROTOCOL_ASYNC_UART /**< asynchronous output with NRZ coding */
};
enum itm_ts_prescaler {