CMPx_CR0 field descriptions (continued)
Field
Description
001
One sample must agree. The comparator output is simply sampled.
010
2 consecutive samples must agree.
011
3 consecutive samples must agree.
100
4 consecutive samples must agree.
101
5 consecutive samples must agree.
110
6 consecutive samples must agree.
111
7 consecutive samples must agree.
3
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
2
Reserved
This field is reserved.
This read-only field is reserved and always has the value 0.
HYSTCTR
Comparator hard block hysteresis control
Defines the programmable hysteresis level. The hysteresis values associated with each level are device-
specific. See the Data Sheet of the device for the exact values.
00
Level 0
01
Level 1
10
Level 2
11
Level 3
26.7.2 CMP Control Register 1 (CMPx_CR1)
Address: 4007_3000h base + 1h offset = 4007_3001h
Bit
7
6
5
4
3
2
1
0
Read
Write
Reset
0
0
0
0
0
0
0
0
CMPx_CR1 field descriptions
Field
Description
7
SE
Sample Enable
At any given time, either SE or WE can be set. It is mandatory request to not set SE and WE both at a
given time.
0
Sampling mode is not selected.
1
Sampling mode is selected.
6
WE
Windowing Enable
At any given time, either SE or WE can be set. It is mandatory request to not set SE and WE both at a
given time.
0
Windowing mode is not selected.
1
Windowing mode is selected.
Table continues on the next page...
Memory map/register definitions
KL02 Sub-Family Reference Manual, Rev. 2.1, July 2013
388
Freescale Semiconductor, Inc.