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
Содержание KE1xF Series
Страница 2: ...Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 2 NXP Semiconductors...
Страница 60: ...SysTick Clock Configuration Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 60 NXP Semiconductors...
Страница 114: ...Initialization application information Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 114 NXP Semiconductors...
Страница 138: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 138 NXP Semiconductors...
Страница 320: ...Private Peripheral Bus PPB memory map Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 320 NXP Semiconductors...
Страница 342: ...Functional Description Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 342 NXP Semiconductors...
Страница 360: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 360 NXP Semiconductors...
Страница 490: ...Interrupts Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 490 NXP Semiconductors...
Страница 550: ...Memory map and register definition Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 550 NXP Semiconductors...
Страница 562: ...Boot Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 562 NXP Semiconductors...
Страница 662: ...Power supply supervisor Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 662 NXP Semiconductors...
Страница 694: ...On chip resource access control mechanism Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 694 NXP Semiconductors...
Страница 706: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 706 NXP Semiconductors...
Страница 724: ...Application Information Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 724 NXP Semiconductors...
Страница 736: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 736 NXP Semiconductors...
Страница 750: ...Debug and Security Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 750 NXP Semiconductors...
Страница 798: ...Functional description Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 798 NXP Semiconductors...
Страница 808: ...Functional description Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 808 NXP Semiconductors...
Страница 866: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 866 NXP Semiconductors...
Страница 1164: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1164 NXP Semiconductors...
Страница 1178: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1178 NXP Semiconductors...
Страница 1380: ...Usage Guide Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1380 NXP Semiconductors...
Страница 1472: ...Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1472 NXP Semiconductors...
Страница 1482: ...Kinetis KE1xF Sub Family Reference Manual Rev 4 06 2019 1482 NXP Semiconductors...