參數(shù)資料
型號(hào): M38002M4DXXXFP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP64
封裝: 14 X 14 MM, 0.80 MM PITCH, PLASTIC, QFP-64
文件頁數(shù): 135/174頁
文件大?。?/td> 1752K
代理商: M38002M4DXXXFP
2-14
3800 GROUP USER’S MANUAL
APPLICATION
2.2 Timer
Control procedure :
Figure 2.2.12 shows a control procedure.
Fig. 2.2.12 Control procedure [Clock function]
RESET
Initialization
SEI
TM
ICON1
PREX
TX
TM
CLI
....
(Address : 2316)
(Address : 3E16), bit4
(Address : 2416)
(Address : 2516)
(Address : 2316), bit3
XXXX1X002
1
256 – 1
0
q
X : This bit is not used in this application.
Set it to “0” or “1.” It’s value can be disregarded.
Timer X interrupt processing routine
CLT (Note 2)
CLD (Note 3)
Push register to stack
RTI
Y
N
Clock stop?
Clock count up (1/4 second-year)
Pop registers
Check if the clock has already been set.
Count up the clock.
Pop registers which is pushed to stack
Main processing
PREX
TX
IREQ1
....
(Address : 2416)
(Address : 2516)
(Address : 3C16), bit4
256 – 1
0
[Processing for completion of setting clock]
(Note 1)
Note 1: This processing is performed only
at completing to set the clock.
When restarting the clock from zero
second after completing to set the
clock, re-set timers.
q
Note 2: When using the Index X mode flag (T).
Note 3: When using the Decimal mode flag (D).
Push the register used in the interrupt
processing routine into the stack.
Timer X : Timer mode
Timer X interrupt : Enabled
Set “division ratio – 1” to the Prescaler X
and Timer X.
Timer X count : Operating
Interrupts : Enabled
All interrupts : Disabled
相關(guān)PDF資料
PDF描述
M38004E8-XXXSP 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PDIP64
M38004M8DXXXSP 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP64
M38002E4-XXXSP 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PDIP64
M38002E2-XXXSP 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PDIP64
M38002E4FS 8-BIT, UVPROM, 8 MHz, MICROCONTROLLER, CQCC64
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M38002M4-DXXXSP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER 740 FAMILY / 38000 SERIES
M38002M4-XXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38002M4-XXXFS 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38002M4-XXXHP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER
M38002M4-XXXSP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:8-BIT SINGLE-CHIP MICROCOMPUTER