WB32F10x Standard Peripherals Firmware Library

Data Structures | Macros
Data Watchpoint and Trace (DWT)
Defines and Type Definitions

Type definitions for the Data Watchpoint and Trace (DWT) More...

## Data Structures
struct | DWT_Type
| Structure type to access the Data Watchpoint and Trace Register (DWT). More...

## Macros
#define | DWT_CTRL_NUMCOMP_Pos 28U
#define | DWT_CTRL_NUMCOMP_Msk (0xFUL << DWT_CTRL_NUMCOMP_Pos)
#define | DWT_CTRL_NOTRCPKT_Pos 27U
#define | DWT_CTRL_NOTRCPKT_Msk (0x1UL << DWT_CTRL_NOTRCPKT_Pos)
#define | DWT_CTRL_NOEXTTRIG_Pos 26U
#define | DWT_CTRL_NOEXTTRIG_Msk (0x1UL << DWT_CTRL_NOEXTTRIG_Pos)
#define | DWT_CTRL_NOCYCCNT_Pos 25U
#define | DWT_CTRL_NOCYCCNT_Msk (0x1UL << DWT_CTRL_NOCYCCNT_Pos)
#define | DWT_CTRL_NOPRFCNT_Pos 24U
#define | DWT_CTRL_NOPRFCNT_Msk (0x1UL << DWT_CTRL_NOPRFCNT_Pos)
#define | DWT_CTRL_CYCEVTENA_Pos 22U
#define | DWT_CTRL_CYCEVTENA_Msk (0x1UL << DWT_CTRL_CYCEVTENA_Pos)
#define | DWT_CTRL_FOLDEVTENA_Pos 21U
#define | DWT_CTRL_FOLDEVTENA_Msk (0x1UL << DWT_CTRL_FOLDEVTENA_Pos)
#define | DWT_CTRL_LSUEVTENA_Pos 20U
#define | DWT_CTRL_LSUEVTENA_Msk (0x1UL << DWT_CTRL_LSUEVTENA_Pos)
#define | DWT_CTRL_SLEEPEVTENA_Pos 19U
#define | DWT_CTRL_SLEEPEVTENA_Msk (0x1UL << DWT_CTRL_SLEEPEVTENA_Pos)
#define | DWT_CTRL_EXCEVTENA_Pos 18U
#define | DWT_CTRL_EXCEVTENA_Msk (0x1UL << DWT_CTRL_EXCEVTENA_Pos)
#define | DWT_CTRL_CPIEVTENA_Pos 17U
#define | DWT_CTRL_CPIEVTENA_Msk (0x1UL << DWT_CTRL_CPIEVTENA_Pos)
#define | DWT_CTRL_EXCTRCENA_Pos 16U
#define | DWT_CTRL_EXCTRCENA_Msk (0x1UL << DWT_CTRL_EXCTRCENA_Pos)
#define | DWT_CTRL_PCSAMPLENA_Pos 12U
#define | DWT_CTRL_PCSAMPLENA_Msk (0x1UL << DWT_CTRL_PCSAMPLENA_Pos)
#define | DWT_CTRL_SYNCTAP_Pos 10U
#define | DWT_CTRL_SYNCTAP_Msk (0x3UL << DWT_CTRL_SYNCTAP_Pos)
#define | DWT_CTRL_CYCTAP_Pos 9U
#define | DWT_CTRL_CYCTAP_Msk (0x1UL << DWT_CTRL_CYCTAP_Pos)
#define | DWT_CTRL_POSTINIT_Pos 5U
#define | DWT_CTRL_POSTINIT_Msk (0xFUL << DWT_CTRL_POSTINIT_Pos)
#define | DWT_CTRL_POSTPRESET_Pos 1U
#define | DWT_CTRL_POSTPRESET_Msk (0xFUL << DWT_CTRL_POSTPRESET_Pos)
#define | DWT_CTRL_CYCCNTENA_Pos 0U
#define | DWT_CTRL_CYCCNTENA_Msk (0x1UL /*<< DWT_CTRL_CYCCNTENA_Pos*/)
#define | DWT_CPICNT_CPICNT_Pos 0U
#define | DWT_CPICNT_CPICNT_Msk (0xFFUL /*<< DWT_CPICNT_CPICNT_Pos*/)
#define | DWT_EXCCNT_EXCCNT_Pos 0U
#define | DWT_EXCCNT_EXCCNT_Msk (0xFFUL /*<< DWT_EXCCNT_EXCCNT_Pos*/)
#define | DWT_SLEEPCNT_SLEEPCNT_Pos 0U
#define | DWT_SLEEPCNT_SLEEPCNT_Msk (0xFFUL /*<< DWT_SLEEPCNT_SLEEPCNT_Pos*/)
#define | DWT_LSUCNT_LSUCNT_Pos 0U
#define | DWT_LSUCNT_LSUCNT_Msk (0xFFUL /*<< DWT_LSUCNT_LSUCNT_Pos*/)
#define | DWT_FOLDCNT_FOLDCNT_Pos 0U
#define | DWT_FOLDCNT_FOLDCNT_Msk (0xFFUL /*<< DWT_FOLDCNT_FOLDCNT_Pos*/)
#define | DWT_MASK_MASK_Pos 0U
#define | DWT_MASK_MASK_Msk (0x1FUL /*<< DWT_MASK_MASK_Pos*/)
#define | DWT_FUNCTION_MATCHED_Pos 24U
#define | DWT_FUNCTION_MATCHED_Msk (0x1UL << DWT_FUNCTION_MATCHED_Pos)
#define | DWT_FUNCTION_DATAVADDR1_Pos 16U
#define | DWT_FUNCTION_DATAVADDR1_Msk (0xFUL << DWT_FUNCTION_DATAVADDR1_Pos)
#define | DWT_FUNCTION_DATAVADDR0_Pos 12U
#define | DWT_FUNCTION_DATAVADDR0_Msk (0xFUL << DWT_FUNCTION_DATAVADDR0_Pos)
#define | DWT_FUNCTION_DATAVSIZE_Pos 10U
#define | DWT_FUNCTION_DATAVSIZE_Msk (0x3UL << DWT_FUNCTION_DATAVSIZE_Pos)
#define | DWT_FUNCTION_LNK1ENA_Pos 9U
#define | DWT_FUNCTION_LNK1ENA_Msk (0x1UL << DWT_FUNCTION_LNK1ENA_Pos)
#define | DWT_FUNCTION_DATAVMATCH_Pos 8U
#define | DWT_FUNCTION_DATAVMATCH_Msk (0x1UL << DWT_FUNCTION_DATAVMATCH_Pos)
#define | DWT_FUNCTION_CYCMATCH_Pos 7U
#define | DWT_FUNCTION_CYCMATCH_Msk (0x1UL << DWT_FUNCTION_CYCMATCH_Pos)
#define | DWT_FUNCTION_EMITRANGE_Pos 5U
#define | DWT_FUNCTION_EMITRANGE_Msk (0x1UL << DWT_FUNCTION_EMITRANGE_Pos)
#define | DWT_FUNCTION_FUNCTION_Pos 0U
#define | DWT_FUNCTION_FUNCTION_Msk (0xFUL /*<< DWT_FUNCTION_FUNCTION_Pos*/)

