OpenOCD
|
Holds the interface to ITM and DWT configuration functions. More...
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 [] |
Holds the interface to ITM and DWT configuration functions.
Definition in file armv7m_trace.h.
enum itm_ts_prescaler |
Definition at line 18 of file armv7m_trace.h.
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().
|
extern |
Definition at line 102 of file armv7m_trace.c.