tmp88cu74 TOSHIBA Semiconductor CORPORATION, tmp88cu74 Datasheet - Page 72

no-image

tmp88cu74

Manufacturer Part Number
tmp88cu74
Description
Cmos 8-bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
TC2 pin input
Internal clock
Up-counter
TREG2
INTTC2 interrupt
(2) Event counter mode
(3) Window mode
contents of TREG2 are compared with the contents of the up-counter. If a match is
found, an INTTC2 interrupt is generated, and the counter is cleared. The maximum
frequency applied to the TC2 pin is shown in Table 2.7.2. Two or more machine cycles
are required for both the “H” and “L” levels of the pulse width.
TC2 external pin input(window pulse) is “H” level. The contents of TREG2 are
compared with the contents of up-counter. If a match is found, an INTTC2 interrupt is
generated, and the up-counter is cleared.
selected internal clock.
In this mode, events are counted on the rising edge of the TC2 pin input. The
In this mode, counting up is performed on the rising edge of an internal clock during
The maximum applied frequency (TC2 input) must be considerably slower than the
Example: Sets the event counter mode and generates an INTTC2 interrupt 640 counts later.
Example: Generates an interrupt, inputting “H” level pulse width of 120 ms or more. (at fc = 12.5 MHz,
NORMAL1/2, IDLE1/2 Mode
Table 2.7.2 Timer/Counter 2 External Clock Source
DV1CK = 1)
Figure 2.7.3 Window Mode Timing Chart
n
fc/2
0
LDW
SET
EI
LD
LDW
SET
EI
LD
4
Maximum Applied Frequency [Hz]
1
(TREG2), 640
(EIRH). EF14
(TC2CR), 00111100B
(TREG2), 0056H
(EIRH). EF14
(TC2CR), 00100101B
88CU74-72
2
n − 3
SLOW, SLEEP Mode
n − 2
Match detect
fs/2
4
;
;
;
;
;
;
n − 1
Enables INTTC2 interrupt
Starts TC2
Enables INTTC2 interrupt
Starts TC2
Sets TREG2
Sets TREG2 (120 ms ÷ 2
n
0
Counter clear
1
2
3
TMP88CU74
14
2007-10-19
2003-02-17
/fc = 0056H)

Related parts for tmp88cu74