English
Language : 

K60P100M100SF2RM Datasheet, PDF (1009/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
Chapter 39 FlexTimer (FTM)
• If the selected mode is output compare then CnV register is updated according to the
SYNCEN bit. If (SYNCEN = 0) then CnV register is updated after CnV register was
written at the next change of the FTM counter (end of the prescaler counting). If
(SYNCEN = 1) then CnV register is updated by the CnV register synchronization
(C(n)V and C(n+1)V Register Synchronization).
• If the selected mode is not output compare and (SYNCEN = 1) then CnV register is
updated by the CnV register synchronization (C(n)V and C(n+1)V Register
Synchronization).
39.4.11 PWM Synchronization
The PWM synchronization provides an opportunity to update the MOD, CNTIN, CnV,
OUTMASK, INVCTRL and SWOCTRL registers with their buffered value and force the
FTM counter to the CNTIN register value.
Note
• It is expected that the PWM synchronization be used only
in combine mode.
• The legacy PWM synchronization (SYNCMODE = 0) is a
subset of the enhanced PWM synchronization
(SYNCMODE = 1). Thus, it is expected that only the
enhanced PWM synchronization be used.
39.4.11.1 Hardware Trigger
Three hardware trigger signal inputs of the FTM module are enabled when TRIGn = 1
(where n = 0, 1 or 2 corresponding to each one of the input signals, respectively). The
hardware trigger input n is synchronized by the system clock. The PWM synchronization
with hardware trigger is initiated when a rising edge is detected at the enabled hardware
trigger inputs.
If (HWTRIGMODE = 0) then the TRIGn bit is cleared when 0 is written to it or when the
trigger n event is detected.
In this case if two or more hardware triggers are enabled (for example, TRIG0 and
TRIG1 = 1) and only trigger 1 event occurs then only TRIG1 bit is cleared. If a trigger n
event occurs together with a write setting TRIGn bit then the synchronization is initiated,
but TRIGn bit remains set due to the write operation.
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc.
1009