Cmp Filter Period Register (Cmpx_Fpr) - NXP Semiconductors MKL27Z128VFM4 Reference Manual

Table of Contents

Advertisement

Field
See the electrical specifications table in the device Data Sheet for details.
0
Low-Speed (LS) Comparison mode selected. In this mode, CMP has slower output propagation delay
and lower current consumption.
1
High-Speed (HS) Comparison mode selected. In this mode, CMP has faster output propagation delay
and higher current consumption.
3
Comparator INVERT
INV
Allows selection of the polarity of the analog comparator function. It is also driven to the COUT output, on
both the device pin and as SCR[COUT], when OPE=0.
0
Does not invert the comparator output.
1
Inverts the comparator output.
2
Comparator Output Select
COS
0
Set the filtered comparator output (CMPO) to equal COUT.
1
Set the unfiltered comparator output (CMPO) to equal COUTA.
1
Comparator Output Pin Enable
OPE
0
CMPO is not available on the associated CMPO output pin. If the comparator does not own the pin,
this field has no effect.
1
CMPO is available on the associated CMPO output pin.
The comparator output (CMPO) is driven out on the associated CMPO output pin if the comparator
owns the pin. If the comparator does not own the field, this bit has no effect.
0
Comparator Module Enable
EN
Enables the Analog Comparator module. When the module is not enabled, it remains in the off state, and
consumes no power. When the user selects the same input from analog mux to the positive and negative
port, the comparator is disabled automatically.
0
Analog Comparator is disabled.
1
Analog Comparator is enabled.

24.3.3 CMP Filter Period Register (CMPx_FPR)

Address: 4007_3000h base + 2h offset = 4007_3002h
Bit
7
Read
Write
Reset
0
Field
FILT_PER
Filter Sample Period
Specifies the sampling period, in bus clock cycles, of the comparator output filter, when CR1[SE]=0.
Setting FILT_PER to 0x0 disables the filter. Filter programming and latency details appear in the
Functional
Freescale Semiconductor, Inc.
CMPx_CR1 field descriptions (continued)
6
5
0
0
CMPx_FPR field descriptions
description.
KL27 Sub-Family Reference Manual , Rev. 5, 01/2016
Description
4
3
FILT_PER
0
0
Description
Chapter 24 Comparator (CMP)
2
1
0
0
0
0
399

Advertisement

Table of Contents
loading

Table of Contents