
39.3.6 Channel (n) Status And Control (FTMx_CnSC)
CnSC contains the channel-interrupt-status flag and control bits used to configure the
interrupt enable, channel configuration, and pin function.
Table 39-2. Mode, edge, and level selection
DECAPEN
COMBINE
CPWMS
MSnB:MSnA
ELSnB:ELSnA
Mode
Configuration
X
X
X
XX
00
Pin not used for FTM—revert the
channel pin to general purpose I/O
or other peripheral control
0
0
0
00
01
Input Capture
Capture on
Rising Edge
Only
10
Capture on
Falling Edge
Only
11
Capture on
Rising or Falling
Edge
01
01
Output Compare Toggle Output
on match
10
Clear Output on
match
11
Set Output on
match
1X
10
Edge-Aligned
PWM
High-true pulses
(clear Output on
match)
X1
Low-true pulses
(set Output on
match)
1
XX
10
Center-Aligned
PWM
High-true pulses
(clear Output on
match-up)
X1
Low-true pulses
(set Output on
match-up)
1
0
XX
10
Combine PWM High-true pulses
(set on channel
(n) match, and
clear on channel
(n+1) match)
X1
Low-true pulses
(clear on
channel (n)
match, and set
on channel (n
+1) match)
Table continues on the next page...
Memory map and register definition
K22F Sub-Family Reference Manual, Rev. 4, 08/2016
906
NXP Semiconductors
Summary of Contents for K22F series
Page 2: ...K22F Sub Family Reference Manual Rev 4 08 2016 2 NXP Semiconductors...
Page 168: ...Module clocks K22F Sub Family Reference Manual Rev 4 08 2016 168 NXP Semiconductors...
Page 258: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 258 NXP Semiconductors...
Page 292: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 292 NXP Semiconductors...
Page 398: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 398 NXP Semiconductors...
Page 750: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 750 NXP Semiconductors...
Page 816: ...Application information K22F Sub Family Reference Manual Rev 4 08 2016 816 NXP Semiconductors...
Page 890: ...Application information K22F Sub Family Reference Manual Rev 4 08 2016 890 NXP Semiconductors...
Page 1302: ...Application information K22F Sub Family Reference Manual Rev 4 08 2016 1302 NXP Semiconductors...
Page 1374: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 1374 NXP Semiconductors...