tmp88cu74 TOSHIBA Semiconductor CORPORATION, tmp88cu74 Datasheet - Page 70

no-image

tmp88cu74

Manufacturer Part Number
tmp88cu74
Description
Cmos 8-bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
TREG2
(00016, 00017H)
TC2CR
(00015H)
2.7.2
Note 1: fc: High-frequency clock [Hz], fs: Low-frequency clock [Hz], fcgck: Gear clock [Hz], *: Don’t care
Note 2: Writing to the lower byte of timer register 2 (TREG2L), the comparison is inhibited until the upper byte (TREG2H)
Note 3: Set the mode and source clock when the TC2 stops (TC2S = 0).
Note 4: Values to be loaded to the timer register must satisfy the following condition.
Note 5: “fcgck” can be selected as the source clock only in the timer mode during the SLOW mode.
Note 6: TC2CR and TREG2 are write-only registers and must not be used with any of the read-modify-write instructions
Note 7: It recommends when used as an TC2CK = <100>, at fc ≤ 8 MHz, and used as an TC2CK = <110>,
Control
16-bit timer register 2 (TREG2). Reset does not affect TREG2.
15
TC2CK
TC2M
TC2S
“0”
7
The timer/counter 2 is controlled by a timer/counter 2 control register (TC2CR) and a
is written. After writing to the upper byte, any match during 1 machine cycle (instruction execution cycle) is
ignored.
TREG2>0 (TREG2
such as SET, CLR, etc.
at fc = 12.5 MHz.
14
TC2 operating mode select
TC2 source clock select [Hz]
TC2 start control
“0”
6
13
Figure 2.7.2 Timer Register 2 and TC2 Control Register
TREG2H (00017H)
TC2S
5
12
15 to 11
11
4
>0 at warm-up)
10
TC2CK
3
88CU74-70
0: Timer/Event counter mode
1: Window mode
0: Stop and counter clear
1: Start
9
000
001
010
011
100
101
110
111
2
DV1CK =
8
fc/2
fc/2
fc/2
fc/2
fs
0
DV7CK = 0
NORMAL1/2, IDLE1/2 mode
23
13
8
3
7
1
DV1CK =
fc/2
fc/2
fc/2
fc/2
External clock (TC2 pin input)
fs
1
6
24
14
9
4
TC2M
0
DV1CK =
fs/2
fs/2
fc/2
fc/2
5
fs
0
TREG2L (00016H)
DV7CK = 1
15
5
8
3
(Initial value: **00 00*0)
Write only
4
DV1CK =
fs/2
fs/2
fc/2
fc/2
fs
1
15
5
9
4
3
SLOW
mode
fs/2
fs/2
fc/2
fc
2
15
5
SLEEP
mode
fs/2
fs/2
TMP88CU74
1
2007-10-19
2003-02-17
15
5
Write
only
0

Related parts for tmp88cu74