Datasheet

write 1 to TRIG0 bit
system clock
synchronized trigger_0
trigger 0 event
Notes
- All hardware trigger (input signals: trigger_0, trigger_1, and trigger_2) have this same behavior
TRIG0 bit
trigger_0 input
by system clock
Figure 12-223. Hardware trigger event
12.4.11.2 Software trigger
A software trigger event occurs when 1 is written to the SWSYNC bit. The SWSYNC bit
is cleared when 0 is written to it or when the PWM synchronization, which is initiated by
the software event, is completed.
If the software trigger event occurs together with the event that clears the SWSYNC bit,
then the synchronization is made using this trigger event and the SWSYNC bit remains
set because of the last write.
For example, if PWMSYNC = 0 and REINIT = 0 and there is a software trigger event,
then the load of MODH:L and CnVH:L registers is made only at the boundary cycle
(CNTMIN and CNTMAX). In this case, the SWSYNC bit is cleared only at the boundary
cycle, so you do not know when this bit is cleared. Therefore, it is possible a new write to
set SWSYNC happens when FTM is clearing the SWSYNC because it is the selected
boundary cycle of PWM synchronization that was started previously by the software
trigger event.
Chapter 12 FlexTimer Module (FTM)
MC9S08PA60 Reference Manual, Rev. 1, 9/2012
Freescale Semiconductor, Inc. 349