![NXP Semiconductors Kinetis KE1xZ256 Reference Manual Download Page 974](http://html1.mh-extra.com/html/nxp-semiconductors/kinetis-ke1xz256/kinetis-ke1xz256_reference-manual_1721813974.webp)
If the selected edge by channel (n) bits is detected at channel (n) input, then channel (n)
CHF bit is set and the channel (n) interrupt is generated (if channel (n) CHIE = 1). If the
selected edge by channel (n+1) bits is detected at channel (n) input and (channel (n) CHF
= 1), then channel (n+1) CHF bit is set and the channel (n+1) interrupt is generated (if
channel (n+1) CHIE = 1).
The C(n)V register stores the value of FTM counter when the selected edge by channel
(n) is detected at channel (n) input. The C(n+1)V register stores the value of FTM
counter when the selected edge by channel (n+1) is detected at channel (n) input.
In this mode, a coherency mechanism ensures coherent data when the C(n)V and C(n
+1)V registers are read. The only requirement is that C(n)V must be read before C(n
+1)V.
Note
• The channel (n)n CHF, channel (n) CHIE, channel (n)
MSA, channel (n) ELSB, and channel (n) ELSA bits are
channel (n) bits.
• The channel (n+1) CHF, channel (n+1) CHIE, channel (n
+1) MSA, channel (n+1) ELSB, and channel (n+1) ELSA
bits are channel (n+1) bits.
• The Dual Edge Capture mode must be used with channel
(n) ELSB:ELSA = 0:1 or 1:0, channel (n+1) ELSB:ELSA =
0:1 or 1:0 and the FTM counter in
39.5.26.1 One-Shot Capture mode
The One-Shot Capture mode is selected when (DECAPEN = 1), and (channel (n) MSA =
0). In this capture mode, only one pair of edges at the channel (n) input is captured. The
channel (n) ELSB:ELSA bits select the first edge to be captured, and channel (n+1)
ELSB:ELSA bits select the second edge to be captured.
The edge captures are enabled while DECAP bit is set. For each new measurement in
One-Shot Capture mode, first the channel (n) CHF and channel (n+1) CHF bits must be
cleared, and then the DECAP bit must be set.
In this mode, the DECAP bit is automatically cleared by FTM when the edge selected by
channel (n+1) is captured. Therefore, while DECAP bit is set, the one-shot capture is in
process. When this bit is cleared, both edges were captured and the captured values are
ready for reading in the C(n)V and C(n+1)V registers.
Functional description
Kinetis KE1xZ256 Sub-Family Reference Manual, Rev. 3, 07/2018
974
NXP Semiconductors
Summary of Contents for Kinetis KE1xZ256
Page 2: ...Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 2 NXP Semiconductors...
Page 178: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 178 NXP Semiconductors...
Page 356: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 356 NXP Semiconductors...
Page 410: ...Interrupts Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 410 NXP Semiconductors...
Page 604: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 604 NXP Semiconductors...
Page 634: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 634 NXP Semiconductors...
Page 674: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 674 NXP Semiconductors...
Page 820: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 820 NXP Semiconductors...
Page 1030: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1030 NXP Semiconductors...
Page 1052: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1052 NXP Semiconductors...
Page 1066: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1066 NXP Semiconductors...
Page 1268: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1268 NXP Semiconductors...
Page 1314: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1314 NXP Semiconductors...
Page 1316: ...Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1316 NXP Semiconductors...