DWT_Type is only used within CMSIS.
 
Symbols
loading...
Files
loading...

DWT_Type struct

Structure type to access the Data Watchpoint and Trace Register (DWT).

Syntax

typedef struct {   __IOM uint32_t CTRL;                      __IOM uint32_t CYCCNT;                    __IOM uint32_t CPICNT;                    __IOM uint32_t EXCCNT;                    __IOM uint32_t SLEEPCNT;                  __IOM uint32_t LSUCNT;                    __IOM uint32_t FOLDCNT;                   __IM  uint32_t PCSR;                      __IOM uint32_t COMP0;                     __IOM uint32_t MASK0;                     __IOM uint32_t FUNCTION0;                       uint32_t RESERVED0[1U];   __IOM uint32_t COMP1;                     __IOM uint32_t MASK1;                     __IOM uint32_t FUNCTION1;                       uint32_t RESERVED1[1U];   __IOM uint32_t COMP2;                     __IOM uint32_t MASK2;                     __IOM uint32_t FUNCTION2;                       uint32_t RESERVED2[1U];   __IOM uint32_t COMP3;                     __IOM uint32_t MASK3;                     __IOM uint32_t FUNCTION3;               } DWT_Type;

Fields

CTRL

Offset: 0x000 (R/W) Control Register. Read more...

CYCCNT

Offset: 0x004 (R/W) Cycle Count Register. Read more...

CPICNT

Offset: 0x008 (R/W) CPI Count Register. Read more...

EXCCNT

Offset: 0x00C (R/W) Exception Overhead Count Register. Read more...

SLEEPCNT

Offset: 0x010 (R/W) Sleep Count Register. Read more...

LSUCNT

Offset: 0x014 (R/W) LSU Count Register. Read more...

FOLDCNT

Offset: 0x018 (R/W) Folded-instruction Count Register. Read more...

PCSR

Offset: 0x01C (R/ ) Program Counter Sample Register. Read more...

COMP0

Offset: 0x020 (R/W) Comparator Register 0. Read more...

MASK0

Offset: 0x024 (R/W) Mask Register 0. Read more...

FUNCTION0

Offset: 0x028 (R/W) Function Register 0. Read more...

RESERVED0

No summary provided. Read more...

COMP1

Offset: 0x030 (R/W) Comparator Register 1. Read more...

MASK1

Offset: 0x034 (R/W) Mask Register 1. Read more...

FUNCTION1

Offset: 0x038 (R/W) Function Register 1. Read more...

RESERVED1

No summary provided. Read more...

COMP2

Offset: 0x040 (R/W) Comparator Register 2. Read more...

MASK2

Offset: 0x044 (R/W) Mask Register 2. Read more...

FUNCTION2

Offset: 0x048 (R/W) Function Register 2. Read more...

RESERVED2

No summary provided. Read more...

COMP3

Offset: 0x050 (R/W) Comparator Register 3. Read more...

MASK3

Offset: 0x054 (R/W) Mask Register 3. Read more...

FUNCTION3

Offset: 0x058 (R/W) Function Register 3. Read more...

References

LocationReferrerText
core_cm4.h:904
typedef struct
core_cm4.h:929

all items filtered out
DWT_Type
all items filtered out