JPH10255590A - Switch system and its data fetching method - Google Patents

Switch system and its data fetching method

Info

Publication number
JPH10255590A
JPH10255590A JP9052823A JP5282397A JPH10255590A JP H10255590 A JPH10255590 A JP H10255590A JP 9052823 A JP9052823 A JP 9052823A JP 5282397 A JP5282397 A JP 5282397A JP H10255590 A JPH10255590 A JP H10255590A
Authority
JP
Japan
Prior art keywords
switch
data
low level
terminal
level
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9052823A
Other languages
Japanese (ja)
Inventor
Noriyuki Sakamoto
憲之 坂本
Hiroyuki Wada
博行 和田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kokusai Electric Corp
Original Assignee
Kokusai Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kokusai Electric Corp filed Critical Kokusai Electric Corp
Priority to JP9052823A priority Critical patent/JPH10255590A/en
Publication of JPH10255590A publication Critical patent/JPH10255590A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • Push-Button Switches (AREA)
  • Electronic Switches (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the number of control IC ports and fetch data with less number of terminals by setting to a low level one of a plurality of scan signal lines connected to an output terminal of a cord switch and a potential of an output signal line constituting a group by pushing down a push button switch. SOLUTION: One contact of four transversal switches 107 of a push button switch 107 of a key switch 106 is connected in common and is connected to terminals SW11 to 14 of an input port 104 through an output signal line. The other contact of the vertical four switches 107 is connected in common and is connected to an output of a cord switch 105, that is terminals SW15 to 18 of the input port 102. When the switch 107 is pressed, a terminal switch 11 of an input port 104 and a terminal SW15 of the input port 104 enter low level, and the switch 107 can be judged to have been pressed. Output ports of the four terminals can be reduced to an output port 103 of one terminal switching a level of a COM terminal of the cord switch 105.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、コードスイッチ及
びキースイッチからなるスイッチシステムと、そのシス
テムからのデータを制御用ICに取り込むためのデータ
取り込み方法に関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to a switch system including a code switch and a key switch, and a data acquisition method for acquiring data from the system into a control IC.

【0002】[0002]

【従来の技術】従来の、コードスイッチやキースイッチ
データを制御用ICへ取り込む方法の回路構成図を図2
に示す。図2で符号201は制御用IC、符号202は
コードスイッチの入力ポート、符号203はキースイッ
チのスキャン信号用の出力ポート、符号204はキース
イッチ用の入力ポート、符号205はコードスイッチ、
符号206はキースイッチ、符号207は押ボタンスイ
ッチである。コードスイッチ205は、SO1〜SO4
までの出力端子とグランドに接続されているCOM端子
(コモン端子)がある。出力端子SO1〜SO4のそれ
ぞれには、抵抗を通して電圧Vcc、例えば5Vが供給され
ているとともに、制御用IC201の入力ポート202
の端子SWI5〜SWI8に接続されている。この例の
コードスイッチ205は、16ポジションの切り替えス
イッチで、ポジション1では、コードスイッチ205の
端子SO1のみがCOMと同電位とされ、端子SO2〜
SO4はハイ出力インピーダンスでハイレベルに保たれ
ている。ポジション2では端子SO2のみがCOM端子
と同電位とされるというように、端子SO1〜SO4の
どれとどれがグランドレベル(ローレベル)になってい
るかで16通りの組み合わせをつくり、16のポジショ
ンスイッチに対応させる。入力ポート202では、入力
端子SWI5からSWI8のどの端子がグランドレベル
になっているかで、コードスイッチのデータを取り込ん
でいる。
2. Description of the Related Art FIG. 2 is a circuit diagram of a conventional method for loading code switch and key switch data into a control IC.
Shown in In FIG. 2, reference numeral 201 denotes a control IC, reference numeral 202 denotes an input port of a code switch, reference numeral 203 denotes an output port for a scan signal of a key switch, reference numeral 204 denotes an input port for a key switch, reference numeral 205 denotes a code switch,
Reference numeral 206 denotes a key switch, and reference numeral 207 denotes a push button switch. The code switch 205 includes SO1 to SO4
And a COM terminal (common terminal) connected to the ground. Each of the output terminals SO1 to SO4 is supplied with a voltage Vcc, for example, 5 V, through a resistor.
Are connected to the terminals SWI5 to SWI8. The code switch 205 in this example is a 16-position switch. In the position 1, only the terminal SO1 of the code switch 205 is set to the same potential as COM,
SO4 is kept at a high level with a high output impedance. In position 2, 16 combinations of terminals SO1 to SO4 and which are at the ground level (low level) are made such that only the terminal SO2 has the same potential as the COM terminal, and 16 position switches are provided. To correspond to. The input port 202 takes in the data of the code switch depending on which of the input terminals SWI5 to SWI8 is at the ground level.

【0003】キースイッチ206は、押ボタンスイッチ
207を16個、4×4のマトリックス状にして構成し
ている。各行は、入力ポート204のSWI1〜SWI
4端子に接続され、各列は出力ポート203の出力端子
SWS1〜SWS4に接続されている。図3に出力ポー
ト203のSWS1〜SWS4からの出力パルス波形を
示す。各端子には、図3に示すような周期4tのVccレベ
ル(ハイレベル)からグランドレベル(ローレベル)に
なるパルスを、位相を変えて出力している。制御用IC
201では、時間tごとに入力ポートSWI1〜SWI
4の端子をスキャンし、ローレベルの入力があれば、そ
のスキャン時間にどの出力ポートがらパルスが出力され
ていたかにより、どのキーが押されたかを検出する。た
とえばスイッチ207が押された場合には、出力端子S
WS1からパルスが出力された時間に入力端子SWI1
がローレベルになったことで、スイッチ207が押され
たと判定する。
[0003] The key switch 206 comprises 16 push-button switches 207 in a 4x4 matrix. Each row includes SWI1 to SWI of the input port 204.
Four columns are connected, and each column is connected to output terminals SWS1 to SWS4 of the output port 203. FIG. 3 shows output pulse waveforms from SWS1 to SWS4 of the output port 203. Each terminal outputs a pulse having a period of 4t from Vcc level (high level) to ground level (low level) with a different phase as shown in FIG. Control IC
At 201, the input ports SWI1 to SWI
The terminal 4 is scanned, and if there is a low level input, which key is pressed is detected according to which output port was outputting a pulse during the scan time. For example, when the switch 207 is pressed, the output terminal S
At the time when the pulse is output from WS1, the input terminal SWI1
Becomes low level, it is determined that the switch 207 has been pressed.

【0004】[0004]

【発明が解決しようとする課題】上記した従来の取り込
み方法では、16ポジションのコードスイッチと16個
のキースイッチのデータ入力のために、8個の入力端子
と4個の出力端子を制御用ICに設ける必要があった。
本発明の目的は、このポート数を削減し、より少ない数
の端子数でコードスイッチ及びキースイッチのデータ取
り込みが行えるようにしたスイッチシステムとそのデー
タ取り込み方法を提供することにある。
In the above-mentioned conventional fetching method, eight input terminals and four output terminals are connected to a control IC for data input of a 16-position code switch and 16 key switches. Had to be provided.
SUMMARY OF THE INVENTION It is an object of the present invention to provide a switch system and a data capturing method thereof, in which the number of ports is reduced and the data of a code switch and a key switch can be captured with a smaller number of terminals.

【0005】[0005]

【課題を解決するための手段】上記の目的を達成するた
めに、本発明は、複数のポジションボタンの1つが押下
されたときにその押下されたボタンに対応したいくつか
の出力端子の電位がそのCOM端子の電位となるように
構成されたコードスイッチと、その各々が前記コードス
イッチの出力端子と接続された複数のスキャン信号ライ
ンと、複数の出力信号ラインと、前記スキャン信号ライ
ンの1つと前記出力信号ラインの1つからなる組ごとに
設けられてそれが押下されたときには前記組を構成する
スキャン信号ライン及び出力信号ラインの双方の電位を
ローレベルとする機能を有した押しボタンスイッチとか
ら構成されたことを特徴とするスイッチシステムを提供
する。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention provides a method for controlling the potential of several output terminals corresponding to a pressed one of a plurality of position buttons when the button is pressed. A code switch configured to be at the potential of the COM terminal; a plurality of scan signal lines each connected to an output terminal of the code switch; a plurality of output signal lines; and one of the scan signal lines. A push button switch provided for each set of one of the output signal lines and having a function of setting the potentials of both the scan signal lines and the output signal lines constituting the set to a low level when it is pressed; And a switch system characterized by comprising:

【0006】また、本発明は、上記のスイッチシステム
からデータを取り込むためのデータ取り込み方法であっ
て、前記コードスイッチの出力端子及び前記キースイッ
チの出力信号ラインの各々を抵抗器を介してハイレベル
の電位を有する電源に接続しておくとともに、前記コー
ドスイッチからのデータの取り込みは、前記コードスイ
ッチのCOM端子をローレベルとし、前記キースイッチ
の出力信号ラインのいずれもがローレベルでないときの
前記コードスイッチの出力端子のどれとどれがローレベ
ルとなっているかを調べることにより行い、前記キース
イッチからのデータの取り込みは、前記COM端子をハ
イレベルとし、前記コードスイッチの出力端子の内の1
つと前記キースイッチの出力信号ラインのどの1つがロ
ーレベルとなっているかを調べることにより行うことを
特徴とするデータ取り込み方法を提供する。
According to the present invention, there is provided a data capturing method for capturing data from the switch system, wherein each of an output terminal of the code switch and an output signal line of the key switch is set to a high level via a resistor. In addition to being connected to a power supply having a potential of, the data fetching from the code switch is performed by setting the COM terminal of the code switch to a low level, and when none of the output signal lines of the key switch is at a low level. This is performed by checking which of the output terminals of the code switch and which are at the low level, and taking in the data from the key switch, the COM terminal is set to the high level, and one of the output terminals of the code switch is output.
And a method for acquiring data by checking which one of the output signal lines of the key switch is at a low level.

【0007】[0007]

【発明の実施の形態】以下、本発明の実施の形態を詳細
に説明する。図1は、本発明の回路構成図で符号101
は制御用IC、符号102はコードスイッチの入力ポー
ト、符号103はコードスイッチのCOM端子用の出力
ポート、符号104はキースイッチ用の入力ポート、符
号105はコードスイッチ、符号106はキースイッチ
で、符号107は押ボタンスイッチである。コードスイ
ッチ105には出力端子SO1〜SO4とCOM端子が
設けられている。出力端子SO1〜SO4のそれぞれに
は、抵抗を通して電圧Vcc、例えば5Vが供給されている
とともに、制御用IC101の入力ポート102の端子
SWI5〜SWI8に接続されている。COM端子は、
出力ポート103の端子SWS1に接続されている。コ
ードスイッチからのデータ入力時には、出力ポート10
3の出力をグランドレベル(ローレベル)にして、従来
の方法と同じようにデータの取り込みを行う。すなわ
ち、16ポジションのスイッチのどれが押下されたかに
対応して、コードスイッチ105の出力端子SO1〜S
O4の一つまたは複数がCOM端子と同電位とされる。
COM端子がグランドレベル(ローレベル)であれば、
まったく従来の方法と同じで、コードスイッチのデータ
が入力ポート102から取り込まれる。
Embodiments of the present invention will be described below in detail. FIG. 1 is a circuit configuration diagram of the present invention,
Is a control IC, reference numeral 102 is an input port of a code switch, reference numeral 103 is an output port for a COM terminal of the code switch, reference numeral 104 is an input port for a key switch, reference numeral 105 is a code switch, reference numeral 106 is a key switch, Reference numeral 107 denotes a push button switch. The code switch 105 is provided with output terminals SO1 to SO4 and a COM terminal. Each of the output terminals SO1 to SO4 is supplied with a voltage Vcc, for example, 5 V, through a resistor, and is connected to the terminals SWI5 to SWI8 of the input port 102 of the control IC 101. COM terminal is
The output port 103 is connected to the terminal SWS1. When data is input from the code switch, the output port 10
3 is set to the ground level (low level), and data is fetched in the same manner as in the conventional method. That is, the output terminals SO1 to SO of the code switch 105 correspond to which of the 16-position switches is pressed.
One or more of O4 has the same potential as the COM terminal.
If the COM terminal is at ground level (low level),
The code switch data is taken in from the input port 102 in exactly the same manner as in the conventional method.

【0008】一方、キースイッチ106は、押ボタンス
イッチ107と同じスイッチを16個、4×4のマトリ
ックス状にして構成している。各行は、横方向の4個の
押しボタンスイッチの一つの接点が共通に接続され、信
号出力ラインを通して入力ポート104の端子SWI1
〜SWI4の各端子に接続されている。一方、各列は、
縦方向の4個の押しボタンスイッチの他の一つの接点が
共通に接続され、コードスイッチ105の出力、すなわ
ち入力ポート102の端子SWI5〜SWI8に接続さ
れている。また、入力ポート104の端子SWI1〜S
WI4の各々には入力ポート102と同様に抵抗を通し
て電圧Vcc、たとえば5Vの電圧が供給されている。押し
ボタンスイッチの構成も従来方法のスイッチと若干異な
り、入力ポート104と接続された出力信号ラインと入
力ポート102に接続されたスキャン信号ラインの双方
をグランドレベル(ローレベル)に落とすスイッチであ
る。キースイッチ106からのデータの取り込みは、出
力ポート103の端子SWS1をハイレベル、すなわち
電圧Vccにして行う。出力ポート103の端子SWS1
がハイレベルであると、コードスイッチ105のCOM
端子がハイレベル、すなわち電圧Vccのレベルになるた
め、コードスイッチ105の出力端子SO1〜SO4
は、コードスイッチ105のポジションスイッチのどれ
が押下されたかに関係なく常時Vccのレベルとなる。こ
のとき押しボタンスイッチ107が押されると、入力ポ
ート104の端子SWI1と入力ポート102の端子S
WI5がローレベル、すなわちグランドレベルになる。
これにより、押しボタンスイッチ107が押されたと判
定する。すなわち、従来技術では、出力ポート203か
ら位相が異なるパルスを4種類送出して、そのパルスの
送出された時間でキースイッチ106のどの列の押しボ
タンスイッチが押されたかを判定したのに対し、本発明
では、入力ポート102のどの入力がローレベルになっ
たかで、キースイッチ106のどの列の押しボタンスイ
ッチが押されたかを判定する。これにより、従来の4端
子の出力ポート203を、コードスイッチ105のCO
M端子をハイレベルとローレベルに切り替えるための1
端子の出力ポート103に削減できる。
On the other hand, the key switch 106 comprises 16 switches, which are the same as the push button switch 107, in a 4 × 4 matrix. In each row, one contact point of four push button switches in the horizontal direction is commonly connected, and the terminal SWI1 of the input port 104 is connected through a signal output line.
To SWI4. On the other hand, each column
The other one contact point of the four push buttons in the vertical direction is commonly connected, and is connected to the output of the code switch 105, that is, the terminals SWI5 to SWI8 of the input port 102. Also, the terminals SWI1 to SWI of the input port 104
Each of WI4 is supplied with a voltage Vcc, for example, a voltage of 5 V through a resistor similarly to the input port 102. The configuration of the push button switch is slightly different from the switch of the conventional method, and is a switch for lowering both the output signal line connected to the input port 104 and the scan signal line connected to the input port 102 to the ground level (low level). The data is taken in from the key switch 106 by setting the terminal SWS1 of the output port 103 to a high level, that is, the voltage Vcc. Terminal SWS1 of output port 103
Is high, the COM of the code switch 105
Since the terminals are at the high level, that is, the level of the voltage Vcc, the output terminals SO1 to SO4 of the code switch 105
Is always at the Vcc level regardless of which of the position switches of the code switch 105 is pressed. At this time, when the push button switch 107 is pressed, the terminal SWI1 of the input port 104 and the terminal S
WI5 becomes low level, that is, ground level.
Thus, it is determined that the push button switch 107 has been pressed. That is, in the related art, four types of pulses having different phases are transmitted from the output port 203, and it is determined which row of the key switch 106 is pressed by the time at which the pulse is transmitted. In the present invention, it is determined which row of the key switch 106 has been pressed by which input of the input port 102 has become low level. As a result, the conventional four-terminal output port 203 is connected to the CO of the code switch 105.
1 for switching the M terminal between high level and low level
It can be reduced to the output port 103 of the terminal.

【0009】つぎに、コードスイッチ105とキースイ
ッチ106の検出のための出力ポート103の端子SW
S1の切り替え方法について説明する。第一の方法は、
図4に示すように、出力ポート103のSWS1の出力
を周期的にハイレベルとローレベルに切り替えて行う。
このときの制御フローを図5に示す。まず図1の制御I
C101の出力ポート103の端子SWS1から、図4
に示す周期パルスをコードスイッチ105のCOM端子
に送出する(STEP51)。次にそのパルスがローレベル
であるかを見て(STEP52)、ローレベルであれば(ST
EP52でYES)、入力ポート102の端子SWI5〜S
WI8のどれか一つでもローレベルになっているかを見
る(STEP53)。もしハイレベルならば(STEP53でN
O)、コードスイッチ105からの入力はなかったと判
断し、STEP52にもどる。もしローレベルならば(STEP
53でYES)、コードスイッチ105からの入力の可能
性があると判断し、COM端子をローレベルに保持し
(STEP54)、入力ポート104の端子SWI1〜SW
I4のどれかがローレベルになっているかをチェックす
る(STEP55)。ローレベルになっていると(STEP55
でYES)、コードスイッチ105でなくキースイッチ1
06が押されたのであると判断し、コードスイッチ10
5からのデータの取り込みを行わずにSTEP51にもど
る。もし端子SWI1〜SWI4のいずれもローレベル
になっていなければ(STEP55でNO)、コードスイッチ
105からのデータであると判断し、入力ポート102
の端子SWI5〜SWI8からデータを取り込む(STEP
56)。なお、STEP54でCOM端子をローレベルに保
持する(STEP54)のは、データ取り込み中に、出力ポ
ート103の端子SWS1からハイレベルのパルスが送
出され、COM端子がハイレベルになることを防ぐため
である。こうしてデータ取り込みが終われば、STEP51
にもどり、周期パルスをコードスイッチ105のCOM
端子に送出する処理にもどる。
Next, terminal SW of output port 103 for detecting code switch 105 and key switch 106
A method for switching S1 will be described. The first method is
As shown in FIG. 4, the output of the SWS1 of the output port 103 is periodically switched between a high level and a low level.
The control flow at this time is shown in FIG. First, the control I shown in FIG.
4 from terminal SWS1 of output port 103 of C101.
Is sent to the COM terminal of the code switch 105 (STEP 51). Next, it is determined whether the pulse is at a low level (STEP 52).
YES at EP52), terminals SWI5 to S of input port 102
It is checked whether any one of WI8 is at the low level (STEP 53). If high level (N in STEP53
O), it is determined that there is no input from the code switch 105, and the process returns to STEP52. If low level (STEP
53), it is determined that there is a possibility of an input from the code switch 105, the COM terminal is held at a low level (STEP 54), and the terminals SWI1 to SWI of the input port 104 are held.
It is checked whether any one of I4 is at the low level (STEP 55). When the level is low (STEP55
YES), key switch 1 instead of code switch 105
06 is determined to have been pressed, and the code switch 10
The process returns to STEP 51 without taking in the data from step 5. If none of the terminals SWI1 to SWI4 is low (NO in STEP 55), it is determined that the data is from the code switch 105, and the input port 102
Fetch data from the terminals SWI5 to SWI8 (STEP
56). The reason why the COM terminal is held at the low level in STEP 54 (STEP 54) is to prevent a high-level pulse from being sent from the terminal SWS1 of the output port 103 during data capture, and to prevent the COM terminal from going high. is there. When the data capture is completed, STEP 51
Return to the COM of the code switch 105
Return to sending to terminal.

