Datasheet
FTMx_COMBINEn field descriptions (continued)
Field Description
DECAPEN is write protected, this bit can be written only if MODE[WPDIS] = 1.
0 The dual edge capture mode in this pair of channels is disabled.
1 The dual edge capture mode in this pair of channels is enabled.
1
COMP
Complement of Channel (n)
Enables complementary mode for the combined channels. In complementary mode the channel (n+1)
output is the inverse of the channel (n) output.
This field is write protected. It can be written only when MODE[WPDIS] = 1.
0 The channel (n+1) output is the same as the channel (n) output.
1 The channel (n+1) output is the complement of the channel (n) output.
0
COMBINE
Combine Channels
Enables the combine feature for channels (n) and (n+1).
This field is write protected. It can be written only when MODE[WPDIS] = 1.
0 Channels (n) and (n+1) are independent.
1 Channels (n) and (n+1) are combined.
12.3.19 Deadtime Insertion Control (FTMx_DEADTIME)
This register selects the deadtime prescaler factor and deadtime value. All FTM channels
use this clock prescaler and this deadtime value for the deadtime insertion.
Address: Base address + 22h offset
Bit 7 6 5 4 3 2 1 0
Read
DTPS DTVAL
Write
Reset
0 0 0 0 0 0 0 0
FTMx_DEADTIME field descriptions
Field Description
7–6
DTPS
Deadtime Prescaler Value
Selects the division factor of the system clock. This prescaled clock is used by the deadtime counter.
DTPS is write protected. It can be written only when MODE[WPDIS] = 1.
0x Divide the system clock by 1.
10 Divide the system clock by 4.
11 Divide the system clock by 16.
5–0
DTVAL
Deadtime Value
Selects the deadtime insertion value for the deadtime counter. The deadtime counter is clocked by a
scaled version of the system clock. See the description of DTPS.
Deadtime insert value = (DTPS × DTVAL).
Table continues on the next page...
Chapter 12 FlexTimer Module (FTM)
MC9S08PA60 Reference Manual, Rev. 1, 9/2012
Freescale Semiconductor, Inc. 315
