English
Language : 

MC80F0204 Datasheet, PDF (67/126 Pages) List of Unclassifed Manufacturers – 8-BIT SINGLE-CHIP MICROCONTROLLERS
Preliminary
MC80F0104/0204
Source
clock
T1
PWM1E
T1ST
T1CN
PWM1O
[POL=1]
PWM1O
[POL=0]
00
01
02
03
04
7E
7F
80
3FF
00
01
02
Duty Cycle [ (1+7Fh) x 250nS = 32uS ]
Period Cycle [ (3FFh+1) x 250nS = 256uS, 3.9KHz ]
T1CK[1:0] = 00 ( XIN )
T1PWHR = 0CH
T1PPR = FFH
T1PDR = 7FH
Period T1PWHR3 T1PWHR2
1
1
Duty
T1PWHR1 T1PWHR0
0
0
T1PPR (8-bit)
FFH
T1PDR (8-bit)
7FH
Figure 13-19 Example of PWM1 at 4MHz
T1CK[1:0] = 10 ( 1us )
PWM1HR = 00H
T1PPR = 0DH
T1PDR = 04H
Write T1PPR to 09H
Source
clock
T1
00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 00 01 02 03 04 05 06 07 08 09 00 01 02 03 04
PWM1O
POL=1
Duty Cycle
[ (04h+1) x 2uS = 10uS ]
Period Cycle [ (1+0Dh) x 2uS = 28uS, 35.5KHz ]
Duty Cycle
[ (04h+1) x 2uS = 10uS ]
Duty Cycle
[ (04h+1) x 2uS = 10uS ]
Period Cycle [ (1+09h) x 2uS = 20uS, 50KHz ]
Figure 13-20 Example of Changing the PWM1 Period in Absolute Duty Cycle (@4MHz)
Mar. 2005 Ver 0.2
63