System Control Space (SCS) => Data Watchpoint and Trace (DWT).
More...
System Control Space (SCS) => Data Watchpoint and Trace (DWT).
See "ARMv7-M Architecture Reference Manual" and "ARMv6-M Architecture Reference Manual" The DWT is an optional debug unit that provides watchpoints, data tracing, and system profiling for the processor.
◆ DWT_COMP
#define DWT_COMP |
( |
|
n | ) |
MMIO32(DWT_BASE + 0x20 + (n) * 16) |
Definition at line 89 of file dwt.h.
◆ DWT_CTRL
#define DWT_CTRL MMIO32(DWT_BASE + 0x00) |
DWT Control register Purpose Provides configuration and status information for the DWT block, and used to control features of the block Usage constraints: There are no usage constraints.
Configurations Always implemented.
Definition at line 47 of file dwt.h.
◆ DWT_CTRL_NUMCOMP
◆ DWT_CTRL_NUMCOMP_SHIFT
#define DWT_CTRL_NUMCOMP_SHIFT 28 |
◆ DWT_FUNCTION
#define DWT_FUNCTION |
( |
|
n | ) |
MMIO32(DWT_BASE + 0x28 + (n) * 16) |
Definition at line 91 of file dwt.h.
◆ DWT_FUNCTIONx_FUNCTION
#define DWT_FUNCTIONx_FUNCTION 15 |
◆ DWT_FUNCTIONx_FUNCTION_DISABLED
#define DWT_FUNCTIONx_FUNCTION_DISABLED 0 |
◆ DWT_FUNCTIONx_MATCHED
#define DWT_FUNCTIONx_MATCHED (1 << 24) |
◆ DWT_LAR
Definition at line 96 of file dwt.h.
◆ DWT_LSR
Definition at line 94 of file dwt.h.
◆ DWT_MASK
#define DWT_MASK |
( |
|
n | ) |
MMIO32(DWT_BASE + 0x24 + (n) * 16) |
Definition at line 90 of file dwt.h.
◆ DWT_MASKx_MASK
#define DWT_MASKx_MASK 0x0F |
◆ DWT_PCSR
#define DWT_PCSR MMIO32(DWT_BASE + 0x1C) |
Definition at line 88 of file dwt.h.
◆ dwt_enable_cycle_counter()
bool dwt_enable_cycle_counter |
( |
void |
| ) |
|
◆ dwt_read_cycle_counter()
uint32_t dwt_read_cycle_counter |
( |
void |
| ) |
|