Debug support (DBG)
38.6.10
DWT mask register x (DWT_MASKxR)
Address offset: 0x024 + 0x010 * x, (x = 0 to 3)
Reset value: 0x0000 0000
31
30
29
28
Res.
Res.
Res.
Res.
15
14
13
12
Res.
Res.
Res.
Res.
Bits 31:5 Reserved, must be kept at reset value.
Bits 4:0 MASK[4:0]: comparator mask size
Provides the size of the ignore mask applied to the access address for address range
matching by comparator n. A debugger can write 0b11111 to this field and then read the
register back to determine the maximum mask size supported.
38.6.11
DWT function register x (DWT_FUNCTxR)
Address offset: 0x028 + 0x010 * x, (x = 0 to 3)
Reset value: 0x0000 0000
31
30
29
28
Res.
Res.
Res.
Res.
15
14
13
12
DATAVADDR0[3:0]
rw
rw
rw
rw
Bits 31:25 Reserved, must be kept at reset value.
Bit 24 MATCHED: comparator match (read only)
Indicates if a comparator match has occurred since the register was last read.
0: No match
1: Match occurred
Bits 23:20 Reserved, must be kept at reset value.
Bits 19:16 DATAVADDR1[3:0]: When the DATAVMATCH and LNK1ENA bits are both 1, this field can hold
the comparator number of a second comparator to use for linked address comparison.
Bits 15:12 DATAVADDR0[3:0]: When the DATAVMATCH and LNK1ENA bits are both 1, this field can hold
the comparator number of a comparator to use for linked address comparison.
Bits 11:10 DATAVSIZE[1:0]: For data value matching, specifies the size of the required data comparison.
0x0: Byte
0x1: Half word
0x2: Word
0x3: reserved
1356/1461
27
26
25
24
Res.
Res.
Res.
Res.
11
10
9
Res.
Res.
Res.
Res.
27
26
25
24
MATCH
Res.
Res.
Res.
ED
11
10
9
LNK1E
DATAV
DATAVSIZE[1:0]
NA
MATCH
rw
rw
rw
rw
RM0453 Rev 1
23
22
21
Res.
Res.
Res.
8
7
6
5
Res.
Res.
Res.
23
22
21
Res.
Res.
Res.
r
8
7
6
5
CYCMA
EMITR
Res.
TCH
ANGE
rw
rw
20
19
18
17
Res.
Res.
Res.
Res.
4
3
2
1
MASK[4:0]
rw
rw
rw
rw
20
19
18
17
Res.
DATAVADDR1[3:0]
rw
rw
rw
4
3
2
1
Res.
FUNCTION[3:0]
rw
rw
rw
RM0453
16
Res.
0
rw
16
rw
0
rw
Need help?
Do you have a question about the STM32WL5 Series and is the answer not in the manual?
Questions and answers