参数资料
型号: M38027M8-XXXSP
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, MICROCONTROLLER, PDIP64
封装: 0.750 INCH, 1.78 MM PITCH, SHRINK, PLASTIC, DIP-64
文件页数: 182/207页
文件大小: 2389K
代理商: M38027M8-XXXSP
第1页第2页第3页第4页第5页第6页第7页第8页第9页第10页第11页第12页第13页第14页第15页第16页第17页第18页第19页第20页第21页第22页第23页第24页第25页第26页第27页第28页第29页第30页第31页第32页第33页第34页第35页第36页第37页第38页第39页第40页第41页第42页第43页第44页第45页第46页第47页第48页第49页第50页第51页第52页第53页第54页第55页第56页第57页第58页第59页第60页第61页第62页第63页第64页第65页第66页第67页第68页第69页第70页第71页第72页第73页第74页第75页第76页第77页第78页第79页第80页第81页第82页第83页第84页第85页第86页第87页第88页第89页第90页第91页第92页第93页第94页第95页第96页第97页第98页第99页第100页第101页第102页第103页第104页第105页第106页第107页第108页第109页第110页第111页第112页第113页第114页第115页第116页第117页第118页第119页第120页第121页第122页第123页第124页第125页第126页第127页第128页第129页第130页第131页第132页第133页第134页第135页第136页第137页第138页第139页第140页第141页第142页第143页第144页第145页第146页第147页第148页第149页第150页第151页第152页第153页第154页第155页第156页第157页第158页第159页第160页第161页第162页第163页第164页第165页第166页第167页第168页第169页第170页第171页第172页第173页第174页第175页第176页第177页第178页第179页第180页第181页当前第182页第183页第184页第185页第186页第187页第188页第189页第190页第191页第192页第193页第194页第195页第196页第197页第198页第199页第200页第201页第202页第203页第204页第205页第206页第207页
APPLICATION
2.2 Timer
2-19
3802 GROUP USER’S MANUAL
Control procedure :
Figure 2.2.19 shows a control procedure.
Fig. 2.2.19 Control procedure [Measurement of frequency]
Timer 1 interrupt processing routine
RESET
IREQ1 (Address : 3C16), bit5?
Initialization
SEI
TM
PRE12
T1
PREY
TY
ICON1
TM
CLI
....
(Address : 2316)
(Address : 2016)
(Address : 2116)
(Address : 2616)
(Address : 2716)
(Address : 3E16), bit6
(Address : 2316), bit7
1110XXXX2
64–1
8–1
1–1
256–1
1
~
(A)
TY (Address : 2716)
TY
IREQ1
(Address : 2716)
(Address : 3C16), bit5
256 – 1
0
1
0
Fpulse
0
Fpulse
1
Processing for a result of judgment
RTI
Out of range
In range
Compare the count value read with the
reference value.
Store the comparison result in flag Fpulse.
q
CLT (Note 1)
CLD (Note 2)
Push register to stack
Note 1: When using the Index X mode flag (T).
Note 2: When using the Decimal mode flag (D).
q
Push the register used in the interrupt
processing routine into the stack.
Pop registers
X
q
: This bit is not used in this application.
Set it to “0” or “1.” It’s value can be disregarded.
0
q
Read the count value.
Store the count value in the accumulator (A).
q
Initialize the count value.
Set the Timer Y interrupt request bit to “0.”
q
When the count value is 256 or more, the
processing is performed as out of range.
q
All interrupts : Disabled
Timer Y : Event counter mode
(Count at falling edge of pulse input from CNTR1 pin)
Set the division ratio so that the Timer 1 interrupt
occurs every 2 ms.
Timer 1 interrupt : Enabled
q
Timer Y count : Start
Interrupts : Enabled
<
214
(A)
228?
Pop registers which is pushed to stack.
q
相关PDF资料
PDF描述
M38024M6-XXXSP 8-BIT, MROM, MICROCONTROLLER, PDIP64
M38034M4-XXXHP 8-BIT, MROM, 8.4 MHz, MICROCONTROLLER, PQFP64
M38037M8-XXXFP 8-BIT, MROM, 8.4 MHz, MICROCONTROLLER, PQFP64
M38034M4-XXXFP 8-BIT, MROM, 8.4 MHz, MICROCONTROLLER, PQFP64
M38044M4-XXXSP 8-BIT, MROM, 8.4 MHz, MICROCONTROLLER, PDIP64
相关代理商/技术参数
参数描述
M3802-BLACK-100 制造商:Alpha Wire 功能描述:
M3803 BK005 制造商:Alpha Wire 功能描述:CBL 5COND 18AWG BLK 100'
M38037M5H-175HP#U0 制造商:Renesas Electronics Corporation 功能描述:8BIT CISC - Trays
M38037M8108F 制造商:Panasonic Industrial Company 功能描述:IC
M38037M8H-194HP#U0 制造商:Renesas Electronics Corporation 功能描述:8BIT CISC - Trays