UPD784026 Renesas Electronics Corporation., UPD784026 Datasheet - Page 317

no-image

UPD784026

Manufacturer Part Number
UPD784026
Description
16/8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
10.3 TIMER/COUNTER 2 CONTROL REGISTERS
(1) Timer control register 1 (TMC1)
Remark The OVF2 bit is reset by software only.
In TMC1 the timer/counter 2, TM2/TM2W, count operation is controlled by the high-order 4 bits (the low-order 4 bits
control the count operation of timer/counter 1, TM1/TM1W).
TMC1 can be read or written to with an 8-bit manipulation instruction or bit manipulation instruction. The format of the
TMC1 is shown in Figure 10-2.
RESET input clears TMC1 to 00H.
TMC1
CE2
7
OVF2
6
CMD2
5
Figure 10-2 Timer Control Register 1 (TMC1) Format
BW2
4
CE1
CHAPTER 10 TIMER/COUNTER 2
3
OVF1
2
1
0
BW1
0
*
CMD2
OVF2
Controls count operation of timer/counter 1
(TM1/TM1W) (see Figure 9-2).
BW2
CE2 TM2/TM2W Count Operation Control
8-bit operating mode:
count up from FFH to 00H
In 16-bit operating mode:
0FF5FH
Address
0
1
0
1
0
1
0
1
Count operation stopped with count cleared
Count operation enabled
Timer/Counter 2 Bit Length Specification
8-bit operating mode
16-bit operating mode
TM2/TM2W Operating Mode Specificaton
Normal mode
One-shot mode
TM2/TM2W Overflow Flag
No overflow
Overflow*
On Reset
00H
R/W
R/W
277

Related parts for UPD784026