8-Bit Timer/Event Counters 2 Tm2 And 3 Tm3 Control Registers - NEC mPD780852 Series Preliminary User's Manual

8-bit single-chip microcontrollers
Table of Contents

Advertisement

CHAPTER 8 8-BIT TIMER/EVENT COUNTERS 2 TM2 AND 3 TM3

8.3 8-Bit Timer/Event Counters 2 TM2 and 3 TM3 Control Registers

The following three types of registers are used to control 8-bit timer/event counters 2 TM2 and 3 TM3.
• Timer clock select registers 2, 3 (TCL2, TCL3)
• 8-bit timer mode control registers 2, 3 (TMC2, TMC3)
• Port mode register 4 (PM4)
(1) Timer clock select registers 2, 3 (TCL2, TCL3)
These registers set count clocks of 8-bit counters 2 and 3 (TM2 and TM3).
TCL2 and TCL3 are set with an 8-bit memory manipulation instruction.
RESET input clears these registers to 00H.
Figure 8-3. Timer Clock Select Register 2 (TCL2) Format
Address: FF74H
After Reset: 00H
Symbol
7
TCL2
0
TCL22
0
0
0
0
1
1
1
1
Cautions 1. When rewriting TCL2 to other data, stop the timer operation beforehand.
2. Bits 3 to 7 must be set to 0.
Remarks 1. f
: Main system clock oscillation frequency
X
2. Figures in parentheses apply to operation with f
124
R/W
6
5
4
0
0
0
TCL21
TCL20
0
0
TIO2 falling edge
0
1
TIO2 rising edge
3
1
0
f
/2
(1.04 MHz)
X
5
1
1
f
/2
(261 kHz)
X
7
0
0
f
/2
(65.4 kHz)
X
8
0
1
f
/2
(32.7 kHz)
X
9
1
0
f
/2
(16.3 kHz)
X
11
1
1
f
/2
X
Preliminary User's Manual U14581EJ3V0UM00
3
2
0
TCL22
Count Clock Selection
(4.09 kHz)
= 8.38 MHz
X
1
0
TCL21
TCL20

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd780851Mpd780851aMpd780852aMpd78f0852

Table of Contents