參數(shù)資料
型號: S1C6P366D0A0100
元件分類: 微控制器/微處理器
英文描述: 4-BIT, FLASH, 4.1 MHz, MICROCONTROLLER, UUC102
封裝: DIE-102
文件頁數(shù): 38/84頁
文件大小: 1740K
代理商: S1C6P366D0A0100
S1C6P366 TECHNICAL MANUAL
EPSON
33
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Input Ports)
This chart is an example of the circuit that discriminates the pressed key with only two wires connected
between the MCU chip and the key set. It is useful to reduce the connection wires when the key set
location is far from the MCU chip.
Operation: The keys are connected to the ground via a resistor that is different from other keys. So each
key will generate a different voltage for inputting to the A/D converter.
Pressing a key generates an interrupt to the MCU. The interrupt turns the transistor on using
the output port and starts A/D conversion. The MCU can discriminate the pressed key using
the digital value converted by the A/D converter.
4.4.5 Programming notes
(1) When input ports are changed from low to high by pull-up resistors, 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 waiting 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.
10
× C × R
C: terminal capacitance 5 pF + parasitic capacitance ? pF
R: pull-up resistance 300 k
(2) The K13 terminal functions as the clock input terminal for the programmable timer, and the input
signal is shared with the input port and the programmable timer. Therefore, when the K13 terminal is
set to the clock input terminal for the programmable timer, take care of the interrupt setting.
(3) After an interrupt occurs, the same interrupt will occur again if the interrupt enabled state (I flag =
"1") is set or the RETI instruction is executed unless the interrupt factor flag is reset. Therefore, be sure
to reset (write "1" to) the interrupt factor flag in the interrupt service routine before shifting to the
interrupt enabled state.
相關(guān)PDF資料
PDF描述
S1C6P466D0A0A00 MICROCONTROLLER, UUC140
S1C6S2L7D 4-BIT, MROM, 0.032 MHz, MICROCONTROLLER, UUC58
S1C6S2A7F 4-BIT, MROM, 0.08 MHz, MICROCONTROLLER, PQFP60
S1C6S2B7F 4-BIT, MROM, 0.08 MHz, MICROCONTROLLER, PQFP60
S1C6S2N7D 4-BIT, MROM, 0.08 MHz, MICROCONTROLLER, UUC58
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
S1C-6-S 制造商:GRIPCO 功能描述:
S1C7309X 制造商:SAMSUNG 制造商全稱:Samsung semiconductor 功能描述:B/W CCD PROCESSOR
S1C7309X01 制造商:SAMSUNG 制造商全稱:Samsung semiconductor 功能描述:B/W CCD PROCESSOR
S1C88349 制造商:EPSON 制造商全稱:EPSON 功能描述:8-bit Single Chip Microcomputer
S1C88649 制造商:EPSON 制造商全稱:EPSON 功能描述:8-bit Single Chip Microcomputer