MC97F2664
April 11, 2014 Ver. 1.4
149
11.7.4 16-Bit PPG Mode
The timer 6/7/8/9 has a PPG (Programmable Pulse Generation) function. In PPG mode, TnO/PWMnO pin
outputs up to 16-bit resolution PWM output. This pin should be configured as a PWM output by setting
P3FSR2,P2FSR0,P2FSR1,P2FSR2
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/64
fx/512
fx/2048
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
To interrupt
block
A Match
Buffer Register A
Reload
Pulse
Generator
TnO/
PWMnO
R
TnEN
3
TnCK[2:0]
2
TnEN
TnCRH
1
ADDRESS:DBH/E3H/EBH/1059H
INITIAL VALUE : 0000_0000B
–
TnMS1
TnMS0
–
–
–
TnCC
–
1
1
–
–
–
X
TnCK2
TnCRL
X
ADDRESS:DAH/E2H/EAH/1058H
INITIAL VALUE : 0000_0000B
TnCK1
TnCK0
TnIFR
–
TnPOL
TnECE TnCNTR
X
X
X
–
X
X
X
A Match
TnCC
TnEN
A Match
TnCC
TnEN
NOTE) The TnEN is automatically cleared to logic
“0” after one pulse is generated at a PPG one-shot mode.
Figure 11.27 16-Bit PPG Mode for Timer 6/7/8/9 ( where n= 6,7,8, and 9)
Содержание MC97F2664
Страница 20: ...MC97F2664 20 April 11 2014 Ver 1 4 4 Package Diagram Figure 4 1 64 Pin LQFP 1010 Package...
Страница 21: ...MC97F2664 April 11 2014 Ver 1 4 21 Figure 4 2 64 Pin LQFP 1414 Package...
Страница 22: ...MC97F2664 22 April 11 2014 Ver 1 4 Figure 4 3 64 Pin QFN Package...
Страница 23: ...MC97F2664 April 11 2014 Ver 1 4 23 Figure 4 4 44 Pin MQFP 1010 Package...