Technical Reference Manual 002-29852 Rev. *B
4.13.2.20 CM4_DWT_FUNCTION3
Description:
Comparator Function registers
Address:
0xE0001058
Offset:
0x58
Retention:
Retained
IsDeepSleep:
No
Comment:
The FUNCTIONn register characteristics are:
Purpose: Controls the operation of comparator n.
Usage constraints:
The operation of comparator n depends also on the registers COMPn and MASKn, see
Comparator registers, COMPn on Arm TRM page C1-805 and Comparator Mask registers,
MASKn on Arm TRM page C1-805.
Reading this register clears some fields to zero. See the register field descriptions for more
information, and for the usage constraints of individual fields.
Configurations:
Implemented only when CTRL.NUMCOMP is nonzero, see Control register, CTRL on Arm
TRM page C1-797.
CTRL.NUMCOMP defines the number of implemented FUNCTIONn registers. Implemented
FUNCTIONn registers number from 0 to (NUMCOMP-1). Unimplemented registers are
UNK/SBZP.
Attributes: See Table C1-21 on Arm TRM page C1-797. See the register field descriptions for
information about the values of the RO bits in the register.
Default:
0x0
Bit-field Table
Bits 7 6 5 4 3 2 1 0
Name CYCMATCH
[7:7]
None [6:6] EMITRANGE
[5:5]
None [4:4] FUNCTION [3:0]
Bits 15 14 13 12 11 10 9 8
Name DATAVADDR0 [15:12] DATAVSIZE [11:10] LNK1ENA
[9:9]
DATAVMATC
H [8:8]
Bits 23 22 21 20 19 18 17 16
Name None [23:20] DATAVADDR1 [19:16]
Bits 31 30 29 28 27 26 25 24
Name None [31:25] MATCHED
[24:24]
Bit-fields
Bits Name SW HW Default or
Enum
Description
0:3 FUNCTION RW R 0 Selects action taken on comparator match:
0000 = Disabled or LinkAddr(), see LinkAddr support
on Arm TRM page C1-789.
For non-zero values:
- If DATAVMATCH is set to 1, see Table C1-16 on Arm
TRM page C1-786
- If DATAVMATCH is set to 0 then:
- If CYCMATCH is set to 0, see Table C1-14 on Arm
TRM page C1-782
- If CYCMATCH is set to 1, see Table C1-15 on Arm
TRM page C1-785.
This field resets to zero.
TRAVEO™ T2G Automotive MCU: TVII-B-E-4M body controller entry registers