【0010】STEP52で、COM端子がハイレベル、す
なわち出力ポート103の端子SWS1からの出力がハ
イレベルであれば(STEP52でNO)、入力ポート104
の端子SWI1〜SWI4のどれかがローレベルである
かを見る(STEP57)。もしローレベルがなければ(ST
EP57でNO)、キースイッチ106からの入力はないと
判断し、STEP51にもどる。ローレベルがあれば(STEP
57でYES)、キースイッチ106からの正しい入力が
あったと判断し、COM端子をハイレベルに保ち(STEP
58)、入力ポート104の端子SWI1〜SWI4と
入力ポート102の端子SWI5〜SWI8からデータ
を取り込む(STEP59)。ここでSTEP58でCOM端子
をハイレベルに保つ、すなわち出力ポート103の端子
SWS1からの出力をハイレベルに保持するのは、入力
ポート104の端子SWI1〜SWI4と入力ポート1
02の端子SWI5〜SWI8の双方からデータの取り
込み中に、COM端子がローレベルになるのを防ぐため
である。どのキースイッチが押されたかは、端子SWI
1〜SWI4と端子SWI5〜SWI8のどれがローレ
ベルになったかで判定する。取り込みが終われば、STEP
51にもどり、周期パルスをコードスイッチ105のC
OM端子に送出する。このようにすれば、コードスイッ
チ105、キースイッチ106のどちらが押されても正
しくデータを取り込むことができる。
In step 52, if the COM terminal is at the high level, that is, if the output from the terminal SWS1 of the output port 103 is at the high level (NO in step 52), the input port 104
It is checked whether any one of the terminals SWI1 to SWI4 is at a low level (STEP 57). If there is no low level (ST
(NO in EP57), it is determined that there is no input from the key switch 106, and the process returns to STEP51. If there is a low level (STEP
(YES at 57), it is determined that there is a correct input from the key switch 106, and the COM terminal is kept at high level (STEP 57).
58), data is fetched from the terminals SWI1 to SWI4 of the input port 104 and the terminals SWI5 to SWI8 of the input port 102 (STEP 59). Here, in step 58, the COM terminal is kept at the high level, that is, the output from the terminal SWS1 of the output port 103 is kept at the high level, because the terminals SWI1 to SWI4 of the input port 104 and the input port 1
This is to prevent the COM terminal from going low while data is being fetched from both of the terminals SWI5 to SWI8. Which key switch is pressed depends on the terminal SWI
Judgment is made based on which of the terminals 1 to SWI4 and the terminals SWI5 to SWI8 has become low level. After importing, STEP
Returning to 51, the periodic pulse is
Send to OM terminal. In this way, data can be correctly captured regardless of which of the code switch 105 and the key switch 106 is pressed.

【0011】つぎに、コードスイッチ105とキースイ
ッチ106の検出のための出力ポート103の端子SW
S1の切り替えるための第二の方法を説明する。図6は
そのフロー図で、まず、出力ポート103の端子SWS
1をローレベルにし、コードスイッチ105のCOM端
子をローレベルにする(STEP61)。つぎに入力ポート
102の端子SWI5〜SWI8のどれかがローレベル
になっているかを見る(STEP62)。もしローレベルに
なっていなければ(STEP62でNO)、コードスイッチ1
05もキースイッチ106も押されていないと判断し、
端子SWI5〜SWI8のどれかがローレベルになるか
の検出を続ける(STEP62のNOのループ)。もしどれか
の端子がローレベルになっていたら(STEP62でYE
S)、入力ポート104の端子SWI1〜SWI4のど
れかがローレベルになっているかを見る(STEP63)。
もしどれもがローレベルになっていなければ(STEP63
でNO)、コードスイッチ105が押されたと判断し、入
力ポート102の端子SWI5〜SWI8からデータを
取り込み(STEP66)、STEP62にもどる。STEP63
で、どれかがローレベルになっていれば、キースイッチ
106からの入力と判断し、出力ポート103の端子S
WS1をハイレベルにし、コードスイッチ105のCO
M端子をハイレベルにする(STEP64)。これは、入力
ポート102へのデータ入力を、コードスイッチ105
から不能にして、キースイッチ106のデータだけにす
るためである。そして、入力ポート104の端子SWI
1〜SWI4と入力ポート104の端子SWI5〜SW
I8からデータを取り込み(STEP65)、STEP61にも
どり、COM端子をローレベルにもどす。このようなC
OM端子のレベル切り替えで、コードスイッチ105、
キースイッチ106のどちらが押されても正しくデータ
を取り込むことができる。
Next, terminal SW of output port 103 for detecting code switch 105 and key switch 106
A second method for switching S1 will be described. FIG. 6 is a flow chart of the operation.
1 is set to low level, and the COM terminal of the code switch 105 is set to low level (STEP 61). Next, it is checked whether any of the terminals SWI5 to SWI8 of the input port 102 is at a low level (STEP 62). If it is not low (NO in STEP62), code switch 1
05 and the key switch 106 are not pressed,
The detection of whether any of the terminals SWI5 to SWI8 becomes low level is continued (NO loop of STEP62). If any terminal is low level (YE in STEP62)
S), it is checked whether any of the terminals SWI1 to SWI4 of the input port 104 is at a low level (STEP 63).
If none are low (STEP 63
NO), it is determined that the code switch 105 has been pressed, and data is fetched from the terminals SWI5 to SWI8 of the input port 102 (STEP 66), and the process returns to STEP 62. STEP63
If any of them is at the low level, it is determined that the input is from the key switch 106, and the terminal S of the output port 103 is
WS1 is set to high level, and CO of the code switch 105 is set.
Set the M terminal to high level (STEP 64). This means that data input to the input port 102 is
From the key switch 106 only. Then, the terminal SWI of the input port 104
1 to SWI4 and the terminals SWI5 to SW of the input port 104
The data is fetched from I8 (STEP 65), the process returns to STEP 61, and the COM terminal is returned to the low level. Such a C
By changing the level of the OM terminal, the code switch 105,
Whichever of the key switches 106 is pressed, data can be taken in correctly.

