tmp88cu74 TOSHIBA Semiconductor CORPORATION, tmp88cu74 Datasheet - Page 78

no-image

tmp88cu74

Manufacturer Part Number
tmp88cu74
Description
Cmos 8-bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
TREG4
(0001BH)
TC4CR
(0001CH)
2.9.2
2.9.3
Note 1: fc: High-frequency clock [Hz], fs: Low-frequency clock [Hz], *: Don’t care
Note 2: Set the operating mode, the source clock selection, the edge selection (INT4ES) and timer F/F4 control when
Note 3: Set TFF4 to “11” in the timer and event counter mode and PWM mode.
Note 4: Values to be loaded to the timer register must satisfy the following condition.
Note 5: TC4CR is a write-only register and must not be used with any of the read-modify-write instructions such as SET,
Control
8-bit timer register 4 (TREG4). Reset does not affect TREG4.
Function
divider output, and PWM output mode.
(1) Timer mode
TC4CK
TC4M
TC4S
TFF4
7
7
The timer/counter 4 is controlled by a timer/counter 4 control register (TC4CR) and an
The timer/counter 4 has four operating modes: timer, event counter, programmable
TFF4
compared with the contents of up-counter. If a match is found, an INTTC4 interrupt is
generated and the up-counter is cleared to “0”. Counting up resumes after the
up-counter is cleared.
the TC4 stops (TC4S = 0)
0<TREG4 in others
CLR, etc.
In this mode, the internal clock is used for counting up. The contents of TREG4 are
TC4 operating mode select
TC4 source clock select [Hz]
TC4 start control
Timer F/F4 control
6
6
Figure 2.9.2 Timer Register 4 and TC4 Control Register
“0”
5
5
TC4S
4
4
3
3
88CU74-78
TC4CK
0: Stop and counter clear
1: Start
00: Clear
01: Reserved
10: Reserved
11:  (Note 3)
00: Timer
01: Reserved
10: Programmable divider output (PDO) mode
11: Pulse width modulation (PWM) output mode
00
01
10
11
2
2
DV1CK = 0
Reserved
fc/2
fc/2
fc/2
DV7CK = 0
11
7
3
NORMAL1/2, IDLE1/2 mode
1
1
TC4M
DV1CK = 1
fc/2
fc/2
fc/2
12
8
4
0
0
DV1CK = 0
fs/2
fc/2
fc/2
Write only
(Initial value: 00*0 0000 )
DV7CK = 1
3
7
3
DV1CK = 1
fs/2
fc/2
fc/2
3
8
4
SLOW,
SLEEP
mode
fs/2
TMP88CU74
3
2007-10-19
2003-02-17
Write
only

Related parts for tmp88cu74