TMP47C101 Toshiba Semiconductor, TMP47C101 Datasheet - Page 26

no-image

TMP47C101

Manufacturer Part Number
TMP47C101
Description
(TMP47C101 / TMP47C201) CMOS 4-bit Microcontroller
Manufacturer
Toshiba Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TMP47C101MG-JV45
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
Part Number:
TMP47C101PJ628
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
Part Number:
TMP47C101PJV91
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
TMP47C101/201
26/32
(3)
Example: To generate an overflow interrupt (at fc =
Pulse width measurement mode
In the pulse width measurement mode, the timer/
counter increments with the pulse obtained by sam-
pling the external pins (T2) by the internal pulse. As
shown in Figure 3-11, the timer/counter increments
Internal Pulse Rate
fc/2
fc/2
fc/2
fc/2
10
14
18
22
[Hz]
4MHz) by the TC1 after 100ms.
LD
ST
ST
ST
LD
OUT
LD
A
EICLR IL, 110111B ;
HL, #0F4H
#9, @HL+
#7, @HL+
#0EH, @HL+
A, #1000B
A, %OP1C
A, #0100B
EIR
Figure 3-11. Pulse Width Measurement Mode Timing Chart
;
:
;
Max. Setting Time
Table 3-3. Internal Pulse Rate Selection
2
2
2
2
TC1 E79
ting of the count
register)
OP1C 1000
EIR 0100
(enables interrupt)
EIF 1, IL
22
26
30
34
/fc [s]
3
H
B
(set-
0
B
Calculating the preset value of the count register
Internal Pulse Rate
The preset value of the count register is obtained from
the following relation
2
For example, to generate an overflow interrupt after
100ms at fc = 4MHz with the internal pulse rate of fc/
2
preset value:
2
only while the external pin input is high. The maximum
applied frequency to the external pin input must be
one that is enough for analyzing the count value. Nor-
mally, a frequency sufficiently slower than the internal
pulse rate setting is applied to the external pin.
4096 [Hz]
12
10
12
256
16
1
, set the following value to the count register as the
- (interrupt setting time) x (internal pulse rate)
- (100 x 10
Example: At fc = 4.194304MHz
-3
) x (4 x 106/2
TOSHIBA CORPORATION
10
Max. Setting Time
) = 3705 = E79
4096
256
16
1 [s]
H

Related parts for TMP47C101