JPS5960534A - Key input control device - Google Patents
Key input control deviceInfo
- Publication number
- JPS5960534A JPS5960534A JP57170259A JP17025982A JPS5960534A JP S5960534 A JPS5960534 A JP S5960534A JP 57170259 A JP57170259 A JP 57170259A JP 17025982 A JP17025982 A JP 17025982A JP S5960534 A JPS5960534 A JP S5960534A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- output
- processing device
- keyboard
- repeat
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/0227—Cooperation and interconnection of the input arrangement with other functional units of a computer
Abstract
Description
【発明の詳細な説明】
〔発明の分野〕
この発明は、千−人力制御装置に関し、特にtルフリピ
ート機能を簡単に実現できるキー人力制御装置に関する
。DETAILED DESCRIPTION OF THE INVENTION [Field of the Invention] The present invention relates to a human-powered control device, and more particularly to a human-powered control device that can easily implement a t-key repeat function.
従来、キーボード装置においてヤルフリピート機能、即
ち複数の千−スイッチの中で特定のキースイッチデータ
が連続的に押されている状態にある場合、このキースイ
ッチのコード化された信号を予め定められた所定の時間
間隔で繰返し入力する機能は、複2“11′な・・−ド
ウニア病成により実現されていた。従って、多ぐの・・
−ドウエアが必要となりコストアップの欠点があった。Conventionally, when a keyboard device has a repeat function, that is, when a specific key switch data is continuously pressed among a plurality of switches, the coded signal of this key switch is transmitted to a predetermined value. The function of repeatedly inputting data at time intervals of
-There was a drawback of increased costs as additional hardware was required.
〔発明の目的]
この発明の目的は上述の如き欠点を除去し、マイクロプ
ロセッサのファームウェア制御11により簡単にセルフ
リピート制御が行なえるキー人力制御装@を提供するこ
とにある、
〔発明の実施例〕
以下、この発明の一実施例を図面を参照し説明する。[Object of the Invention] An object of the present invention is to eliminate the above-mentioned drawbacks and to provide a key manual control device that can easily perform self-repeat control using the firmware control 11 of a microprocessor. [Embodiments of the Invention] ] Hereinafter, one embodiment of the present invention will be described with reference to the drawings.
この発明の一実施例を示す第1図において、1はキーボ
ードコントローラであり、このキーホードコントローラ
lから一定周期で出力されるスキャンts 号2 rr
デコーダ3に1つてデコードされスキャン(2号4 a
+ 4bとなってキーホード5に入力きれる。、−P
−ホード5はマトリックスの交点上に千−スイッチ61
1.612.・・6mnが設けられ、リターン1M号7
a 、 7 bがキーホードコントローラlに転送さ
れる。ここでスキャン信号4B、リターン信号7aは他
のスキャン信号4b1 リターン信47.と区別するた
めに示したもので、この実栴例でu、l記信号4 a
+ 7 aの交点となるキースイッチ611カセルフリ
ピートキーとして取扱つこととしている。キーボード5
の千−スイッチが押されると、リターン信号に応答しキ
ーボードコントローラlから処理装置(マイクロブロヤ
ツサ)に割込み信号8が入力される1、また割込み信号
8はワンショット回路工1にも入力される。フリップフ
ロップエ3はキーボード5からのリターン信号7aによ
ってセットされ、また、ワンショット回路11からの出
力信号12にリセットされると共に、1出力1h号がイ
ンバータ15を介して処理装置■0に転送される。In FIG. 1 showing an embodiment of the present invention, reference numeral 1 denotes a keyboard controller, and a scan ts No. 2 rr is output from the keyboard controller l at a constant period.
One is decoded and scanned by decoder 3 (No. 2 4 a
It becomes +4b and can be input into the keychain 5. ,-P
- hold 5 on the intersection of the matrix - switch 61
1.612. ...6mn is provided, return 1M No. 7
a, 7b are transferred to the keychain controller l. Here, the scan signal 4B and return signal 7a are other scan signals 4b1, return signal 47. This is shown to distinguish from the signals 4a and 4a in this practical example.
The key switch 611 at the intersection of +7a is treated as a repeat key. keyboard 5
When the 1,000-switch is pressed, an interrupt signal 8 is input from the keyboard controller 1 to the processing device (micro-brouter) in response to the return signal 1, and the interrupt signal 8 is also input to the one-shot circuit 1. . The flip-flop 3 is set by the return signal 7a from the keyboard 5, and is also reset to the output signal 12 from the one-shot circuit 11, and the 1st output 1h is transferred to the processing device 0 via the inverter 15. .
このような構成において、その動作を第2図(Al−(
Flのタイムチャートを参照して説明する。In such a configuration, its operation is shown in Figure 2 (Al-(
This will be explained with reference to the time chart of Fl.
先ず、キーホードコントローラLから所定の周期で走f
信号2が繰返し出力され、デコーダ3からキーホード5
に設けられている各キースイッチ列(611,621,
−、6ml ) 、 (612,622,=−、6m2
)。First, the keyboard controller L runs f at a predetermined period.
Signal 2 is repeatedly output from decoder 3 to keychain 5.
Each key switch row (611, 621,
-, 6ml), (612,622,=-,6m2
).
−= 、 (61n、 62n・= 、 6mn )
f走置するfh号4a。-=, (61n, 62n・=, 6mn)
FH No. 4a moving.
4bが出力され、各キースイッチの入力状聾が絶えず検
査されている。しかして、例えばキースイッチ611が
押感れた場合、スキャン信号4a(第2図A)に対し千
−ホード5のリターン信号7aが第2図(B)に示す如
く出力バルクが現われたとする。この時、キーボードコ
ントローラ1から処理@置用に対して割込要求信号8C
第2図C)を出力すると共に、データライン16を介し
て押下されたキーのコード情報が出力される。フリップ
フロップ13は千−ボード5からのリターン信号7aに
より1度でット(時刻T。)されるが割込要求信号8が
出力されワンショット回路11から第21又(D)に示
す[言芸12が出力されている間は、フリップフロップ
13は第21欠)(F)の通りリセット(時刻TL)さ
れる。4b is output, and the input status of each key switch is constantly checked. Suppose that, for example, when the key switch 611 is pressed, an output bulk appears as shown in FIG. 2(B) in response to the scan signal 4a (FIG. 2A) in the return signal 7a of the thousand-hold 5. At this time, an interrupt request signal 8C is sent from the keyboard controller 1 to the processing @
C) in FIG. 2 is output, and at the same time, the code information of the pressed key is output via the data line 16. The flip-flop 13 is turned off once (at time T) by the return signal 7a from the board 5, but the interrupt request signal 8 is output and the one-shot circuit 11 outputs the signal shown in the 21st gate (D). While the signal 12 is being output, the flip-flop 13 is reset (time TL) as shown in the 21st section (F).
ワンショット回路L2はセルフリピートが働き始めるま
での時間を設定するもので、通常0.5秒前後の時間幅
が選ばitている。しかして、ワンショット回路Ilの
動作が終了すると、フリップ70ツブf3はキーボード
5からのリターン信号7aKより再び一ヒツトする(時
刻T2)。キースイッチ611が連続して押さね、てい
ると、フリッグフロツブエ3が再びセットされる〜
一方、フリップ70クプ13の出力信号はインバータ1
5を経て処理装置10に入力され、一定周期で出力信号
【6の状態を監視している。なお、監視固JtJItj
セルフリピートの繰返し周期に相当する。従って、フリ
ップフロップ13が再びでツトされていれば、処理装置
10はでルアリピートと判断し第2図(力如示した出力
信号■4によりフリップ70ノフエ3をりセット(時刻
T3)する。そして、引き続きリターン信号7aが存在
するならばフリップフロップJ3は再びセット〔時刻T
4)され、その出力信号16により処理袋@IOがでル
アリピートと判断するト再ヒフリップフロップ13をり
セット(時刻T5)する。この動作は信号7aが出力さ
れている間、繰返し実行される。一方牛一ホード5から
のリターン信号7aが途中で中断された場合、あるいは
他のキースイッチが押された場合には、キーボードコン
)o−ラ1から処理装買用に割込要求信号8が出力され
、ワンショット回路11が起動されるので7リツプ70
ツブエ3は強制的にリセット状態に設定される。従って
、ワンショット回路11の動作期間の間ではセルフリピ
ートの処理は行なわれない。The one-shot circuit L2 sets the time until the self-repeat starts working, and a time width of about 0.5 seconds is usually selected. When the operation of the one-shot circuit Il is completed, the flip 70 block f3 receives one hit again from the return signal 7aK from the keyboard 5 (time T2). If the key switch 611 is not pressed continuously, the flip float 3 is set again~ On the other hand, the output signal of the flip 70 cup 13 is
5 and is input to the processing device 10, and the state of the output signal [6 is monitored at regular intervals. In addition, the monitoring station JtJItj
Corresponds to the repetition period of self-repeat. Therefore, if the flip-flop 13 is turned off again, the processing device 10 determines that it is a repeat, and resets the flip-flop 70 (time T3) by the output signal (4) shown in FIG. , if the return signal 7a continues to exist, the flip-flop J3 is set again [time T
4) The output signal 16 causes the processing block @IO to determine that the loop is a repeat, and then resets the flip-flop 13 (time T5). This operation is repeatedly executed while the signal 7a is being output. On the other hand, if the return signal 7a from the Gyuichi hoard 5 is interrupted midway, or if another key switch is pressed, an interrupt request signal 8 is sent from the keyboard controller 1 to the processing device. Since the one-shot circuit 11 is activated, 7 rip 70 is output.
Tsubue 3 is forcibly set to the reset state. Therefore, self-repeat processing is not performed during the operation period of the one-shot circuit 11.
以上説明したように、この発明の七−人力制御装置によ
れば、少量の回路を追加するだけで容易にセルフリピー
ト処理が実」でき経済的である。As explained above, according to the human-powered control device of the present invention, self-repeat processing can be easily realized by adding a small amount of circuitry, and it is economical.
また、マイクロプロでツサ全利用したファームウェア制
机を利用しているので、リピート回数や繰返し周期の設
定に制限がなく、そj、ら金ダイナミックに変更するこ
とができる。In addition, since it uses the firmware system fully utilized in MicroPro, there are no restrictions on the number of repeats or the repetition period, which can be changed dynamically.
第1図はこの1発明を適用したキー人力制御装置の一実
施例を示す構成図、第zfml(A)〜(F)はそれぞ
れその動作例f:示すタイムチャートである。
1・・・走査装N、3・・・デコーダ、5・・・キーボ
ード、611、612.・・・、 6mn・・・千−ス
イッチ、10・・・処理装置(マイクロプロセッサ)、
11・・・ワンショット回路、【3・・・フリップ70
ツブ。FIG. 1 is a block diagram showing an embodiment of a key manual control device to which this invention is applied, and zfml(A) to zfml(F) are time charts showing an example of its operation. 1...Scanning device N, 3...Decoder, 5...Keyboard, 611, 612. ..., 6mn...1,000-switch, 10...processing device (microprocessor),
11... One-shot circuit, [3... Flip 70
Whelk.
Claims (1)
8号を出力し、前記キースイッチからの応答信号を受信
するキーホードコントローラと、a、@記応答18号に
基づき前記キーホードコントローラから出力される割込
信号およびコード信号を受信する処理装置と、 d、でルフリピートキーの前記応答信号によりセットさ
れ、fdi記割込信号が出力されて所定時rfJl後に
リヱットされるフリツブフロラフト、e前記フリラフフ
ロツブの出力信号を111記処理装置にIJl、給する
手段と、 を具備し、前記処理装置は前記フリップフロップの出力
信号により1ルフリピートと判断することを特徴とする
千−人力制御装置。[Claims] a. a plurality of thousand-switches, and br\r! Scan 1 for row or column of keyswitch
a keychain controller that outputs a response signal No. 8 and receives a response signal from the key switch; and a processing device that receives an interrupt signal and a code signal output from the keychain controller based on response response No. , d, a frit-tub float float which is set by the response signal of the repeat key, outputs the fdi interrupt signal, and resets after a predetermined time rfJl; 1,000,000-manpower control device, characterized in that the processing device determines 1 ref repeat based on the output signal of the flip-flop.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP57170259A JPS5960534A (en) | 1982-09-29 | 1982-09-29 | Key input control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP57170259A JPS5960534A (en) | 1982-09-29 | 1982-09-29 | Key input control device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS5960534A true JPS5960534A (en) | 1984-04-06 |
Family
ID=15901618
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP57170259A Pending JPS5960534A (en) | 1982-09-29 | 1982-09-29 | Key input control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS5960534A (en) |
-
1982
- 1982-09-29 JP JP57170259A patent/JPS5960534A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR970049288A (en) | Reset device and method of central processing unit | |
KR970071218A (en) | Serial communication port switching circuit | |
EP0247380A3 (en) | Data display-controlling device for data-processing apparatus | |
JPS5960534A (en) | Key input control device | |
KR920013332A (en) | Key control method of cassette tape recorder and apparatus therefor | |
KR200195093Y1 (en) | Keyboard input | |
KR100554797B1 (en) | Method and device for controling input data | |
JPH04290111A (en) | Keyboard | |
JPH10124219A (en) | Keyboard | |
JPH01290484A (en) | Printer device | |
JPS62196718A (en) | Keyboard | |
KR970003136Y1 (en) | Apparatus of monitoring for plc | |
JPS63168366A (en) | N-ary code printing controlling system for printing data | |
JPH04234259A (en) | Method and device for setting communication speed | |
JPS6339015A (en) | Decentralized processing system for on-line conversation processing system | |
JPH0481918A (en) | Key input device | |
JPS60225217A (en) | Key input device | |
JPH0451310A (en) | Command input system for communication controller | |
JPH09179672A (en) | Key input system | |
JPH11227303A (en) | Printing apparatus | |
JPS61150021A (en) | Keyboard control circuit | |
JPH01118917A (en) | Keyboard control system | |
JPS5958532A (en) | Data input device | |
KR970064303A (en) | Button combination function control device | |
JPS63186341A (en) | Program testing circuit |