tmp88cu74 TOSHIBA Semiconductor CORPORATION, tmp88cu74 Datasheet - Page 74

no-image

tmp88cu74

Manufacturer Part Number
tmp88cu74
Description
Cmos 8-bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
TREG3A
(00018H)
TREG3B
(00019H)
TC3CR
(0001AH)
2.8.2
2.8.3
Note 1: fc: High-frequency clock [Hz], fs: Low-frequency clock [Hz], *: Don’t care
Note 2: Set the mode, the source clock and the edge selection (INT3ES) when the TC3 stops (TC3S = 0).
Note 3: Software capture can be used only in the timer and event counter mode. SCAP is automatically cleared to “0”
Note 4: Values to be loaded into timer register 3A must satisfy the following condition.
Note 5: TC3CR is a write-only register and must not be used with any of read-modify-write instructions such as SET,
Control
8-bit timer registers (TREG3A and TREG3B).
Function
by remote control receive control register.
(1) Timer mode
TC3CK
TC3M
SCAP
TC3S
“0”
7
7
The timer/counter 3 is controlled by a timer/counter 3 control register (TC3CR) and two
The timer/counter 3 has three operating modes: timer, event counter, and capture mode.
When it is used in the capture mode, the noise rejection time of TC3 pin input can be set
compared with the contents of up-counter. If a match is found, a timer/counter 3
interrupt (INTTC3) is generated, and the up-counter is cleared. Counting up resumes
after the up-counter is cleared. The current contents of up-counter are loaded into
TREG3B by setting SCAP (bit 6 in TC3CR) to “1”. SCAP is automatically cleared after
capturing.
after capturing.
TREG3A>0 (in the timer and event counter mode)
CLR, etc.
In this mode, the internal clock is used for counting up. The contents of TREG3A are
SCAP
TC3
operation mode set
TC3
source clock select [Hz]
TC3
start select
Software capture control
6
6
Figure 2.8.2 Timer Register 3 and TC3 Control Register
“0”
5
5
TC3S
4
4
3
3
88CU74-74
TC3CK
0: Timer/event counter
1: Capture
0: Stop and clear
1: Start
0: 
1: Software capture trigger
00
01
10
11
2
2
DV1CK = 0 DV1CK = 1 DV1CK = 0 DV1CK = 1
fc/2
fc/2
fc/2
DV7CK = 0
12
10
7
NORMAL1/2, IDLE1/2 mode
“0”
1
1
External clock (TC3 pin input)
fc/2
fc/2
fc/2
TC3M
13
11
8
0
0
fs/2
fs/2
fs/2
Read/Write
Read only
(Initial value: *0*0 00*0 )
DV7CK = 1
4
2
7
fs/2
fs/2
fs/2
4
2
8
SLOW,
SLEEP
mode
fs/2
TMP88CU74
2007-10-19
4
2003-02-17
Write
only

Related parts for tmp88cu74