參數(shù)資料
型號: S1C60N01F
元件分類: 微控制器/微處理器
英文描述: 4-BIT, MROM, 0.08 MHz, MICROCONTROLLER, PQFP48
封裝: PLASTIC, QFP12-48
文件頁數(shù): 43/153頁
文件大?。?/td> 901K
代理商: S1C60N01F
S1C60N01 TECHNICAL SOFTWARE
EPSON
II-49
CHAPTER 3: PERIPHERAL CIRCUITS (Interrupt and Halt)
TI32RQ:
LD
Y,TMFSK
;Address of timer factor flag buffer
FAN
MY,0001B ;Check 8 Hz timer interrupt
JP
Z,IK0RQ
;Jump if not 32 Hz timer interrupt
CALL
TINT32
;Call 32 Hz timer interrupt service routine
IK0RQ:
LD
X,0EDH
;Address of K00 to K03 input interrupt flag
FAN
MX,0001B ;Check K00 to K03 input interrupt
JP
Z,INTEND ;Jump if not K00 to K03 input interrupt
CALL
IK0INT
;Call K00 to K03 input interrupt service
;routine
INTEND:
EI
RET
The above program is normally used to restart the CPU
when in the halt state by interrupt and to return it to the
halt state again after the interrupt processing is completed.
The processing proceeds by repeating the
→ halt interrupt
→ halt → interrupt cycle.
The interrupt factor flag is reset when load by the software.
Thus, when using interrupts which interrupt factor flags are
in the same address at the same time, flag check must be
done after storing the data. For example, store the 1 word
including the factor flag in the RAM. (If check is directly
done by the FAN instruction, the factor flags of the same
address are all reset.)
Reading of interrupt factor flags is available at EI, but be
careful in the following cases.
If the interrupt mask register value corresponding to the
interrupt factor flags to be read is set to "1", an interrupt
request will be generated by the interrupt factor flags set
timing, or an interrupt request will not be generated.
相關(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