English
Language : 

MC908MR16CFUE Datasheet, PDF (125/282 Pages) Freescale Semiconductor, Inc – On-chip programming firmware for use with host personal computer, Clock generator module (CGM)
UP-ONLY
COUNTER
LDFQ1:LDFQ0 = 00 (RELOAD EVERY CYCLE)
PWM Generators
LDOK = 1
MODULUS = 3
PWM VALUE = 2
PWMF SET
LDOK = 1
MODULUS = 4
PWM VALUE = 2
PWMF SET
LDOK = 1
MODULUS = 2
PWM VALUE = 2
PWMF SET
LDOK = 0
MODULUS = 1
PWM VALUE = 2
PWMF SET
PWM
Figure 12-11. Edge-Aligned Modulus Loading
12.4.2 PWM Data Overflow and Underflow Conditions
The PWM value registers are 16-bit registers. Although the counter is only 12 bits, the user may write a
16-bit signed value to a PWM value register. As shown in Figure 12-4 and Figure 12-5, if the PWM value
is less than or equal to zero, the PWM will be inactive for the entire period. Conversely, if the PWM value
is greater than or equal to the timer modulus, the PWM will be active for the entire period. Refer to
Table 12-3.
NOTE
The terms “active” and “inactive” refer to the asserted and negated states
of the PWM signals and should not be confused with the high-impedance
state of the PWM pins.
Table 12-3. PWM Data Overflow and Underflow Conditions
PWMVALxH:PWMVALxL
$0000–$0FFF
$1000–$7FFF
$8000–$FFFF
Condition
Normal
Overflow
Underflow
PWM Value Used
Per register contents
$FFF
$000
MC68HC908MR32 • MC68HC908MR16 Data Sheet, Rev. 6.1
Freescale Semiconductor
125