Texas Instruments CC2650DK ユーザーズマニュアル

ページ / 1570
Cortex-M3 Processor Registers
2.7.2.14 FUNCTION1 Register (Offset = 38h) [reset = X]
FUNCTION1 is shown in
and described in
Function 1 Use the DWT Function Registers 1 to control the operation of the comparator 1. This
comparator can: 1. Perform data value comparisons if associated address comparators have performed
an address match. This function is only available for comparator 1 (COMP1). 2. Emit data or PC couples,
trigger the ETM, or generate a watchpoint depending on the operation defined by FUNCTION.
Figure 2-54. FUNCTION1 Register
31
30
29
28
27
26
25
24
RESERVED
MATCHED
R-X
R/W-X
23
22
21
20
19
18
17
16
RESERVED
DATAVADDR1
R-X
R/W-X
15
14
13
12
11
10
9
8
DATAVADDR0
DATAVSIZE
LNK1ENA
DATAVMATCH
R/W-X
R/W-X
R-1h
R/W-X
7
6
5
4
3
2
1
0
RESERVED
EMITRANGE
RESERVED
FUNCTION
R-X
R/W-X
R-X
R/W-X
Table 2-78. FUNCTION1 Register Field Descriptions
Bit
Field
Type
Reset
Description
31-25
RESERVED
R
X
Software should not rely on the value of a reserved. Writing any
other value than the reset value may result in undefined behavior.
24
MATCHED
R/W
X
This bit is set when the comparator matches, and indicates that the
operation defined by FUNCTION has occurred since this bit was last
read. This bit is cleared on read.
23-20
RESERVED
R
X
Software should not rely on the value of a reserved. Writing any
other value than the reset value may result in undefined behavior.
19-16
DATAVADDR1
R/W
X
Identity of a second linked address comparator for data value
matching when DATAVMATCH == 1 and LNK1ENA == 1.
15-12
DATAVADDR0
R/W
X
Identity of a linked address comparator for data value matching
when DATAVMATCH == 1.
11-10
DATAVSIZE
R/W
X
Defines the size of the data in the COMP1 register that is to be
matched: 0x0: Byte 0x1: Halfword 0x2: Word 0x3: Unpredictable.
9
LNK1ENA
R
1h
Read only bit-field only supported in comparator 1. 0: DATAVADDR1
not supported 1: DATAVADDR1 supported (enabled)
8
DATAVMATCH
R/W
X
Data match feature: 0: Perform address comparison 1: Perform data
value compare. The comparators given by DATAVADDR0 and
DATAVADDR1 provide the address for the data comparison. The
FUNCTION setting for the comparators given by DATAVADDR0 and
DATAVADDR1 are overridden and those comparators only provide
the address match for the data comparison. This bit is only available
in comparator 1.
7-6
RESERVED
R
X
Software should not rely on the value of a reserved. Writing any
other value than the reset value may result in undefined behavior.
5
EMITRANGE
R/W
X
Emit range field. This bit permits emitting offset when range match
occurs. PC sampling is not supported when emit range is enabled.
This field only applies for: FUNCTION = 1, 2, 3, 12, 13, 14, and 15.
4
RESERVED
R
X
Software should not rely on the value of a reserved. Writing any
other value than the reset value may result in undefined behavior.
108
SWCU117A – February 2015 – Revised March 2015
Copyright © 2015, Texas Instruments Incorporated