參數(shù)資料
型號(hào): S1C62920D
元件分類: 微控制器/微處理器
英文描述: 4-BIT, MROM, 1.3 MHz, MICROCONTROLLER, UUC63
封裝: DIE-63
文件頁(yè)數(shù): 21/78頁(yè)
文件大?。?/td> 874K
代理商: S1C62920D
20
EPSON
S1C62920 TECHNICAL MANUAL
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Input Ports)
EIK0: Interrupt mask register (F3HD0)
Masking the interrupt of the input port can be selected with this register.
When "1" is written:
Enable
When "0" is written:
Mask
Reading:
Valid
With this registers, masking of the input ports can be selected.
At initial reset, this register is set to "0".
IK0: Interrupt factor flag (FBHD0)
This flag indicates the occurrence of input interrupt.
When "1" is read:
Interrupt has occurred
When "0" is read:
Interrupt has not occurred
Writing:
Invalid
The interrupt factor flag IK0 is associated with K00–K03. From the status of this flag, the software can
decide whether an input interrupt has occurred.
This flag is set to "1" by generating the interrupt factor regardless of the interrupt mask register (EIK0)
setting.
Reading of interrupt factor flag is available at EI, but be careful in the following cases.
If the interrupt mask register value corresponding to the interrupt factor flag to be read is set to "1", an
interrupt request will be generated by the interrupt factor flag set timing, or an interrupt request will not be
generated.
This flag is reset when the software reads it.
At initial reset, this flag is set to "0".
4.4.5 Programming notes
(1) When input ports are changed from low to high by pull up resistor, the rise of the waveform is delayed
on account of the time constant of the pull up resistor and input gate capacitance. Hence, when fetching
input ports, set an appropriate wait time.
Particular care needs to be taken of the key scan during key matrix configuration.
Make this waiting time the amount of time or more calculated by the following expression.
Waiting time = RIN
× (CIN + load capacitance on board) × 1.6 [sec]
RIN: pull up resistance (Max. value)
CIN: terminal capacitance (Max. value)
(2) When the input comparison register (KCP00–KCP03) is set, the interrupt factor flag (IK0) may be set to
"1" depending on the status of the input port terminal. Consequently, when setting this register, do it in
the DI status (interrupt flag = "0") and then read the interrupt factor flag in order to reset.
(3) Reading of interrupt factor flag is available at EI, but be careful in the following cases.
If the interrupt mask register value corresponding to the interrupt factor flag to be read is set to "1", an
interrupt request will be generated by the interrupt factor flag set timing, or an interrupt request will
not be generated.
相關(guān)PDF資料
PDF描述
S1C62A33D 4-BIT, MROM, 0.6 MHz, MICROCONTROLLER, UUC86
S1C62N82F 4-BIT, MROM, 0.032 MHz, MICROCONTROLLER, PQFP80
S1C63158F0A0100 4-BIT, FLASH, 4.2 MHz, MICROCONTROLLER, PQFP100
S1C63358F0A0100 4-BIT, MROM, 4.1 MHz, MICROCONTROLLER, PQFP100
S1C63406F 4-BIT, MROM, 4.2 MHz, MICROCONTROLLER, PQFP128
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
S1C63004 制造商:EPSON 制造商全稱:EPSON 功能描述:CMOS 4-bit Single Chip Microcontroller
S1C63008 制造商:EPSON 制造商全稱:EPSON 功能描述:CMOS 4-bit Single Chip Microcontroller
S1C63016 制造商:EPSON 制造商全稱:EPSON 功能描述:CMOS 4-bit Single Chip Microcontroller
S1C63158 制造商:EPSON 制造商全稱:EPSON 功能描述:4-bit Single Chip Microcomputer
S1C63408 制造商:EPSON 制造商全稱:EPSON 功能描述:4-bit Single Chip Microcomputer