## Detailed Description

Type definitions for the Data Watchpoint and Trace (DWT)

## Macro Definition Documentation

## ◆ DWT_CPICNT_CPICNT_Msk

#define DWT_CPICNT_CPICNT_Msk (0xFFUL /*<< DWT_CPICNT_CPICNT_Pos*/)

DWT CPICNT: CPICNT Mask

## ◆ DWT_CPICNT_CPICNT_Pos

#define DWT_CPICNT_CPICNT_Pos 0U

DWT CPICNT: CPICNT Position

## ◆ DWT_CTRL_CPIEVTENA_Msk

#define DWT_CTRL_CPIEVTENA_Msk (0x1UL << DWT_CTRL_CPIEVTENA_Pos)

DWT CTRL: CPIEVTENA Mask

## ◆ DWT_CTRL_CPIEVTENA_Pos

#define DWT_CTRL_CPIEVTENA_Pos 17U

DWT CTRL: CPIEVTENA Position

## ◆ DWT_CTRL_CYCCNTENA_Msk

#define DWT_CTRL_CYCCNTENA_Msk (0x1UL /*<< DWT_CTRL_CYCCNTENA_Pos*/)

DWT CTRL: CYCCNTENA Mask

## ◆ DWT_CTRL_CYCCNTENA_Pos

#define DWT_CTRL_CYCCNTENA_Pos 0U

DWT CTRL: CYCCNTENA Position

## ◆ DWT_CTRL_CYCEVTENA_Msk

