
Preliminary
MC80F0104/0204
Mar. 2005 Ver 0.2
63
Figure 13-19 Example of PWM1 at 4MHz
Figure 13-20 Example of Changing the PWM1 Period in Absolute Duty Cycle (@4MHz)
Source
T1
PWM1O
~~
~~
~~
01
02
03
04
7E
7F
80
01
02
~~
~~
~~
~~
~~
~~
~~
[POL=1]
PWM1O
[POL=0]
Duty Cycle [ (1+7Fh) x 250nS = 32uS ]
Period Cycle [ (3FFh+1) x 250nS = 256uS, 3.9KHz ]
T1PWHR = 0CH
T1PPR = FFH
T1PDR = 7FH
T1CK[1:0] = 00 ( XIN )
T1PWHR3 T1PWHR2
T1PWHR1 T1PWHR0
T1PPR (8-bit)
T1PDR (8-bit)
Period
Duty
1
1
FFH
0
0
7FH
00
clock
PWM1E
~~
T1ST
~~
T1CN
~~
00
3FF
Source
T1
PWM1O
POL=1
Duty Cycle
Period Cycle [ (1+0Dh) x 2uS = 28uS, 35.5KHz ]
PWM1HR = 00H
T1PPR = 0DH
T1PDR = 04H
T1CK[1:0] = 10 ( 1us )
01 02 03
04
05
07 08
0A 0B 0C
0D
00 01 02 03
04
05 06 07 08
09
00 01 02 03
06
09
04
[ (04h+1) x 2uS = 10uS ]
Duty Cycle
[ (04h+1) x 2uS = 10uS ]
Period Cycle [ (1+09h) x 2uS = 20uS, 50KHz ]
Duty Cycle
[ (04h+1) x 2uS = 10uS ]
Write T1PPR to 09H
clock
00
Summary of Contents for MC80C0104
Page 108: ...MC80F0104 0204 Preliminary 104 Mar 2005 Ver 0 2 25 Emulator EVA Board Setting...
Page 115: ...APPENDIX...
Page 116: ......
Page 124: ...viii Mar 2005 Ver 0 2 MC80F0104 0204 Preliminary...