
Chapter 20 Pulse Width Modulator with Fault Protection (PMF15B6C) Module
MC9S12XF - Family Reference Manual, Rev.1.19
Freescale Semiconductor
929
Table 20-33. PMFFQCC Field Descriptions
Field
Description
7–4
LDFQC
Load Frequency C — This eld selects the PWM load frequency according to
Table 20-34. See
Note: The LDFQC eld takes effect when the current load cycle is complete, regardless of the state of the load
okay bit, LDOKC. Reading the LDFQC eld reads the buffered value and not necessarily the value
currently in effect.
3
HALFC
Half Cycle Reload C — This bit enables half-cycle reloads in center-aligned PWM mode. This bit has no effect
on edge-aligned PWMs.
0 Half-cycle reloads disabled
1 Half-cycle reloads enabled
2–1
PRSCC
Prescaler C — This buffered eld selects the PWM clock frequency illustrated in
Table 20-35. Note: Reading the PRSCC eld reads the buffered value and not necessarily the value currently in effect. The
PRSCC eld takes effect at the beginning of the next PWM cycle and only when the load okay bit, LDOKC,
is set.
0
PWMRFC
PWM Reload Flag C — This ag is set at the beginning of every reload cycle regardless of the state of the
LDOKC bit. Clear PWMRFC by reading PMFFQCC with PWMRFC set and then writing a logic one to the
PWMRFC bit. If another reload occurs before the clearing sequence is complete, writing logic one to PWMRFC
has no effect.
0 No new reload cycle since last PWMRFC clearing
1 New reload cycle since last PWMRFC clearing
Note: Clearing PWMRFC satises pending PWMRFC CPU interrupt requests.
Table 20-34. PWM Reload Frequency C
LDFQC
PWM Reload Frequency
LDFQ[3:0]
PWM Reload Frequency
0000
Every PWM opportunity
1000
Every 9 PWM opportunities
0001
Every 2 PWM opportunities
1001
Every 10 PWM opportunities
0010
Every 3 PWM opportunities
1010
Every 11 PWM opportunities
0011
Every 4 PWM opportunities
1011
Every 12 PWM opportunities
0100
Every 5 PWM opportunities
1100
Every 13 PWM opportunities
0101
Every 6 PWM opportunities
1101
Every 14 PWM opportunities
0110
Every 7 PWM opportunities
1110
Every 15 PWM opportunities
0111
Every 8 PWM opportunities
1111
Every 16 PWM opportunities
Table 20-35. PWM Prescaler C
PRSCC
PWM Clock Frequency
00
fbus
01
fbus/2
10
fbus/4
11
fbus/8