#define DWT_CTRL_CYCEVTENA_Msk (0x1UL << DWT_CTRL_CYCEVTENA_Pos)

DWT CTRL: CYCEVTENA Mask

## ◆ DWT_CTRL_CYCEVTENA_Pos

#define DWT_CTRL_CYCEVTENA_Pos 22U

DWT CTRL: CYCEVTENA Position

## ◆ DWT_CTRL_CYCTAP_Msk

#define DWT_CTRL_CYCTAP_Msk (0x1UL << DWT_CTRL_CYCTAP_Pos)

DWT CTRL: CYCTAP Mask

## ◆ DWT_CTRL_CYCTAP_Pos

#define DWT_CTRL_CYCTAP_Pos 9U

DWT CTRL: CYCTAP Position

## ◆ DWT_CTRL_EXCEVTENA_Msk

#define DWT_CTRL_EXCEVTENA_Msk (0x1UL << DWT_CTRL_EXCEVTENA_Pos)

DWT CTRL: EXCEVTENA Mask

## ◆ DWT_CTRL_EXCEVTENA_Pos

#define DWT_CTRL_EXCEVTENA_Pos 18U

DWT CTRL: EXCEVTENA Position

## ◆ DWT_CTRL_EXCTRCENA_Msk

#define DWT_CTRL_EXCTRCENA_Msk (0x1UL << DWT_CTRL_EXCTRCENA_Pos)

DWT CTRL: EXCTRCENA Mask

## ◆ DWT_CTRL_EXCTRCENA_Pos

#define DWT_CTRL_EXCTRCENA_Pos 16U

DWT CTRL: EXCTRCENA Position

## ◆ DWT_CTRL_FOLDEVTENA_Msk

#define DWT_CTRL_FOLDEVTENA_Msk (0x1UL << DWT_CTRL_FOLDEVTENA_Pos)

DWT CTRL: FOLDEVTENA Mask

## ◆ DWT_CTRL_FOLDEVTENA_Pos

#define DWT_CTRL_FOLDEVTENA_Pos 21U

DWT CTRL: FOLDEVTENA Position

## ◆ DWT_CTRL_LSUEVTENA_Msk

#define DWT_CTRL_LSUEVTENA_Msk (0x1UL << DWT_CTRL_LSUEVTENA_Pos)

DWT CTRL: LSUEVTENA Mask

## ◆ DWT_CTRL_LSUEVTENA_Pos

#define DWT_CTRL_LSUEVTENA_Pos 20U

DWT CTRL: LSUEVTENA Position

## ◆ DWT_CTRL_NOCYCCNT_Msk

#define DWT_CTRL_NOCYCCNT_Msk (0x1UL << DWT_CTRL_NOCYCCNT_Pos)

DWT CTRL: NOCYCCNT Mask

## ◆ DWT_CTRL_NOCYCCNT_Pos

#define DWT_CTRL_NOCYCCNT_Pos 25U

DWT CTRL: NOCYCCNT Position

## ◆ DWT_CTRL_NOEXTTRIG_Msk

#define DWT_CTRL_NOEXTTRIG_Msk (0x1UL << DWT_CTRL_NOEXTTRIG_Pos)

DWT CTRL: NOEXTTRIG Mask

## ◆ DWT_CTRL_NOEXTTRIG_Pos

#define DWT_CTRL_NOEXTTRIG_Pos 26U

DWT CTRL: NOEXTTRIG Position

## ◆ DWT_CTRL_NOPRFCNT_Msk

#define DWT_CTRL_NOPRFCNT_Msk (0x1UL << DWT_CTRL_NOPRFCNT_Pos)

DWT CTRL: NOPRFCNT Mask

## ◆ DWT_CTRL_NOPRFCNT_Pos

#define DWT_CTRL_NOPRFCNT_Pos 24U

DWT CTRL: NOPRFCNT Position

## ◆ DWT_CTRL_NOTRCPKT_Msk

#define DWT_CTRL_NOTRCPKT_Msk (0x1UL << DWT_CTRL_NOTRCPKT_Pos)

DWT CTRL: NOTRCPKT Mask

## ◆ DWT_CTRL_NOTRCPKT_Pos

#define DWT_CTRL_NOTRCPKT_Pos 27U

DWT CTRL: NOTRCPKT Position

## ◆ DWT_CTRL_NUMCOMP_Msk

#define DWT_CTRL_NUMCOMP_Msk (0xFUL << DWT_CTRL_NUMCOMP_Pos)

