If the TRIGMODE bit of the CnSC register is set (TRIGMODE=1), a trigger pulse with
one FTM clock cycle width is generated in the channel output when a match occurs. It is
only allowed to use trigger mode when channel is in EPWM (up counting) or CPWM
(up-down counting).
The figures below show some cases of trigger generation in a channel output.
0x05
0x00
0x01
0x02
0x03
0x04
0x05
0x00
0x01
0x02
0x03
0x04
FTM input clock
FTM counter
Channel (n) output
MOD = 0x0005
CnV = 0x0003
PS[2:0] = 001
TRIGMODE = 1
Figure 39-79. Example of trigger generation in the output channel for up counting mode
4
5
4
3
2
1
2
3
4
5
4
3
2
1
0
...
FTM input clock
FTM counter
Channel (n) output
MOD = 0x0005
CnV = 0x0003
PS[2:0] = 000
TRIGMODE = 1
CPWM mode
Figure 39-80. Example of trigger generation in the output channel for up-down counting
mode
39.5.23 Initialization trigger
Initialization trigger allows FTM to generate an external trigger in some specific points of
FTM counter cycle. This feature is controlled by two bits. INITTRIGEN enables the
trigger generation and the ITRIGR selects in which events the initialization trigger should
be generated. If INITTRIGEN = 1 and ITRIGR = 1, then the initialization trigger is
generated when FTM counter reaches a reload point considering the Load Frequency
configuration. See the
for more details about reload points. If
INITTRIGEN = 1 and ITRIGR = 0, then FTM generates a trigger when the FTM counter
is updated with the CNTIN register value in the following cases:
• In all cycles that FTM counter is automatically updated with CNTIN register value.
Functional description
Kinetis KE1xZ256 Sub-Family Reference Manual, Rev. 3, 07/2018
968
NXP Semiconductors
Содержание Kinetis KE1xZ256
Страница 2: ...Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 2 NXP Semiconductors...
Страница 56: ...SysTick Clock Configuration Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 56 NXP Semiconductors...
Страница 62: ...Interrupt channel assignments Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 62 NXP Semiconductors...
Страница 124: ...Application information Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 124 NXP Semiconductors...
Страница 130: ...Initialization application information Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 130 NXP Semiconductors...
Страница 178: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 178 NXP Semiconductors...
Страница 356: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 356 NXP Semiconductors...
Страница 368: ...Module clocks Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 368 NXP Semiconductors...
Страница 410: ...Interrupts Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 410 NXP Semiconductors...
Страница 562: ...Power supply supervisor Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 562 NXP Semiconductors...
Страница 592: ...General security features Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 592 NXP Semiconductors...
Страница 604: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 604 NXP Semiconductors...
Страница 622: ...Application Information Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 622 NXP Semiconductors...
Страница 634: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 634 NXP Semiconductors...
Страница 674: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 674 NXP Semiconductors...
Страница 690: ...Module Signal Description Tables Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 690 NXP Semiconductors...
Страница 712: ...Functional description Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 712 NXP Semiconductors...
Страница 820: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 820 NXP Semiconductors...
Страница 1030: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1030 NXP Semiconductors...
Страница 1052: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1052 NXP Semiconductors...
Страница 1066: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1066 NXP Semiconductors...
Страница 1268: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1268 NXP Semiconductors...
Страница 1314: ...Usage Guide Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1314 NXP Semiconductors...
Страница 1316: ...Kinetis KE1xZ256 Sub Family Reference Manual Rev 3 07 2018 1316 NXP Semiconductors...