UPD784026 Renesas Electronics Corporation., UPD784026 Datasheet - Page 279

no-image

UPD784026

Manufacturer Part Number
UPD784026
Description
16/8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
9.3 TIMER/COUNTER 1 CONTROL REGISTERS
(1) Timer control register 1 (TMC1)
Remark The OVF1 bit is reset by software only.
TMC1 controls the timer/counter 1, TM1/TM1W, count operation by the low-order 4 bits (the high-order 4 bits control the
count operation of timer/counter 2, TM2/TM2W).
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 9-2.
RESET input clears TMC1 to 00H.
TMC1
CE2
7
OVF2
6
CMD2
5
Figure 9-2 Timer Control Register 1 (TMC1) Format
BW2
4
CE1
3
CHAPTER 9 TIMER/COUNTER 1
OVF1
2
1
0
BW1
0
* In 8-bit operating mode:
OVF1
Countrols count operation of timer/counter 2
(TM2/TM2W) (see Figure 10-2).
BW1
In
count up from FFFFH to 0000H
CE1 TM1/TM1W Count Operation Control
count up from FFH to 00H
0FF5FH
Address
0
1
0
1
0
1
16-bit operating mode:
Count operation stopped with count cleared
Count operation enabled
Timer Counter 1 Bit Length Specification
8-bit operating mode
16-bit operating mode
TM1/TM1W Overflow Flag
No overflow
Overflow*
On Reset
00H
R/W
R/W
239

Related parts for UPD784026