m3819 Renesas Electronics Corporation., m3819 Datasheet - Page 99

no-image

m3819

Manufacturer Part Number
m3819
Description
Mitsubishi 8-bit Single-chip Microcomputer 740 Family / 38000 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
m38197EAFP
Manufacturer:
QFP
Quantity:
20 000
Part Number:
m38197MA-160FP
Manufacturer:
RENESAS
Quantity:
4
Part Number:
m38197MAA-608FP
Manufacturer:
MIT
Quantity:
136
Part Number:
m38197MAA-608FP
Manufacturer:
MIT
Quantity:
1 000
Part Number:
m38197MAA-608FP
Manufacturer:
MIT
Quantity:
20 000
Part Number:
m38197MAA-625FP
Manufacturer:
SEMTECH
Quantity:
300
Part Number:
m38197MAA-639FP
Manufacturer:
RENESAS
Quantity:
756
Part Number:
m38198MCA-834FP
Manufacturer:
RENESAS
Quantity:
52
Part Number:
m38199MF-065FP
Manufacturer:
MITSUBISHI
Quantity:
20 000
Part Number:
m38199MF-205FP
Manufacturer:
MITSUBISHI
Quantity:
20 000
Part Number:
m38199MF-289FP
Manufacturer:
MITSUSHITA
Quantity:
20 000
2. APPLICATION
Fig. 2.2.21 Control procedure [Measurement of frequency]
Control procedure :
Figure 2.2.21 shows a control procedure.
1
SEI
T12M
T34M
ICON1
ICON2
T1
T12M
CLI
T4
IREQ2
Initialization
Timer 1 interrupt processing routine
Processing for a result of judgment
IREQ2 (Address:3D
(A)
(Address:28
(Address:29
(Address:3E
(Address:3F
(Address:20
(Address:28
(Address:23
(Address:3D
214
FSync
<
T4 (Address:23
RESET
(A)
RTI
~ ~
16
16
16
16
16
16
16
16
0
1/8
<
)
)
)
), bit0
)
), bit7
), bit6
), bit1
Out of range
228?
0
16
), bit1?
00000001
00100000
16
)
1
0
64 – 1
0
256 – 1
0
3819 Group USER’S MANUAL
2
2
In range
All interrupts : Disabled
Select the input pulse from the CNTR
pin as the Timer 4 count source.
Timer 1 interrupt : Enabled
Set the division ratio so that the Timer
1 interrupt occurs every 244 s.
Start a timer counting.
Interrupts : Enabled
Set so that the processing Synchro-
nizing signal judgment is performed
every time eight Timer 1 interrupts
occur.
When the count value is 256 or more,
the processing is performed as out of
range.
Read the count value.
Store the count value in the accumu-
lator (A).
Initialize the count value.
Set the Timer 4 interrupt request bit to
“0”.
FSync
Compare the count value read with the
reference value.
Store the comparison result in flag FSync.
1
MITSUBISHI MICROCOMPUTER
3819 Group
1
2.2 Timer
85

Related parts for m3819