119
CHAPTER 9 8-BIT TIMER/EVENT COUNTERS 2, 3 TM2, TM3
9.1 8-Bit Timer/Event Counters 2 and 3 Functions
The 8-bit timer/event counters 2 and 3 operate as an 8-bit timer/event counter.
TM2 and TM3 can have the following functions.
• Interval timer
• External event counter
• Square wave output
• PWM output
Figure 9-1 shows timer 2 block diagram, and Figure 9-2 shows timer 3 block diagram.
Figure 9-1. Timer 2 (TM2) Block Diagram
Note Bit 3 of port mode register (PM4)
Internal bus
8-bit compare
register 2 (CR2)
8-bit counter 2
(TM2)
TIO2/P43
f
X
/2
11
f
X
/2
5
Selector
Selector
Coincidence
Mask circuit
OVF
Clear
3
Selector
TCL22 TCL21 TCL20
Timer clock select
register 2 (TCL2)
Internal bus
TCE2 TMC26 LVS2 LVR2 TMC21 TOE2
Invert
level
Timer mode control
register 2 (TMC2)
S
R
S
Q
R
INV
Selector
INTTM2
TIO2/P43
f
X
/2
3
f
X
/2
7
f
X
/2
8
f
X
/2
9
P43 output latch PM43
Note
Содержание mPD780973 Series
Страница 2: ...2 MEMO ...
Страница 66: ...66 MEMO ...
Страница 98: ...98 MEMO ...
Страница 138: ...138 MEMO ...
Страница 164: ...164 MEMO ...
Страница 182: ...182 MEMO ...
Страница 204: ...204 MEMO ...
Страница 244: ...244 MEMO ...
Страница 262: ...262 MEMO ...
Страница 278: ...278 MEMO ...
Страница 290: ...290 MEMO ...