DWT CTRL: NUMCOMP Mask

## ◆ DWT_CTRL_NUMCOMP_Pos

#define DWT_CTRL_NUMCOMP_Pos 28U

DWT CTRL: NUMCOMP Position

## ◆ DWT_CTRL_PCSAMPLENA_Msk

#define DWT_CTRL_PCSAMPLENA_Msk (0x1UL << DWT_CTRL_PCSAMPLENA_Pos)

DWT CTRL: PCSAMPLENA Mask

## ◆ DWT_CTRL_PCSAMPLENA_Pos

#define DWT_CTRL_PCSAMPLENA_Pos 12U

DWT CTRL: PCSAMPLENA Position

## ◆ DWT_CTRL_POSTINIT_Msk

#define DWT_CTRL_POSTINIT_Msk (0xFUL << DWT_CTRL_POSTINIT_Pos)

DWT CTRL: POSTINIT Mask

## ◆ DWT_CTRL_POSTINIT_Pos

#define DWT_CTRL_POSTINIT_Pos 5U

DWT CTRL: POSTINIT Position

## ◆ DWT_CTRL_POSTPRESET_Msk

#define DWT_CTRL_POSTPRESET_Msk (0xFUL << DWT_CTRL_POSTPRESET_Pos)

DWT CTRL: POSTPRESET Mask

## ◆ DWT_CTRL_POSTPRESET_Pos

#define DWT_CTRL_POSTPRESET_Pos 1U

DWT CTRL: POSTPRESET Position

## ◆ DWT_CTRL_SLEEPEVTENA_Msk

#define DWT_CTRL_SLEEPEVTENA_Msk (0x1UL << DWT_CTRL_SLEEPEVTENA_Pos)

DWT CTRL: SLEEPEVTENA Mask

## ◆ DWT_CTRL_SLEEPEVTENA_Pos

#define DWT_CTRL_SLEEPEVTENA_Pos 19U

DWT CTRL: SLEEPEVTENA Position

## ◆ DWT_CTRL_SYNCTAP_Msk

#define DWT_CTRL_SYNCTAP_Msk (0x3UL << DWT_CTRL_SYNCTAP_Pos)

DWT CTRL: SYNCTAP Mask

## ◆ DWT_CTRL_SYNCTAP_Pos

#define DWT_CTRL_SYNCTAP_Pos 10U

DWT CTRL: SYNCTAP Position

## ◆ DWT_EXCCNT_EXCCNT_Msk

#define DWT_EXCCNT_EXCCNT_Msk (0xFFUL /*<< DWT_EXCCNT_EXCCNT_Pos*/)

DWT EXCCNT: EXCCNT Mask

## ◆ DWT_EXCCNT_EXCCNT_Pos

#define DWT_EXCCNT_EXCCNT_Pos 0U

DWT EXCCNT: EXCCNT Position

## ◆ DWT_FOLDCNT_FOLDCNT_Msk

#define DWT_FOLDCNT_FOLDCNT_Msk (0xFFUL /*<< DWT_FOLDCNT_FOLDCNT_Pos*/)

DWT FOLDCNT: FOLDCNT Mask

## ◆ DWT_FOLDCNT_FOLDCNT_Pos

#define DWT_FOLDCNT_FOLDCNT_Pos 0U

DWT FOLDCNT: FOLDCNT Position

## ◆ DWT_FUNCTION_CYCMATCH_Msk

#define DWT_FUNCTION_CYCMATCH_Msk (0x1UL << DWT_FUNCTION_CYCMATCH_Pos)

DWT FUNCTION: CYCMATCH Mask

## ◆ DWT_FUNCTION_CYCMATCH_Pos

#define DWT_FUNCTION_CYCMATCH_Pos 7U

DWT FUNCTION: CYCMATCH Position

## ◆ DWT_FUNCTION_DATAVADDR0_Msk

#define DWT_FUNCTION_DATAVADDR0_Msk (0xFUL << DWT_FUNCTION_DATAVADDR0_Pos)

DWT FUNCTION: DATAVADDR0 Mask

## ◆ DWT_FUNCTION_DATAVADDR0_Pos

#define DWT_FUNCTION_DATAVADDR0_Pos 12U

DWT FUNCTION: DATAVADDR0 Position

## ◆ DWT_FUNCTION_DATAVADDR1_Msk

