EasyManua.ls Logo

NXP Semiconductors K22F series - Page 1003

NXP Semiconductors K22F series
1407 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
The FTM counter is automatically updated with the CNTIN register value by the
selected counting mode.
When there is a write to CNT register.
When there is the FTM counter synchronization.
If (CNT = CNTIN), (CLKS[1:0] = 0:0), and a value different from zero is written to
CLKS[1:0] bits.
If the channel (n) is in Input Capture mode, (ICRST = 1) and the selected input
capture event occurs in the channel (n) input.
The following figures show these cases.
CPWMS = 0
0x0C
0x0D
0x0E 0x0F
0x00
0x01 0x02
0x03
0x04
0x05
initialization trigger
FTM counter
system clock
CNTIN = 0x0000
MOD = 0x000F
Figure 39-77. Initialization trigger is generated when the FTM counting achieves the
CNTIN register value
CPWMS = 0
0x04
0x05
0x06 0x00
0x01
0x02 0x03
0x04
0x05
0x06
initialization trigger
write to CNT
FTM counter
system clock
CNTIN = 0x0000
MOD = 0x000F
Figure 39-78. Initialization trigger is generated when there is a write to CNT register
Chapter 39 FlexTimer Module (FTM)
K22F Sub-Family Reference Manual, Rev. 4, 08/2016
NXP Semiconductors 1003

Table of Contents

Related product manuals