參數(shù)資料
型號: S1C60N01F
元件分類: 微控制器/微處理器
英文描述: 4-BIT, MROM, 0.08 MHz, MICROCONTROLLER, PQFP48
封裝: PLASTIC, QFP12-48
文件頁數(shù): 42/153頁
文件大?。?/td> 901K
代理商: S1C60N01F
II-48
EPSON
S1C60N01 TECHNICAL SOFTWARE
CHAPTER 3: PERIPHERAL CIRCUITS (Interrupt and Halt)
Interruption vector routine
Label
Mnemonic/operand
Comment
ORG
100H
JP
INIT
JP
INTR
;Timer interrupt is generated
JP
INTR
JP
INTR
JP
INTR
;K00 to K03 interrupt is generated
JP
INTR
;Timer interrupt, K00 to K03 interrupt
;
are generated
;
INTR:
LD
X,0EFH
;Address of timer interrupt factor flag
LD
Y,TMFSK
;Address of timer interrupt factor flag buffer
LD
MY,MX
FAN
MY,0100B ;Check 2 Hz timer interrupt
JP
Z,TI8RQ
;Jump if not 2 Hz timer interrupt
CALL
TINT2
;Call 2 Hz timer interrupt service routine
TI8RQ:
LD
Y,TMFSK
;Address of timer factor flag buffer
FAN
MY,0010B ;Check 8 Hz timer interrupt
JP
Z,TI32RQ ;Jump if not 8 Hz timer interrupt
CALL
TINT8
;Call 8 Hz timer interrupt service routine
Restart from halt state by interrupt
Main routine
Label
Mnemonic/operand
Comment
LD
X,0E8H
;Set address of K00 to K03
;interrupt mask register
OR
MX,1111B
;Enable K00 to K03
;input interrupt
;
LD
X,0EBH
;Set address of timer interrupt
;mask register
OR
MX,0111B
;Enable timer interrupt
;(32 Hz, 8 Hz, 2 Hz)
MAIN:
EI
;Set interrupt flag (EI state is set)
HALT
;Halt mode
JP
MAIN
;Jump to MAIN
Examples of interrupt
and halt control
program
相關(guān)PDF資料
PDF描述
S1C60N02D 4-BIT, MROM, 0.08 MHz, MICROCONTROLLER, UUC52
S1C60L02 4-BIT, MROM, 0.08 MHz, MICROCONTROLLER, PQFP60
S1C60N04D 4-BIT, MROM, 2 MHz, MICROCONTROLLER, UUC48
S1C60N08D 4-BIT, MROM, 0.032768 MHz, MICROCONTROLLER, UUC96
S1C60N08F0A0100 MICROCONTROLLER, PQFP100
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
S1C60N05 制造商:EPSON 制造商全稱:EPSON 功能描述:4-bit Single Chip Microcomputer
S1C60N08 制造商:EPSON 制造商全稱:EPSON 功能描述:4-bit Single Chip Microcomputer
S1C60N16 制造商:EPSON 制造商全稱:EPSON 功能描述:4-bit Single Chip Microcomputer
S1C60R08 制造商:EPSON 制造商全稱:EPSON 功能描述:4-bit Single Chip Microcomputer
S1C63004 制造商:EPSON 制造商全稱:EPSON 功能描述:CMOS 4-bit Single Chip Microcontroller