Chapter 9 8-Bit Timer/Event Counters 2, 3 Tm2, Tm3; 8-Bit Timer/Event Counters 2 And 3 Functions - NEC mPD780973 Series Preliminary User's Manual

8-bit single-chip microcontrollers
Table of Contents

Advertisement

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.
8-bit compare
register 2 (CR2)
TIO2/P43
3
f
/2
X
5
f
/2
X
7
f
/2
X
8-bit counter 2
8
f
/2
X
9
(TM2)
f
/2
X
11
f
/2
X
3
TCL22 TCL21 TCL20
Timer clock select
register 2 (TCL2)
Note Bit 3 of port mode register (PM4)
Figure 9-1. Timer 2 (TM2) Block Diagram
Internal bus
Coincidence
OVF
Clear
Selector
TCE2 TMC26 LVS2 LVR2 TMC21 TOE2
Timer mode control
register 2 (TMC2)
Internal bus
Selector
INTTM2
S
Q
INV
R
P43 output latch PM43
S
Invert
level
R
TIO2/P43
Note
119

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd780973aMpd780974

Table of Contents