English
Language : 

K60P100M100SF2RM Datasheet, PDF (1031/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
Chapter 39 FlexTimer (FTM)
39.4.15 Output Mask
The output mask can be used to force channels output to their inactive state through
software (for example: to control a BLDC motor).
Any write to the OUTMASK register updates its write buffer. The OUTMASK register is
updated with its buffer value by PWM synchronization (OUTMASK Register
Synchronization).
If CHnOM = 1, then the channel (n) output is forced to its inactive state (POLn bit value).
If CHnOM = 0, then the channel (n) output is unaffected by the output mask (see the
following figure).
the beginning of new PWM cycles
FTM counter
channel (n) output
(before output mask)
CHnOM bit
channel (n) output
(after output mask)
configured PWM signal starts
to be available in the channel (n) output
channel (n) output is disabled
Figure 39-232. Output Mask with POLn = 0
The following table shows the output mask result before the polarity control.
Table 39-244. Output Mask Result for Channel (n) (Before the Polarity
Control)
CHnOM
0
1
Output Mask Input
inactive state
active state
inactive state
active state
Output Mask Result
inactive state
active state
inactive state
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc.
1031