【0012】つぎに、コードスイッチ105とキースイ
ッチ106の検出のための出力ポート103の端子SW
S1の切り替えるための第三の方法を説明する。本方法
は、図5のフローで説明した、第一の方法と同様に、出
力ポートからは周期的なパルスを送出するが、そのパル
スは、ハイレベルの時間とローレベルの時間がほぼ同じ
であるようなパルスである。処理の概要は、パルスがロ
ーレベルになった時点から一度だけコードキー105か
らのデータ取り込みを行い、次はハイレベルになった時
点から一度だけキースイッチ106からのデータ取り込
みを行う。こおため、送出パルスの幅は、データ取り込
みが十分に行えるだけの時間を保証しておく。図7はこ
のときのフロー図で、まず、出力ポート103の端子S
WS1からデューティ50%に近い値のハイレベルとロ
ーレベルに切り替わるパルスを送出する(STEP71)。
つぎに、COM端子がローレベルであるかを見る(STEP
72)。ローレベルでなければ(STEP72でNO)、ロー
レベルになるまで待つ(STEP72のNOのループ)。ロー
レベルだったら(STEP72でYES)、つぎにCOM端子
がハイレベルになるかを待つ(STEP73のNOのルー
プ)。このようにするのは、つぎの処理を、ハイレベル
になったその時点でのみおこなわせるためである。ハイ
レベルになったら(STEP73でYES)、入力ポート10
4の端子SWI1〜SWI4のどれかがローレベルにな
っているかを見る(STEP74)。もしローレベルになっ
ていなければ(STEP74でNO)、キースイッチ106か
らの入力はなかったと判断し、コードスイッチ105か
らの入力を見るため、COM端子がローレベルになるの
を待つ(STEP76のNOのループ)。STEP74でもし端子
SWI1〜SWI4のどれかがローレベルであれば(ST
EP74でYES)、キースイッチ106からの入力と判断
し、入力ポート104の端子SWI1〜SWI4と入力
ポート104の端子SWI5〜SWI8からデータを取
り込み(STEP75)、次に、コードスイッチ105から
のデータの取り込みのためにCOM端子がローレベルに
なるのを待つ(STEP76のNOのループ)。COM端子が
ローレベルになれば(STEP76でYES)、入力ポート1
02の端子SWI5〜SWI8のどれかがローレベルに
なっているかを見る(STEP77)。どれもローレベルに
なっていなければ(STEP77でNO)、コードスイッチ1
05からの入力はないと判断し、キースイッチ106の
データ取り込みのためにSTEP73にもどり、COM端子
がハイレベルになるのを待つ(STEP73)。どれかがロ
ーレベルになっていれば(STEP77でYES)、つぎに入
力ポート104の端子SWI1〜SWI4のどれかがロ
ーレベルになっているかを見る(STEP78)。もしロー
レベルになっていると(STEP78でYES)、キースイッ
チ106からの入力と判断し、キースイッチ106のデ
ータ取り込みのためにSTEP73にもどり、COM端子が
ハイレベルになるのを待つ(STEP73)。どれもローレ
ベルになっていなければ(STEP78)、コードスイッチ
105からの入力と判断し、入力ポート102の端子S
WI5〜SWI8からデータを取り込み(STEP79)、
コードスイッチ105からのデータ取り込みを終了し、
キースイッチ106からのデータ取り込みのために、ST
EP73にもどり、COM端子がハイレベルになるのを待
つ。この繰り返しにより、コードスイッチ105とキー
スイッチ106のデータの取り込みを交互に切り替えて
行う。
Next, the terminal SW of the output port 103 for detecting the code switch 105 and the key switch 106
A third method for switching S1 will be described. In this method, as in the first method described with reference to the flowchart of FIG. 5, a periodic pulse is transmitted from the output port, and the pulse has a high-level time and a low-level time that are almost the same. Some kind of pulse. The outline of the processing is to take in data from the code key 105 only once from the time when the pulse goes low, and to take in data from the key switch 106 only once from the time when the pulse goes high. For this reason, the width of the transmission pulse is guaranteed to be long enough to take in data. FIG. 7 is a flowchart at this time. First, the terminal S of the output port 103 is
From WS1, a pulse that switches between a high level and a low level with a value close to 50% duty is transmitted (STEP 71).
Next, check whether the COM terminal is at low level (STEP
72). If the level is not low (NO in STEP 72), the process waits until the level becomes low (NO loop in STEP 72). If it is at low level (YES at STEP 72), then it waits until the COM terminal goes high (NO loop at STEP 73). This is because the next processing is performed only at the time when the level becomes high. When it goes high (YES in STEP 73), input port 10
It is checked whether any one of the terminals SWI1 to SWI4 is at a low level (STEP 74). If it is not low (NO in STEP 74), it is determined that there is no input from the key switch 106, and it waits for the COM terminal to go low to see the input from the code switch 105 (NO in STEP 76). Loop). If any of the terminals SWI1 to SWI4 is at low level in STEP 74 (ST74
(YES in EP74), it is determined that the input is from the key switch 106, and data is taken in from the terminals SWI1 to SWI4 of the input port 104 and the terminals SWI5 to SWI8 of the input port 104 (STEP 75). It waits for the COM terminal to become low level for taking in (NO loop of STEP76). If the COM terminal goes low (YES in STEP76), the input port 1
It is checked whether any one of the terminals SWI5 to SWI8 of 02 is at the low level (STEP 77). If none are low (NO in STEP77), code switch 1
It is determined that there is no input from the key switch 05, and the process returns to STEP 73 to capture the data of the key switch 106, and waits until the COM terminal goes high (STEP 73). If any of them is at low level (YES in STEP 77), it is checked whether any of the terminals SWI1 to SWI4 of the input port 104 is at low level (STEP 78). If it is at the low level (YES at STEP 78), it is determined that the input is from the key switch 106, and the process returns to STEP 73 to capture the data of the key switch 106, and waits for the COM terminal to go to the high level (STEP 73). . If none of them are at the low level (STEP 78), it is determined that the input is from the code switch 105, and the terminal S of the input port 102 is
Import data from WI5 to SWI8 (STEP 79)
Terminates data capture from code switch 105,
To capture data from the key switch 106, ST
Return to EP73 and wait for the COM terminal to go high. By this repetition, the data capture of the code switch 105 and the key switch 106 is alternately switched.

【0013】この第3の方法は、出力ポート103の端
子SWS1から送出されるパルスがハイレベルになった
時点から次にローレベルになるまでの間に一度だけキー
スイッチ106のデータを取り込み、ローレベルになっ
時点から次にハイレベルになるまでの間に一度だけコー
ドスイッチ105のデータを取り込むので、スイッチを
押している間に、少なくとも一回はパルスのハイレベル
への切り替えとローレベルの切り替えが行われる必要が
ある。そのため、出力ポート103の端子SWS1から
送出されるパルスは、データ取り込みに必要な時間より
長いパルス幅で、押しボタンスイッチが押されている時
間より短い周期であるほぼ50%のデューティである必
要がある。
In the third method, the data of the key switch 106 is fetched only once from the time when the pulse sent from the terminal SWS1 of the output port 103 goes to the high level to the time when the pulse goes to the next low level. Since the data of the code switch 105 is fetched only once from the time when the level changes to the next high level, the switching of the pulse to the high level and the switching of the low level at least once while pressing the switch are performed. Needs to be done. Therefore, the pulse transmitted from the terminal SWS1 of the output port 103 needs to have a pulse width longer than the time required for data capture and a duty of approximately 50%, which is a cycle shorter than the time during which the push button switch is pressed. is there.

【0014】以上、コードスイッチ105とキースイッ
チ106の検出のための出力ポート103の端子SWS
1の切り替えについて三つの方法を説明したが、フロー
の処理はデータの取り込みまでを記述し、それ以後の処
理、すなわちコードスイッチ105やキースイッチ10
6のどのスイッチが押されたかの論理については記述し
ていないが、図1から自明であろう。また、キースイッ
チの押しボタンスイッチが複数同時に押されることはな
いとして記述している。もし、複数ボタンが同時に押さ
れることがあり得る場合には、キースイッチからのデー
タ取り込み時に、入力ポート102または104の入力
端子が一つだけローレベルであるときだけデータを取り
込むようにすればよい。またフロー上では、一回スイッ
チが押されると、何回もそのデータの取り込みが行われ
るが、複数回、同一データが取り込まれる。従ってこれ
はデータの信頼性を高めるなどの処理に利用するように
してもよい。
As described above, the terminal SWS of the output port 103 for detecting the code switch 105 and the key switch 106
Although three methods have been described for switching 1, the flow processing describes up to data capture, and the subsequent processing, that is, the code switch 105 and the key switch 10
The logic of which switch 6 was pressed is not described, but will be apparent from FIG. Further, it is described that a plurality of push button switches of a key switch are not simultaneously pressed. If there is a possibility that a plurality of buttons may be pressed at the same time, it is sufficient to take in data only when only one input terminal of the input port 102 or 104 is at a low level at the time of taking in data from the key switch. . In the flow, when the switch is pressed once, the data is fetched many times, but the same data is fetched a plurality of times. Therefore, this may be used for processing such as enhancing the reliability of data.

【0015】なお、図1の構成において、コードスイッ
チの各出力端子は、キースイッチのどれかの押しボタン
スイッチが押下されたときに接地されてしまう。しか
し、コードスイッチは16個のポジションスイッチのど
れが押下されたかを4端子の出力で表現するために、エ
ンコーダなどのICで構成されていれば、その出力端子
がハイレベルとなっているときはハイ出力インピーダン
スである。従ってこれが押しボタンスイッチにより強制
的に接地されても、特に過電流が流れることはない。ま
た、コードスイッチが機械的スイッチで構成されている
場合には、コードスイッチの出力端子S01〜S04と
キースイッチとの間に、キースイッチ接地時の過電流を
保護するためのダイオードを挿入しておけばよい。ま
た、図1の構成ではコードスイッチが16ポジション、
キースイッチが4×4個の押しボタンスイッチからなる
ものとして説明したが、これはコードスイッチの出力端
子数がキースイッチのスキャン信号ラインの数より多け
れば、本発明が適用できることは明らかである。
In the configuration shown in FIG. 1, each output terminal of the code switch is grounded when any of the pushbutton switches of the key switch is pressed. However, when the code switch is constituted by an IC such as an encoder in order to represent which of the 16 position switches is pressed by the output of four terminals, when the output terminal is at a high level, High output impedance. Therefore, even if this is forcibly grounded by the push button switch, no overcurrent flows in particular. When the code switch is constituted by a mechanical switch, a diode for protecting an overcurrent when the key switch is grounded is inserted between the output terminals S01 to S04 of the code switch and the key switch. It is good. In the configuration of FIG. 1, the code switch has 16 positions,
Although the key switch has been described as being composed of 4 × 4 push-button switches, it is obvious that the present invention can be applied if the number of output terminals of the code switch is larger than the number of scan signal lines of the key switch.

【0016】[0016]

【発明の効果】本発明により、制御ICのポート数を削
減できる。このため以下のような効果が得られる。 (1)制御ICに端子数の少ないICが使用可能とな
る。また、同じICを使用する場合、ポートを他の制御
に流用できる利点が生じる。 (2)制御ICとスイッチは別の基板に搭載される場合
が多いが、この時、各基板をつなぐコネクタのピン数が
少ないものを選択でき、実装上有利である。 (3)ポートにつながる信号ラインが少なくなるので、
信号ラインの引き回しが容易になる。
According to the present invention, the number of ports of the control IC can be reduced. Therefore, the following effects can be obtained. (1) An IC having a small number of terminals can be used as a control IC. When the same IC is used, there is an advantage that the port can be used for another control. (2) In many cases, the control IC and the switch are mounted on different boards. At this time, a connector having a small number of pins for connecting the boards can be selected, which is advantageous in mounting. (3) Since the number of signal lines connected to the port is reduced,
Routing of signal lines is facilitated.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の回路構成図である。FIG. 1 is a circuit configuration diagram of the present invention.

【図2】従来技術の回路構成図である。FIG. 2 is a circuit configuration diagram of a conventional technique.

【図3】従来技術の出力ポートからの出力パルス波形を
示す図である。
FIG. 3 is a diagram showing an output pulse waveform from an output port according to the related art.

【図4】本発明の出力ポートからの出力パルス波形を示
す図である。
FIG. 4 is a diagram showing an output pulse waveform from an output port of the present invention.

【図5】コードスイッチとキースイッチからのデータ取
り込みの第一の切り替え方法のフロー図である。
FIG. 5 is a flowchart of a first switching method of taking in data from a code switch and a key switch.

【図6】コードスイッチとキースイッチからのデータ取
り込みの第二の切り替え方法のフロー図である。
FIG. 6 is a flowchart of a second switching method of data acquisition from a code switch and a key switch.

【図7】コードスイッチとキースイッチからのデータ取
り込みの第三の切り替え方法のフロー図である。
FIG. 7 is a flowchart of a third switching method for taking in data from a code switch and a key switch.

【符号の説明】[Explanation of symbols]

101 制御用IC 102 コードスイッチの入力ポート 103 コードスイッチのCOM端子用の出力ポート 104 キースイッチ用の入力ポート 105 コードスイッチ 106 キースイッチ 107 押ボタンスイッチ 201 制御用IC 202 コードスイッチの入力ポート 203 キースイッチ用の出力ポート 204 キースイッチ用の入力ポート 205 コードスイッチ 206 キースイッチ 207 押ボタンスイッチ DESCRIPTION OF SYMBOLS 101 Control IC 102 Code switch input port 103 Code switch COM terminal output port 104 Key switch input port 105 Code switch 106 Key switch 107 Pushbutton switch 201 Control IC 202 Code switch input port 203 Key switch Output port 204 for key switch Input port for key switch 205 Code switch 206 Key switch 207 Push button switch

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 複数のポジションボタンの1つが押下さ
れたときにその押下されたボタンに対応したいくつかの
出力端子の電位がそのCOM端子の電位となるように構
成されたコードスイッチと、 その各々が前記コードスイッチの出力端子と接続された
複数のスキャン信号ラインと、複数の出力信号ライン
と、前記スキャン信号ラインの1つと前記出力信号ライ
ンの1つからなる組ごとに設けられてそれが押下された
ときには前記組を構成するスキャン信号ライン及び出力
信号ラインの双方の電位をローレベルとする機能を有し
た押しボタンスイッチとから構成されたことを特徴とす
るスイッチシステム。
1. A code switch configured such that when one of a plurality of position buttons is pressed, the potential of some output terminals corresponding to the pressed button becomes the potential of the COM terminal. A plurality of scan signal lines each connected to the output terminal of the code switch, a plurality of output signal lines, and a set of one of the scan signal lines and one of the output signal lines are provided for each set. A switch system comprising: a push button switch having a function of setting the potentials of both the scan signal lines and the output signal lines constituting the set to a low level when pressed.
【請求項2】 請求項1に記載のスイッチシステムから
データを取り込むためのデータ取り込み方法であって、 前記コードスイッチの出力端子及び前記キースイッチの
出力信号ラインの各々を抵抗器を介してハイレベルの電
位を有する電源に接続しておくとともに、 前記コードスイッチからのデータの取り込みは、前記コ
ードスイッチのCOM端子をローレベルとし、前記キー
スイッチの出力信号ラインのいずれもがローレベルでな
いときの前記コードスイッチの出力端子のどれとどれが
ローレベルとなっているかを調べることにより行い、 前記キースイッチからのデータの取り込みは、前記CO
M端子をハイレベルとし、前記コードスイッチの出力端
子の内のどの1つと前記キースイッチの出力信号ライン
のどの1つがローレベルとなっているかを調べることに
より行うことを特徴とするデータ取り込み方法。
2. A data capturing method for capturing data from the switch system according to claim 1, wherein each of an output terminal of the code switch and an output signal line of the key switch is at a high level via a resistor. In addition to being connected to a power supply having a potential of, the data fetch from the code switch is performed by setting the COM terminal of the code switch to a low level, and when none of the output signal lines of the key switch is at a low level. This is performed by checking which of the output terminals of the code switch and which are at the low level.
A data capturing method, wherein the M terminal is set to a high level, and the method is performed by checking which one of the output terminals of the code switch and one of the output signal lines of the key switch are at a low level.
【請求項3】 データの入力待ち状態では前記コードス
イッチのCOM端子を一定周期でハイレベルとローレベ
ルに切り替え、 上記周期的レベル切り替えに伴い前記COM端子がロー
レベルとなった時に前記コードスイッチの出力端子の少
なくとも1つがローレベルであることが検出されると、
前記COM端子をローレベルに保持し、この状態で前記
コードスイッチからのデータの取り込みを行い、 前記入力待ち状態における周期的レベル切り替えに伴い
前記COM端子がハイレベルとなった時に、前記キース
イッチの出力信号ラインの1つがローレベルであること
が検出されると、前記COM端子をハイレベルに保持
し、この状態で前記キースイッチからのデータの取り込
みを行うことを特徴とする請求項2記載のデータ取り込
み方法。
3. In a data input waiting state, the COM terminal of the code switch is switched between a high level and a low level at a constant period, and when the COM terminal becomes a low level with the periodic level switching, the code switch of the code switch is turned off. When it is detected that at least one of the output terminals is at a low level,
The COM terminal is held at a low level, and in this state, data is taken in from the code switch. When the COM terminal goes to a high level with periodic level switching in the input waiting state, the key switch is turned off. 3. The device according to claim 2, wherein when one of the output signal lines is detected to be at a low level, the COM terminal is held at a high level, and in this state, data is taken in from the key switch. Data capture method.
【請求項4】 データの入力待ち状態では前記コードス
イッチのCOM端子をローレベルに保持し、この状態で
前記キースイッチの出力信号ラインのいずれもがハイレ
ベルであれば前記コードスイッチからのデータの取り込
みを行い、 前記COM端子がローレベルでかつ前記キースイッチの
出力信号ラインの1つがローレベルになったときは、前
記COM端子をハイレベルに保持し、この状態で前記キ
ースイッチからのデータの取り込みを行うことを特徴と
する請求項2記載のデータ取り込み方法
4. In a data input waiting state, the COM terminal of the code switch is held at a low level, and in this state, if any of the output signal lines of the key switch is at a high level, data from the code switch is transmitted. When the COM terminal is at a low level and one of the output signal lines of the key switch is at a low level, the COM terminal is held at a high level, and in this state, data from the key switch is transferred. 3. The data capturing method according to claim 2, wherein the capturing is performed.
【請求項5】 データの入力待ち状態で前記コードスイ
ッチのCOM端子を、一定周期でハイレベルとローレベ
ルに切り替えるとともに、そのハイレベルおよびローレ
ベルを保持する時間がデータ取り込みに必要な時間より
長くなるように設定し、 前記周期的レベル切り替えにともない前記COM端子が
ハイレベルとなって次にローレベルとなるまでの間に一
度だけ前記キースイッチからのデータ取り込みを行い、 前記周期的レベル切り替えにともない前記COM端子が
ローレベルとなって次にハイレベルとなるまでの間に一
度だけ前記コードスイッチからのデータ取り込みを行う
ようにしたことを特徴とする請求項2記載のデータ取り
込み方法。
5. In a data input wait state, the COM terminal of the code switch is switched between a high level and a low level at a constant period, and a time for holding the high and low levels is longer than a time required for data capture. In accordance with the periodic level switching, data is taken in from the key switch only once until the COM terminal goes to a high level and then goes to a low level. 3. The data capturing method according to claim 2, wherein the data capturing from the code switch is performed only once before the COM terminal goes low and then goes high.
JP9052823A 1997-03-07 1997-03-07 Switch system and its data fetching method Pending JPH10255590A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9052823A JPH10255590A (en) 1997-03-07 1997-03-07 Switch system and its data fetching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9052823A JPH10255590A (en) 1997-03-07 1997-03-07 Switch system and its data fetching method

Publications (1)

Publication Number Publication Date
JPH10255590A true JPH10255590A (en) 1998-09-25

Family

ID=12925583

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9052823A Pending JPH10255590A (en) 1997-03-07 1997-03-07 Switch system and its data fetching method

Country Status (1)

Country Link
JP (1) JPH10255590A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100316580B1 (en) * 1999-09-30 2001-12-12 이익재 Input-output port auto connection apparatus using a memory port connection system
KR100442370B1 (en) * 2002-07-25 2004-07-30 엘지전자 주식회사 Key scan apparatus and method for mobile communication terminal
JP2008311836A (en) * 2007-06-13 2008-12-25 Funai Electric Co Ltd Input device
CN112073070A (en) * 2020-09-22 2020-12-11 君凯迪科技(深圳)有限公司 Time-sharing dynamic transformation key position scanning method and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100316580B1 (en) * 1999-09-30 2001-12-12 이익재 Input-output port auto connection apparatus using a memory port connection system
KR100442370B1 (en) * 2002-07-25 2004-07-30 엘지전자 주식회사 Key scan apparatus and method for mobile communication terminal
JP2008311836A (en) * 2007-06-13 2008-12-25 Funai Electric Co Ltd Input device
CN112073070A (en) * 2020-09-22 2020-12-11 君凯迪科技(深圳)有限公司 Time-sharing dynamic transformation key position scanning method and system
CN112073070B (en) * 2020-09-22 2024-04-05 君凯迪科技(深圳)有限公司 Time-sharing dynamic transformation key position scanning method and system

Similar Documents

Publication Publication Date Title
US4335374A (en) Key discrimination circuit
US4843539A (en) Information transfer system for transferring binary information
NL8202579A (en) MICRO COMPUTER.
US20030193593A1 (en) X-y addressable CMOS APS with compact pixel pitch
GB2216312A (en) Keyboard scanner apparatus and method
JP2553753B2 (en) AD converter
US4004103A (en) Path-finding scheme for a multistage switching network
JPH10255590A (en) Switch system and its data fetching method
JP3068394B2 (en) Sensor system
US4113988A (en) Speech path packaging unit including controller containing shift register
KR100722279B1 (en) Key pad and its operating method of mobile communication terminal
KR0133866B1 (en) Semiconductor circuit for telephone
KR100442370B1 (en) Key scan apparatus and method for mobile communication terminal
CA1333924C (en) Keyboard
KR100219560B1 (en) Key scanning device using multiplexer or demultiplexer
US5818351A (en) Data transfer system
JP2001142620A (en) Keyboard
JPS6243209B2 (en)
SU1615696A1 (en) Data input device
KR19980074504A (en) Key Scan Processing Unit in Screen Splitter
KR970002300B1 (en) Control apparatus for injection moulding time
JPS6320951A (en) Image sensor
SU1339900A1 (en) Device for checking uniformly weighted code
KR900000112B1 (en) Reading method and circuit of keyboard's key inputing
SU1695266A1 (en) Multichannel device for program-simulated control