• If the selected mode is not CPWM mode, then MODH:L registers are updated after
both bytes have been written and the FTM counter changes from (MODH:L) to
(CNTINH:L). If the FTM counter is a free-running counter, then this update is made
when the FTM counter changes from 0xFFFF to 0x0000.
• If the selected mode is CPWM mode, then MODH:L registers are updated after both
bytes have been written and the FTM counter changes from MODH:L to (MODH:L
– 0x0001).
If (CLKS[1:0] ≠ 0:0 and FTMEN = 1), then MODH:L registers are updated by PWM
synchronization. See
MODH:L registers synchronization
12.4.10.3 CnVH:L registers
If (CLKS[1:0] = 0:0), then CnVH:L registers are updated when their second byte is
written, independent of FTMEN bit.
If (CLKS[1:0] ≠ 0:0 and FTMEN = 0), then CnVH:L registers are updated according to
the selected mode:
• If the selected mode is output compare mode, then CnVH:L registers are updated
after their second byte is written and on the next change of the FTM counter.
• If the selected mode is EPWM mode, the CnVH:L registers are updated after both
bytes have been written and the FTM counter changes from MODH:L to CNTINH:L.
If the FTM counter is a free running counter, then this update is made when the FTM
counter changes from 0xFFFF to 0x0000.
• If the selected mode is CPWM mode, then CnVH:L registers are updated after both
bytes have been written and the FTM counter changes from MODH:L to (MODH:L
– 0x0001).
If (CLKS[1:0] ≠ 0:0 and FTMEN = 1), then CnVH:L registers are updated according to
the selected mode:
Chapter 12 FlexTimer Module (FTM)
MC9S08PT60 Reference Manual, Rev. 4, 08/2014
Freescale Semiconductor, Inc.
359
Summary of Contents for MC9S08PT60
Page 2: ...MC9S08PT60 Reference Manual Rev 4 08 2014 2 Freescale Semiconductor Inc...
Page 34: ...MC9S08PT60 Reference Manual Rev 4 08 2014 34 Freescale Semiconductor Inc...
Page 200: ...Port data registers MC9S08PT60 Reference Manual Rev 4 08 2014 200 Freescale Semiconductor Inc...
Page 396: ...FTM Interrupts MC9S08PT60 Reference Manual Rev 4 08 2014 396 Freescale Semiconductor Inc...
Page 676: ...Resets MC9S08PT60 Reference Manual Rev 4 08 2014 676 Freescale Semiconductor Inc...