Panasonic MN101C77C Cell Phone User Manual


 
Chapter 7 16-bit Timer
VII - 28
16-bit High Precision PWM Output
Count Timing of High Precision PWM Output (When compare register 2 is x'0000'l) (Timer 7)
Here is the count timing as the compare register 2 is set to x'0000' ;
Figure 7-7-3 Count Timing of High Precision PWM Output
(at compare register 2=compare register 1)
Figure 7-7-2 Count Timing of High Precision PWM Output
(When compare register 2 is x'0000')
Count Timing of High Precision PWM Output (at compare register 2 = compare register 1) (Timer 7)
Here is the count timing as the compare register 2 is set the same value to the compare register 1 ;
When the TM7EN flag is stopped (at "0"), the PWM output signal is "H".
For the high precision PWM output, set the TMBCR flag of the TM7MD2 register to "1" to
select the TM7OC1 compare match as a clear source of the binary counter and as a setup
("H" output) source of the PWM output. Also, set the T7PWMSL flag to "1" to select the
TM7OC2 compare match as a reset ("L" output) source of the PWM output.
N
N-1
N
Count
clock
TM7EN
flag
Compare
register 1
Binary
counter
0000 00010000 0001
TM7IO output
(PWM output)
H
L
0000
Compare
register 2
N
N-1
N
Count
clock
TM7EN
flag
Compare
register 2
Binary
counter
0000 00010000 0001
TM7IO output
(PWM output)
N
Compare
register 1