![Freescale Semiconductor MK22FN256VDC12 Reference Manual Download Page 914](http://html1.mh-extra.com/html/freescale-semiconductor/mk22fn256vdc12/mk22fn256vdc12_reference-manual_2330651914.webp)
Table 38-247. Software ouput control behavior when (COMP = 1)
CH(n)OC
CH(n+1)OC
CH(n)OCV
CH(n+1)OCV
Channel (n) Output
Channel (n+1) Output
0
0
X
X
is not modified by SWOC
is not modified by SWOC
1
1
0
0
is forced to zero
is forced to zero
1
1
0
1
is forced to zero
is forced to one
1
1
1
0
is forced to one
is forced to zero
1
1
1
1
is forced to one
is forced to zero
Note
• The CH(n)OC and CH(n+1)OC bits should be equal.
• The COMP bit must not be modified when software output
control is enabled, that is, CH(n)OC = 1 and/or CH(n
+1)OC = 1.
• Software output control has the same behavior with
disabled or enabled FTM counter (see the CLKS field
description in the Status and Control register).
38.4.14 Deadtime insertion
The deadtime insertion is enabled when (DTEN = 1) and (DTVAL[5:0] is non- zero).
DEADTIME register defines the deadtime delay that can be used for all FTM channels.
The DTPS[1:0] bits define the prescaler for the system clock and the DTVAL[5:0] bits
define the deadtime modulo, that is, the number of the deadtime prescaler clocks.
The deadtime delay insertion ensures that no two complementary signals (channels (n)
and (n+1)) drive the active state at the same time.
If POL(n) = 0, POL(n+1) = 0, and the deadtime is enabled, then when the channel (n)
match (FTM counter = C(n)V) occurs, the channel (n) output remains at the low value
until the end of the deadtime delay when the channel (n) output is set. Similarly, when the
channel (n+1) match (FTM counter = C(n+1)V) occurs, the channel (n+1) output remains
at the low value until the end of the deadtime delay when the channel (n+1) output is set.
See the following figures.
If POL(n) = 1, POL(n+1) = 1, and the deadtime is enabled, then when the channel (n)
match (FTM counter = C(n)V) occurs, the channel (n) output remains at the high value
until the end of the deadtime delay when the channel (n) output is cleared. Similarly,
Functional description
K22F Sub-Family Reference Manual , Rev. 3, 7/2014
914
Freescale Semiconductor, Inc.