#define DWT_FUNCTION_DATAVADDR1_Msk (0xFUL << DWT_FUNCTION_DATAVADDR1_Pos)

DWT FUNCTION: DATAVADDR1 Mask

## ◆ DWT_FUNCTION_DATAVADDR1_Pos

#define DWT_FUNCTION_DATAVADDR1_Pos 16U

DWT FUNCTION: DATAVADDR1 Position

## ◆ DWT_FUNCTION_DATAVMATCH_Msk

#define DWT_FUNCTION_DATAVMATCH_Msk (0x1UL << DWT_FUNCTION_DATAVMATCH_Pos)

DWT FUNCTION: DATAVMATCH Mask

## ◆ DWT_FUNCTION_DATAVMATCH_Pos

#define DWT_FUNCTION_DATAVMATCH_Pos 8U

DWT FUNCTION: DATAVMATCH Position

## ◆ DWT_FUNCTION_DATAVSIZE_Msk

#define DWT_FUNCTION_DATAVSIZE_Msk (0x3UL << DWT_FUNCTION_DATAVSIZE_Pos)

DWT FUNCTION: DATAVSIZE Mask

## ◆ DWT_FUNCTION_DATAVSIZE_Pos

#define DWT_FUNCTION_DATAVSIZE_Pos 10U

DWT FUNCTION: DATAVSIZE Position

## ◆ DWT_FUNCTION_EMITRANGE_Msk

#define DWT_FUNCTION_EMITRANGE_Msk (0x1UL << DWT_FUNCTION_EMITRANGE_Pos)

DWT FUNCTION: EMITRANGE Mask

## ◆ DWT_FUNCTION_EMITRANGE_Pos

#define DWT_FUNCTION_EMITRANGE_Pos 5U

DWT FUNCTION: EMITRANGE Position

## ◆ DWT_FUNCTION_FUNCTION_Msk

#define DWT_FUNCTION_FUNCTION_Msk (0xFUL /*<< DWT_FUNCTION_FUNCTION_Pos*/)

DWT FUNCTION: FUNCTION Mask

## ◆ DWT_FUNCTION_FUNCTION_Pos

#define DWT_FUNCTION_FUNCTION_Pos 0U

DWT FUNCTION: FUNCTION Position

## ◆ DWT_FUNCTION_LNK1ENA_Msk

#define DWT_FUNCTION_LNK1ENA_Msk (0x1UL << DWT_FUNCTION_LNK1ENA_Pos)

DWT FUNCTION: LNK1ENA Mask

## ◆ DWT_FUNCTION_LNK1ENA_Pos

#define DWT_FUNCTION_LNK1ENA_Pos 9U

DWT FUNCTION: LNK1ENA Position

## ◆ DWT_FUNCTION_MATCHED_Msk

#define DWT_FUNCTION_MATCHED_Msk (0x1UL << DWT_FUNCTION_MATCHED_Pos)

DWT FUNCTION: MATCHED Mask

## ◆ DWT_FUNCTION_MATCHED_Pos

#define DWT_FUNCTION_MATCHED_Pos 24U

DWT FUNCTION: MATCHED Position

## ◆ DWT_LSUCNT_LSUCNT_Msk

#define DWT_LSUCNT_LSUCNT_Msk (0xFFUL /*<< DWT_LSUCNT_LSUCNT_Pos*/)

DWT LSUCNT: LSUCNT Mask

## ◆ DWT_LSUCNT_LSUCNT_Pos

#define DWT_LSUCNT_LSUCNT_Pos 0U

DWT LSUCNT: LSUCNT Position

## ◆ DWT_MASK_MASK_Msk

#define DWT_MASK_MASK_Msk (0x1FUL /*<< DWT_MASK_MASK_Pos*/)

DWT MASK: MASK Mask

## ◆ DWT_MASK_MASK_Pos

#define DWT_MASK_MASK_Pos 0U

DWT MASK: MASK Position

## ◆ DWT_SLEEPCNT_SLEEPCNT_Msk

#define DWT_SLEEPCNT_SLEEPCNT_Msk (0xFFUL /*<< DWT_SLEEPCNT_SLEEPCNT_Pos*/)

DWT SLEEPCNT: SLEEPCNT Mask

## ◆ DWT_SLEEPCNT_SLEEPCNT_Pos

#define DWT_SLEEPCNT_SLEEPCNT_Pos 0U

DWT SLEEPCNT: SLEEPCNT Position