169
MC97F60128
ABOV Semiconductor Co., Ltd.
11.6.4 16-Bit PPG Mode
The Timer 3/4/5/6 has a PPG (Programmable Pulse Generation) function. In PPG mode, T3O/PWM3O, T4O/PWM4O,
T5O/PWM5O and T6O/PWM6O pin outputs up to 16-bit resolution PWM output. This pin should be configured as a
PWM output by setting P1FSR[1:0]
to ‘01’, P1FSR[2] to ‘1’, P1FSR[3] to ‘1’ and P1FSR[4] to ‘1’. The period of the
PWM output is determined by the TnADRH/TnADRL. And the duty of the PWM output is determined by the
TnBDRH/TnBDRL.
TnMS[1:0]
TnPOL
Reload
A Match
TnCC
TnEN
P
r
e
s
c
a
l
e
r
fx
M
U
X
fx/2
fx/4
Fx/32
fx/ 128
fx/ 512
fx/8
fx/1
Comparator
16- bit Counter
TnCNTH/TnCNTL
16- bit B Data Register
TnBDRH/TnBDRL
Clear
B Match
Edge
Detector
TnECE
ECn
Buffer Register B
Comparator
16 - bit A Data Register
TnADRH/TnADRL
TnIFR
S/W
Clear
A Match
Buffer Register A
Reload
Pulse
Generator
TnO/
PWMnO
R
TnEN
3
TnCK [2:0]
2
TnEN
TnCRH
1
TnMIE
TnMS1
TnMS0
-
-
-
TnCC
X
1
1
-
-
-
X
TnCK2
TnCRL
X
TnCK1
TnCK0
-
TnPOL
TnECE TnCNTR
X
X
-
-
X
X
X
A Match
TnCC
TnEN
A Match
TnCC
TnEN
To interrupt
block
TnMIE
To other block
-
ADDRESS:
E3H/4079H/4081H/4089H
INITIAL VALUE : 0000_0000B
ADDRESS:E2H/4078H/4080H/4088H
INITIAL VALUE : 0000_0000B
NOTE)
1. The TnEN is automatically cleared to logic
“0” after one pulse is generated at a PPG one-shot
mode.
2. Do not set to
“110b” in the TnCK[2:0], when fx is over 10MHz.
Figure 11.20
16-Bit PPG Mode for Timer 3/4/5/6 (where n = 3,4,5 and 6)
Содержание MC97F60128
Страница 17: ...17 MC97F60128 ABOV Semiconductor Co Ltd 4 Package Diagram Figure 4 1 100 pin LQFP 1414 Package...
Страница 18: ...18 MC97F60128 ABOV Semiconductor Co Ltd Figure 4 2 80 Pin LQFP 1212 Package...
Страница 19: ...19 MC97F60128 ABOV Semiconductor Co Ltd Figure 4 3 80 Pin LQFP 1414 Package...
Страница 20: ...20 MC97F60128 ABOV Semiconductor Co Ltd Figure 4 4 64 Pin LQFP 1414 Package...