m3819 Renesas Electronics Corporation., m3819 Datasheet - Page 94

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.14 Control procedure [Clock function]
80
Control procedure :
Figure 2.2.14 shows a control procedure.
[Processing for completion of setting clock]
SEI
T12M
T34M
ICON1
ICON2
T1
T2
T3
T12M
CLI
T2
T3
IREQ2
Initialization
Main processing
Note : This processing is performed only
IREQ2 (Address:3D
IREQ2 (Address:3D
at completing to set the clock.
(Address:28
(Address:29
(Address:3E
(Address:3F
(Address:20
(Address:21
(Address:22
(Address:28
(Address:21
(Address:22
(Address:3D
Count up clock
Second–Year
Clock stop?
RESET
16
16
16
16
16
16
16
16
16
16
16
N
1
)
)
)
)
)
), bit0
)
)
), bit0
), bit6
), bit0
16
), bit0
16
), bit0?
00000001
00000100
64 – 1
256 – 1
16 – 1
3819 Group USER’S MANUAL
1
0
0
256 – 1
16 – 1
0
( Note)
0
2
2
Y
0
All interrupts : Disabled
Connect the Timers 1 to 3.
Timer 1 interrupt : Enabled
Set “division ratio – 1” to each timer.
Start the timer counting.
Interrupts : Enabled
Check if the clock has already been set.
Check a lapse of 1 second.
Set the Timer 3 interrupt request bit to
“0”. (When an interrupt is not used, set
to “0” by software.)
Count up the clock.
Specify so that all processing within the
loop marked
1 second or less in the main processing.
When restarting the clock from zero
second after completing to set the clock,
reset timers.
Reset the Timers 2 and 3 in this order.
However, the Timer 1 should not be
reset since it is used to generate an
interrupt every 244 s.
is repeated in a cycle of
MITSUBISHI MICROCOMPUTER
3819 Group
2.2 Timer

Related parts for m3819