tmp88cs38ng TOSHIBA Semiconductor CORPORATION, tmp88cs38ng Datasheet - Page 70

no-image

tmp88cs38ng

Manufacturer Part Number
tmp88cs38ng
Description
Cmos 8-bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
TC2DR
(00016H, 00017H)
TC2CR
(00015H)
TC2CK
2.6.2
Note 1: fc: High-frequency clock [Hz], *: Don’t care.
Note 2: Writing to the lower byte of timer register 2 (TC2DRL), the comparison is inhibited until the upper byte (TC2DRH) is
Note 3: Set the mode and source clock when the TC2 stops (TC2S = 0).
Note 4: Values to be loaded to timer registers must satisfy the following condition.
Note 5: TC2CR are write-only registers and must not be used with any of the read-modify-write instructions.
Note 6: When STOP mode is started, timer counter is stopped and cleared. Set TC2S to “1” after STOP mode is released for
TC2M
TC2S
written. After writing to the upper byte, any match during 1 machine cycle (Instruction execution cycle) is ignored.
restarting timer counter.
TC2
operating mode select
TC2
source clock select [Hz]
TC2
start control
TC2DR > 1
Control
16-bit timer register 2 (TC2DR). Reset does not affect TC2DR.
The timer/counter 2 is controlled by a timer/counter 2 control register (TC2CR) and a
15
7
14
6
Figure 2.6.2 Timer Registers 2 and TC2 Control Register
TC2S
13
5
TC2DRH (00017H)
12
4
0: Timer/event counter mode
1: Window mode
0: Stop and counter clear
1: Start
000
001
010
011
100
101
110
111
TC2CK
11
3
10
2
88CS38-70
DV1CK = 0
Reserved
Reserved
9
1
fc/2
fc/2
fc/2
fc/2
23
13
TC2M
8
3
8
0
External clock (TC2 pin input)
NORMAL1/2, IDLE1/2 mode
7
Reserved
6
(Initial value: **00 00*0)
5
TMP88CS38/CM38A/CP38A
TC2DRL (00016H)
Read/Write
DV1CK = 1
Reserved
Reserved
4
fc/2
fc/2
fc/2
fc/2
24
14
9
4
3
2
2007-09-12
1
Write
only
0

Related parts for tmp88cs38ng