
Table 38-4. Comparator sample/filter maximum latencies (continued)
Mode #
C0[E
N]
C0[W
E]
C0[S
E]
C0[FILTER_
CNT]
Co[FPR]
Operation
Maximum latency
3B
1
0
0
0x01
> 0x00
T
PD
+ (C0[FPR] * T
per
) + T
per
4A
1
0
1
> 0x01
X
Sampled, Filtered mode
T
PD
+ (C0[FILTER_CNT] *
T
SAMPLE
) + T
per
4B
1
0
0
> 0x01
> 0x00
T
PD
+ (C0[FILTER_CNT] *
C0[FPR] x T
per
) + T
per
5A
1
1
0
0x00
X
Windowed mode
T
PD
+ T
per
5B
1
1
0
X
0x00
T
PD
+ T
per
6
1
1
0
0x01
0x01 - 0xFF
Windowed / Resampled
mode
T
PD
+ (C0[FPR] * T
per
) +
2T
per
7
1
1
0
> 0x01
0x01 - 0xFF
Windowed / Filtered mode
T
PD
+ (C0[FILTER_CNT] *
C0[FPR] x T
per
) + 2T
per
1. T
PD
represents the intrinsic delay of the analog component plus the polarity select logic. T
SAMPLE
is the clock period of the
external sample clock. T
per
is the period of the bus clock.
38.10 Interrupts
The CMP module is capable of generating an interrupt on either the rising- or falling-
edge of the comparator output, or both. Assuming the CMP DMA enable bit is not set,
the following table gives the conditions in which the interrupt request is asserted and
deasserted.
Table 38-5. CMP interrupt generations
When
Then
C0[IER] and C0[CFR] are set
The interrupt request is asserted
C0[IEF] and C0[CFF] are set
The interrupt request is asserted
C0[IER] and C0[CFR] are cleared for a rising-edge interrupt
The interrupt request is deasserted
C0[IEF] and C0[CFF] are cleared for a falling-edge interrupt
The interrupt request is deasserted
38.11 DMA support
Normally, the CMP generates a CPU interrupt if there is a change on the COUT. When
DMA support is enabled by setting C0[DMAEN] and the interrupt is enabled by setting
C0[IER], C0[IEF], or both, the corresponding change on COUT forces a DMA transfer
request rather than a CPU interrupt instead. When the DMA has completed the transfer, it
Interrupts
Kinetis KE1xF Sub-Family Reference Manual, Rev. 4, 06/2019
898
NXP Semiconductors
Summary of Contents for KE1xF Series
Page 2: ...Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 2 NXP Semiconductors...
Page 138: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 138 NXP Semiconductors...
Page 360: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 360 NXP Semiconductors...
Page 490: ...Interrupts Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 490 NXP Semiconductors...
Page 562: ...Boot Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 562 NXP Semiconductors...
Page 706: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 706 NXP Semiconductors...
Page 736: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 736 NXP Semiconductors...
Page 866: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 866 NXP Semiconductors...
Page 1164: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1164 NXP Semiconductors...
Page 1178: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1178 NXP Semiconductors...
Page 1380: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1380 NXP Semiconductors...
Page 1472: ...Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1472 NXP Semiconductors...
Page 1482: ...Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1482 NXP Semiconductors...