CNT = (MOD - 0x0001) -> MOD
CNT = (CNTIN + 0x0001) -> CNTIN
loading points if CNTMIN = 1
loading points if CNTMAX = 1
up-down counting mode
CNT = MOD -> CNTIN
loading points if CNTMAX = 1 or CNTMIN = 1
up counting mode
Figure 38-208. Boundary cycles and loading points
38.4.11.4 MOD register synchronization
The MOD register synchronization updates the MOD register with its buffer value. This
synchronization is enabled if (FTMEN = 1).
The MOD register synchronization can be done by either the enhanced PWM
synchronization (SYNCMODE = 1) or the legacy PWM synchronization (SYNCMODE
= 0). However, it is expected that the MOD register be synchronized only by the
enhanced PWM synchronization.
In the case of enhanced PWM synchronization, the MOD register synchronization
depends on SWWRBUF, SWRSTCNT, HWWRBUF, and HWRSTCNT bits according to
this flowchart:
Functional description
K22F Sub-Family Reference Manual , Rev. 3, 7/2014
898
Freescale Semiconductor, Inc.