JPH09198169A - Key input device - Google Patents

Key input device

Info

Publication number
JPH09198169A
JPH09198169A JP8008387A JP838796A JPH09198169A JP H09198169 A JPH09198169 A JP H09198169A JP 8008387 A JP8008387 A JP 8008387A JP 838796 A JP838796 A JP 838796A JP H09198169 A JPH09198169 A JP H09198169A
Authority
JP
Japan
Prior art keywords
power consumption
input terminal
low power
consumption mode
key
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
JP8008387A
Other languages
Japanese (ja)
Inventor
Hitoshi Takahashi
仁 高橋
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.)
Toshiba Home Technology Corp
Original Assignee
Toshiba Home Technology 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 Toshiba Home Technology Corp filed Critical Toshiba Home Technology Corp
Priority to JP8008387A priority Critical patent/JPH09198169A/en
Publication of JPH09198169A publication Critical patent/JPH09198169A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve the operability of the key switches by performing the operations corresponding to the key switches by the operation signals sent to the general-purpose input terminals from the key switches and then canceling a low power consumption mode by the gate output signal sent to an exclusive input terminal from a gate circuit via a microcomputer. SOLUTION: When the specific key switches 2 to 5 are operated when a low power consumption mode is set, the operations corresponding to the switches 2 to 5 are carried out by the operation signals which are sent to the general-purpose input terminals I1 to I4 . At the same time, the low power consumption mode is canceled by the gate output signal that is sent to an exclusive input terminal Iϕfrom an AND gate 6. Therefore, the operations corresponding to the switches 2 to 5 and the cancel of the low power consumption mode can be carried out at a time just by operating once the switches 2 to 5 respectively. As a result, the operability is improved for the switches 2 to 5 when the low power consumption mode is canceled.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、複数のキースイッ
チからの操作信号に基づいて、低消費電力モードを解除
するキー入力装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a key input device for canceling a low power consumption mode based on operation signals from a plurality of key switches.

【0002】[0002]

【発明が解決しようとする課題】従来、この種のキー入
力装置は、電力消費を抑えるための低消費電力モードを
備えた各種電気機器(例えば電池駆動のリモコン装置)
に適用されている。これは、キースイッチの操作を所定
時間行なわないと、マイクロコンピュータは低電力消費
モードを設定し、例えば表示手段の表示を暗くして電力
消費を低減させるが、その後任意のキースイッチを操作
すると、マイクロコンピュータは低電力消費モードを解
除し、表示手段の表示を再び明るくするようにしてい
る。
Conventionally, this type of key input device has various electric equipments (for example, a battery-powered remote control device) provided with a low power consumption mode for suppressing power consumption.
Has been applied to This is because if the key switch is not operated for a predetermined time, the microcomputer sets the low power consumption mode, for example, the display of the display unit is darkened to reduce the power consumption, but if any key switch is operated thereafter, The microcomputer releases the low power consumption mode and makes the display of the display means bright again.

【0003】ところが、このようなキー入力装置は、低
電力消費モードが設定されている状態で特定のキースイ
ッチを操作しても、マイクロコンピュータは単に低電力
消費モードを解除するだけで、そのキースイッチに対応
した特定の動作を行なうことはできなかった。したがっ
て、キースイッチに対応した動作を行なうためには、少
なくとも2回のキー操作が必要になり、操作性が悪いと
いう問題があった。また、この場合のマイクロコンピュ
ータは、低消費電力モードの設定および解除を行なう専
用入力端子を各キースイッチに対応して複数設けたり、
あるいは、用途別にカスタム化されたものを用いなけれ
ばならず、汎用性の高い安価なマイクロコンピュータが
使用できないという問題があった。
However, in such a key input device, even if a specific key switch is operated while the low power consumption mode is set, the microcomputer simply releases the low power consumption mode, It was not possible to perform the specific operation corresponding to the switch. Therefore, in order to perform the operation corresponding to the key switch, it is necessary to operate the key at least twice, and there is a problem that the operability is poor. In addition, the microcomputer in this case is provided with a plurality of dedicated input terminals for setting and canceling the low power consumption mode, corresponding to each key switch,
Alternatively, it is necessary to use a customized one for each application, and there is a problem that a general-purpose and inexpensive microcomputer cannot be used.

【0004】そこで本発明は上記問題点に鑑み、低電力
消費モード解除時における操作性を高め、かつ、汎用性
の高いマイクロコンピュータを使用できるキー入力装置
を提供することをその目的とする。
Therefore, in view of the above problems, it is an object of the present invention to provide a key input device which can improve the operability when the low power consumption mode is released and can use a highly versatile microcomputer.

【0005】[0005]

【課題を解決するための手段】本発明のキー入力装置
は、複数のキースイッチと、単一の専用入力端子および
前記複数のキースイッチの各々に接続される複数の汎用
入力端子を備えたマイクロコンピュータと、前記複数の
キースイッチからの各操作信号の論理和または論理積を
前記専用入力端子に出力するゲート回路とを備え、前記
マイクロコンピュータは、前記キースイッチから前記汎
用入力端子への操作信号により該キースイッチに対応し
た動作を行なうとともに、前記ゲート回路から前記専用
入力端子へのゲート出力信号により低電力消費モードの
解除を行なうように構成したものである。
SUMMARY OF THE INVENTION A key input device of the present invention is a micro switch having a plurality of key switches and a single dedicated input terminal and a plurality of general-purpose input terminals connected to each of the plurality of key switches. A microcomputer, and a gate circuit that outputs a logical sum or a logical product of the operation signals from the plurality of key switches to the dedicated input terminal, the microcomputer is an operation signal from the key switch to the general-purpose input terminal With this, the operation corresponding to the key switch is performed, and the low power consumption mode is released by the gate output signal from the gate circuit to the dedicated input terminal.

【0006】この場合、低消費電力モード設定時に特定
のキースイッチを操作すると、このキースイッチから汎
用入力端子への操作信号により、キースイッチに対応し
た動作が行なわれるとともに、ゲート回路から専用入力
端子へのゲート出力信号により、低電力消費モードの解
除が行なわれる。したがって、特定のキースイッチを一
回操作するだけで、このキースイッチに対応した動作
と、低消費電力モードの解除が一度に行なわれ、低電力
消費モード解除時におけるキースイッチの操作性を高め
ることができる。また、専用入力端子が単一に設けられ
ていても、ゲート回路を備えるだけで、キースイッチの
いずれか一つを操作したときに、専用入力端子にゲート
出力信号を供給して、低消費電力モードの解除を行なう
ことができるので、マイクロコンピュータの使用上の制
約が少なくなる。
In this case, when a specific key switch is operated when the low power consumption mode is set, the operation corresponding to the key switch is performed by the operation signal from the key switch to the general-purpose input terminal, and the gate circuit is used for the exclusive input terminal. The low power consumption mode is released by the gate output signal to the. Therefore, by operating a specific key switch only once, the operation corresponding to this key switch and the low power consumption mode are released at one time, and the operability of the key switch when releasing the low power consumption mode is improved. You can Even if a single dedicated input terminal is provided, a gate circuit is provided, and when any one of the key switches is operated, a gate output signal is supplied to the dedicated input terminal to reduce power consumption. Since the mode can be canceled, restrictions on the use of the microcomputer are reduced.

【0007】[0007]

【発明の実施形態】以下、添付図面を参照しながら本発
明の各実施例を説明する。図1乃至図3は、リモコン装
置に適用された本発明の第1実施例を示すものである。
先ず、回路構成を示す図1において、1は周知の制御演
算装置,記憶装置,入出力装置,計時装置などを内蔵し
たマイクロコンピュータであり、このマイクロコンピュ
ータ1には、単一の専用入力端子Iφと、各キースイッ
チ2〜5の一端に各々接続される複数の汎用入力端子I
1〜I4が設けられている。また、これとは別に、マイク
ロコンピュータ1には、所定の動作電圧+VDDが供給さ
れる動作端子VDDと、グランドに接続される接地端子V
SSが各々設けられる。動作電圧+VDDラインと専用入力
端子Iφとの間には、電流制限用の抵抗11が接続される
とともに、動作電圧+VDDラインと汎用入力端子I1
4との間にも、電流制限用の抵抗12〜15が各々接続さ
れる。また、前記各キースイッチ2〜5の他端は共通に
接地されており、キースイッチ2〜5を操作しないオフ
状態では、汎用入力端子I1〜I4に動作電圧+VDDがそ
のまま印加され、汎用入力端子I1〜I4はHレベルにな
るが、キースイッチ2〜5を操作したオン状態では、汎
用入力端子I1〜I4がキースイッチ2〜5により接地さ
れ、汎用入力端子I1〜I4はLレベルになる。つまり、
図1に示す回路では、特定のキースイッチ2〜5をオン
すると、この操作したキースイッチ2〜5から汎用入力
端子I1〜I4にLレベルの操作信号が出力されることに
なる。マイクロコンピュータ1は、この特定のキースイ
ッチ2〜5から汎用入力端子I1〜I4への操作信号によ
り、各キースイッチ2〜5に対応した動作を行なう動作
制御手段を備えており、具体的には、図示しない表示手
段の表示形態を切換えたり、あるいは、リモコンの発信
素子から特定の制御信号を出力するように構成してい
る。
Embodiments of the present invention will be described below with reference to the accompanying drawings. 1 to 3 show a first embodiment of the present invention applied to a remote control device.
First, in FIG. 1 showing a circuit configuration, reference numeral 1 is a microcomputer having a well-known control arithmetic device, a storage device, an input / output device, a time measuring device, etc. built therein. and phi, a plurality of general-purpose input terminal I, each of which is connected to one end of each key switch 2-5
1 to I 4 are provided. Separately from this, the microcomputer 1 is provided with an operation terminal VDD to which a predetermined operation voltage + VDD is supplied and a ground terminal V connected to the ground.
Each SS is provided. A resistor 11 for current limitation is connected between the operating voltage + VDD line and the dedicated input terminal I φ, and the operating voltage + VDD line and the general-purpose input terminal I 1 to
Resistors 12 to 15 for current limiting are also connected to I 4 , respectively. Further, the other ends of the key switches 2 to 5 are commonly grounded, and in the off state where the key switches 2 to 5 are not operated, the operating voltage + VDD is directly applied to the general-purpose input terminals I 1 to I 4, and Although the input terminals I 1 to I 4 are at the H level, when the key switches 2 to 5 are operated, the general-purpose input terminals I 1 to I 4 are grounded by the key switches 2 to 5 and the general-purpose input terminals I 1 to I 4 I 4 becomes L level. That is,
In the circuit shown in FIG. 1, when a specific key switch 2 to 5 is turned on, an L level operation signal is output from the operated key switch 2 to 5 to the general-purpose input terminals I 1 to I 4 . The microcomputer 1 is equipped with operation control means for performing an operation corresponding to each of the key switches 2 to 5 in response to an operation signal from the particular key switch 2 to 5 to the general-purpose input terminals I 1 to I 4 , In addition, the display mode of the display means (not shown) is switched, or a specific control signal is output from the transmitter element of the remote controller.

【0008】6は、キースイッチ2〜5からの各操作信
号の論理和を専用入力端子Iφに出力するANDゲート
である。このANDゲート6の各入力端子は、各キース
イッチ2〜5の一端に接続されるとともに、ANDゲー
ト6の出力端子は、専用入力端子Iφに接続される。し
たがって、全てのキースイッチ2〜5を何も操作してい
ない全オフ状態のときには、専用入力端子Iφには抵抗
11を経由して動作電圧+VDDがそのまま印加され、専用
入力端子IφはHレベルになる。そして、キースイッチ
2〜5を何も操作せずに、専用入力端子IφがHレベル
のまま所定時間継続すると、マイクロコンピュータ1は
低消費電力モードを設定し、例えば表示手段の表示を暗
くする。
An AND gate 6 outputs the logical sum of the operation signals from the key switches 2 to 5 to the dedicated input terminal I φ . Each input terminal of the AND gate 6 is connected to one end of each of the key switches 2 to 5, and the output terminal of the AND gate 6 is connected to the dedicated input terminal I φ . Therefore, when all the key switches 2 to 5 are not operated and all are in the off state, the dedicated input terminal I φ has a resistance.
The operating voltage + VDD is applied as it is via 11, and the dedicated input terminal becomes H level. When the dedicated input terminal I.phi. Continues to be at the H level for a predetermined time without operating any of the key switches 2 to 5, the microcomputer 1 sets the low power consumption mode, for example, makes the display of the display unit dark. .

【0009】一方、任意のキースイッチ2〜5をオンす
ると、この操作したキースイッチ2〜5の一端はそれま
でのHレベルからLレベルに切換わるので、ANDゲー
ト6の出力端子および専用入力端子IφもHレベルから
Lレベルに切換わる。つまり、ANDゲート6の出力端
子から専用入力端子Iφには、Lレベルのゲート出力信
号が出力されることになる。マイクロコンピュータ1
は、低電力消費モードの設定時において、専用入力端子
φにゲート出力信号が出力されると、低電力消費モー
ドの解除を行なう低電力消費モード解除手段を備えてい
る。
On the other hand, when any of the key switches 2 to 5 is turned on, one end of the operated key switch 2 to 5 is switched from the H level until then to the L level, so that the output terminal and the dedicated input terminal of the AND gate 6 are connected. I φ also switches from the H level to the L level. That is, an L level gate output signal is output from the output terminal of the AND gate 6 to the dedicated input terminal I φ . Microcomputer 1
Has a low power consumption mode canceling means for canceling the low power consumption mode when a gate output signal is output to the dedicated input terminal in the low power consumption mode setting.

【0010】図1に示すANDゲート6は、本発明にお
けるゲート回路に相当するものであるが、これに代わり
図2に示すダイオード6a〜6dを組み合わせたAND
回路を用いてもよい。この場合、各ダイオード6a〜6
dのカソードを、対応するキースイッチ2〜5の一端に
接続するとともに、各ダイオード6a〜6dのアノード
を専用入力端子Iφに接続すれば、図1と同様に特定の
キースイッチ2〜5をオンしたときに、ダイオード6a
〜6dのアノードから専用入力端子IφにLレベルのゲ
ート出力信号を出力することができる。
The AND gate 6 shown in FIG. 1 corresponds to the gate circuit in the present invention, but instead of this, an AND gate in which the diodes 6a to 6d shown in FIG. 2 are combined.
A circuit may be used. In this case, each diode 6a-6
If the cathode of d is connected to one end of the corresponding key switch 2 to 5 and the anode of each diode 6a to 6d is connected to the dedicated input terminal I φ , the specific key switch 2 to 5 is connected as in FIG. When turned on, the diode 6a
A gate output signal of L level can be output from the anode of ~ 6d to the dedicated input terminal I φ .

【0011】次に、本実施例における作用を、図3のフ
ローチャートに基づき説明する。なお、図1のANDゲ
ート6と図2の各ダイオード6a〜6dは、回路的に全
く等価であるので、以後の説明は図1に基づき行なう。
Next, the operation of this embodiment will be described with reference to the flowchart of FIG. Since the AND gate 6 in FIG. 1 and the diodes 6a to 6d in FIG. 2 are completely equivalent in circuit, the following description will be given based on FIG.

【0012】キースイッチ2〜5を操作した後、所定時
間が経過すると、マイクロコンピュータ1は、その記憶
装置に内蔵されるプログラムの制御シーケンスに従っ
て、低消費電力モードに移行する(ステップS1)。マ
イクロコンピュータ1は、次のステップS2において低
消費電力モードの解除入力を待つ。ここで例えばキース
イッチ2を操作すると、このキースイッチ2に対応した
汎用入力端子I1がLレベルに切換わると同時に、AN
Dゲート6によって専用入力端子IφもLレベルに切換
わる。したがって、ステップS3において、マイクロコ
ンピュータ1は低消費電力モードを解除するとともに、
次のステップS4において、汎用入力端子I1がLレベ
ルであると判断し、キースイッチ2に対応した動作を行
なう(ステップS5)。また、前記ステップS2におい
て、キースイッチ3を操作すると、次のステップS3で
マイクロコンピュータ1は低消費電力モードの解除を行
なうが、このとき、キースイッチ3に対応した汎用入力
端子I2もLレベルに切換わるので、ステップS6に移
行して、マイクロコンピュータ1は汎用入力端子I2
Lレベルであると判断して、キースイッチ3に対応した
動作を行なう(ステップS7)。また、前記ステップS
2でキースイッチ4を操作した場合には、次のステップ
S3でマイクロコンピュータ1は低消費電力モードの解
除を行なうが、同時にキースイッチ4に対応した汎用入
力端子I3もLレベルに切換わるので、ステップS8に
移行して、マイクロコンピュータ1は汎用入力端子I3
がLレベルであると判断して、キースイッチ4に対応し
た動作を行なう(ステップS9)。さらに、前記ステッ
プS2でキースイッチ5を操作した場合には、次のステ
ップS3でマイクロコンピュータ1は低消費電力モード
の解除を行なうが、同時にキースイッチ5に対応した汎
用入力端子I4もLレベルに切換わるので、ステップS
10に移行して、キースイッチ5に対応した動作を行な
う。つまり、このステップS3〜S10の各手順によれ
ば、1回のキースイッチ2〜5の操作により、低消費電
力モードの解除と、キースイッチ2〜5に対応した動作
が一度に行なわれる。
When a predetermined time elapses after operating the key switches 2 to 5, the microcomputer 1 shifts to a low power consumption mode according to a control sequence of a program built in the storage device (step S1). The microcomputer 1 waits for the release input of the low power consumption mode in the next step S2. If, for example, the key switch 2 is operated, the general-purpose input terminal I 1 corresponding to the key switch 2 is switched to the L level, and at the same time, the AN
The dedicated input terminal I φ is also switched to the L level by the D gate 6. Therefore, in step S3, the microcomputer 1 releases the low power consumption mode and
In the next step S4, it is determined that the general-purpose input terminal I 1 is at L level, and the operation corresponding to the key switch 2 is performed (step S5). When the key switch 3 is operated in step S2, the microcomputer 1 releases the low power consumption mode in the next step S3. At this time, the general-purpose input terminal I 2 corresponding to the key switch 3 is also at the L level. , The microcomputer 1 determines that the general-purpose input terminal I 2 is at L level and performs the operation corresponding to the key switch 3 (step S7). The step S
When the key switch 4 is operated by pressing 2, the microcomputer 1 releases the low power consumption mode in the next step S3, but at the same time, the general-purpose input terminal I 3 corresponding to the key switch 4 is switched to the L level. , And proceeds to step S8, where the microcomputer 1 receives the general-purpose input terminal I 3
Is determined to be the L level and the operation corresponding to the key switch 4 is performed (step S9). Further, when the key switch 5 is operated in the step S2, the microcomputer 1 releases the low power consumption mode in the next step S3, but at the same time, the general-purpose input terminal I 4 corresponding to the key switch 5 is also at the L level. Switch to step S.
Then, the operation corresponding to the key switch 5 is performed. That is, according to each of the steps S3 to S10, by operating the key switches 2 to 5 once, the low power consumption mode is canceled and the operations corresponding to the key switches 2 to 5 are performed at once.

【0013】その後、ステップS11において、マイク
ロコンピュータ1が低消費電力モードを設定する前に、
再度特定のキースイッチ2〜5が操作されれば、ステッ
プS4以降の手順に戻って、操作したキースイッチ2〜
5に対応した動作が行なわる。逆に、所定時間内にどの
キースイッチ2〜5も操作されなければ、ステップS1
以降の手順に戻り、マイクロコンピュータ1は低消費電
力モードを設定する。
After that, in step S11, before the microcomputer 1 sets the low power consumption mode,
If the specific key switches 2 to 5 are operated again, the procedure returns to step S4 and thereafter, and the operated key switches 2 to 5 are returned.
The operation corresponding to 5 is performed. On the contrary, if none of the key switches 2 to 5 is operated within the predetermined time, step S1
Returning to the procedure thereafter, the microcomputer 1 sets the low power consumption mode.

【0014】以上のように上記実施例によれば、低消費
電力モード設定時に特定のキースッチ2〜5を操作する
と、このキースイッチ2〜5から汎用入力端子I1〜I4
への操作信号により、特定のキースイッチ2〜5に対応
した動作が行なわれるとともに、ANDゲート6から専
用入力端子Iφへのゲート出力信号により、低電力消費
モードの解除が行なわれる。したがって、特定のキース
イッチ2〜5を一回操作するだけで、キースイッチ2〜
5に対応した動作と、低消費電力モードの解除が一度に
行なわれるため、低電力消費モード解除時におけるキー
スイッチ2〜5の操作性を高めることができる。また、
マイクロコンピュータ1に設けられる専用入力端子Iφ
が単一であっても、ゲート回路であるANDゲート6を
備えるだけで、キースイッチ2〜5のいずれか一つを操
作したときに、専用入力端子Iφにゲート出力信号を供
給して、低消費電力モードの解除を行なうことができ
る。したがって、マイクロコンピュータ1の使用上の制
約が少なくなり、汎用性の高い安価なマイクロコンピュ
ータ1を使用できる。
As described above, according to the above embodiment, when the specific key switches 2 to 5 are operated when the low power consumption mode is set, the general purpose input terminals I 1 to I 4 are output from the key switches 2 to 5.
The operation signal corresponding to the specific key switches 2 to 5 performs the operation, and the gate output signal from the AND gate 6 to the dedicated input terminal I φ releases the low power consumption mode. Therefore, by operating the specific key switches 2-5 once, the key switches 2-5
Since the operation corresponding to 5 and the release of the low power consumption mode are performed at the same time, the operability of the key switches 2 to 5 when releasing the low power consumption mode can be improved. Also,
Dedicated input terminal I φ provided in the microcomputer 1
Even if only one is provided, only by providing the AND gate 6 which is a gate circuit, when any one of the key switches 2 to 5 is operated, a gate output signal is supplied to the dedicated input terminal I φ , The low power consumption mode can be released. Therefore, restrictions on the use of the microcomputer 1 are reduced, and the inexpensive and versatile microcomputer 1 can be used.

【0015】つまり、複数のキースイッチ2〜5をマイ
クロコンピュータ1の複数の汎用入力端子I1〜I4に各
々接続する一方、ANDゲート6により、複数のキース
イッチ2〜5からの各操作信号の論理和をマイクロコン
ピュータ1の単一の専用入力端子Iφに出力し、キース
イッチ2〜5から汎用入力端子I1〜I4への操作信号に
より、このキースイッチ2〜5に対応した動作を行なう
とともに、ANDゲート6から専用入力端子Iφへのゲ
ート出力信号により、低電力消費モードの解除を行なう
ようにマイクロコンピュータ1を構成することによっ
て、低電力消費モード解除時における操作性を高め、か
つ、汎用性の高いマイクロコンピュータ1を使用するこ
とが可能となる。
That is, the plurality of key switches 2 to 5 are respectively connected to the plurality of general-purpose input terminals I 1 to I 4 of the microcomputer 1, while the AND gate 6 is used to operate the operation signals from the plurality of key switches 2 to 5. Is output to a single dedicated input terminal Iφ of the microcomputer 1, and operation signals corresponding to the key switches 2 to 5 are generated by operating signals from the key switches 2 to 5 to the general-purpose input terminals I 1 to I 4 . And the microcomputer 1 is configured to release the low power consumption mode by the gate output signal from the AND gate 6 to the dedicated input terminal I φ , the operability in releasing the low power consumption mode is improved. Moreover, it becomes possible to use the microcomputer 1 having high versatility.

【0016】次に、図4の回路図を参照しながら、本発
明の第2実施例を説明する。なお、上記第1実施例と同
一部分には同一符号を付し、その共通する部分の詳細な
説明は省略する。本実施例は、専用入力端子Iφおよび
汎用入力端子I1〜I4の入力論理が第1実施例と逆にな
っており、具体的には、ゲート回路として複数のキース
イッチ2〜5からの各操作信号の論理積を専用入力端子
φに出力するORゲート7を用い、キースイッチ2〜
5の他端を動作電圧+VDDラインに接続する一方、抵抗
11〜15の他端を共通に接地する以外は、前記図1または
図2と同一の構成を有している。
Next, a second embodiment of the present invention will be described with reference to the circuit diagram of FIG. The same parts as those in the first embodiment are designated by the same reference numerals, and detailed description of the common parts will be omitted. In this embodiment, the input logic of the dedicated input terminal I φ and the general-purpose input terminals I 1 to I 4 is opposite to that of the first embodiment. Specifically, a plurality of key switches 2 to 5 are used as a gate circuit. Using the OR gate 7 which outputs the logical product of the respective operation signals of 1 to the dedicated input terminal I φ ,
Connect the other end of 5 to the operating voltage + VDD line, while connecting the resistor
It has the same structure as that of FIG. 1 or 2 except that the other ends of 11 to 15 are commonly grounded.

【0017】この場合、キースイッチ2〜5を操作しな
いオフ状態では、汎用入力端子I1〜I4はLレベルにな
るが、キースイッチ2〜5を操作したオン状態では、動
作電圧+VDDがキースイッチ2〜5を介して汎用入力端
子I1〜I4に印加され、汎用入力端子I1〜I4はHレベ
ルになる。つまり、特定のキースイッチ2〜5をオンす
ると、この操作したキースイッチ2〜5から汎用入力端
子I1〜I4にHレベルの操作信号が出力される。
In this case, the general-purpose input terminals I 1 to I 4 are at the L level when the key switches 2 to 5 are not operated, but the operating voltage + VDD is the key when the key switches 2 to 5 are operated. is applied to the general-purpose input terminal I 1 ~I 4 via the switch 2-5, the general-purpose input terminal I 1 ~I 4 becomes H level. That is, when the specific key switches 2 to 5 are turned on, H level operation signals are output from the operated key switches 2 to 5 to the general-purpose input terminals I 1 to I 4 .

【0018】また、任意のキースイッチ2〜5をオンす
ると、この操作したキースイッチ2〜5の一端はそれま
でのLレベルからHレベルに切換わるので、ORゲート
7の出力端子および専用入力端子IφもLレベルからH
レベルに切換わる。つまり、ORゲート7の出力端子か
ら専用入力端子Iφには、Hレベルのゲート出力信号が
出力される。
When any of the key switches 2 to 5 is turned on, one end of the operated key switch 2 to 5 is switched from the L level to the H level, so that the output terminal and the dedicated input terminal of the OR gate 7 are connected. I φ is also from L level to H
Switch to level. That is, an H level gate output signal is output from the output terminal of the OR gate 7 to the dedicated input terminal I φ .

【0019】本実施例においても、低消費電力モード設
定時に特定のキースイッチ2〜5を操作すると、このキ
ースイッチ2〜5から汎用入力端子I1〜I4への操作信
号により、特定のキースイッチ2〜5に対応した動作が
行なわれるとともに、ORゲート7から専用入力端子I
φへのゲート出力信号により、低電力消費モードの解除
が行なわれる。また、マイクロコンピュータ1に設けら
れる専用入力端子Iφが単一であっても、ゲート回路で
あるORゲート7を備えるだけで、キースイッチ2〜5
のいずれか一つを操作したときに、専用入力端子Iφ
ゲート出力信号を供給して、低消費電力モードの解除を
行なうことができる。したがって、低電力消費モード解
除時における操作性を高め、かつ、汎用性の高いマイク
ロコンピュータ1を使用することが可能となる。
Also in this embodiment, when the specific key switches 2 to 5 are operated when the low power consumption mode is set, the specific keys are operated by the operation signals from the key switches 2 to 5 to the general-purpose input terminals I 1 to I 4 . The operations corresponding to the switches 2 to 5 are performed, and the exclusive input terminal I is supplied from the OR gate 7.
The gate output signal to φ cancels the low power consumption mode. Even if the microcomputer 1 has a single dedicated input terminal I φ , only the OR gate 7 which is a gate circuit is provided, and the key switches 2 to 5 are provided.
When any one of them is operated, a gate output signal can be supplied to the dedicated input terminal to cancel the low power consumption mode. Therefore, it becomes possible to improve the operability when the low power consumption mode is released and use the microcomputer 1 having high versatility.

【0020】なお、本発明は上記実施例に限定されるも
のではなく、本発明の要旨の範囲において種々の変形実
施が可能である。例えば、本発明のキー入力装置は、リ
モコンに限らず、携帯機器やバックアップ機器などを備
えた各種の電気機器に広く適用できる。また、キースイ
ッチの数量や種類に関しては、特に限定されない。
The present invention is not limited to the above embodiment, and various modifications can be made within the scope of the present invention. For example, the key input device of the present invention is not limited to a remote controller, but can be widely applied to various electric devices including a mobile device, a backup device, and the like. Further, the number and types of key switches are not particularly limited.

【0021】[0021]

【発明の効果】本発明のキー入力装置は、複数のキース
イッチと、単一の専用入力端子および前記複数のキース
イッチの各々に接続される複数の汎用入力端子を備えた
マイクロコンピュータと、前記複数のキースイッチから
の各操作信号の論理和または論理積を前記専用入力端子
に出力するゲート回路とを備え、前記マイクロコンピュ
ータは、前記キースイッチから前記汎用入力端子への操
作信号により該キースイッチに対応した動作を行なうと
ともに、前記ゲート回路から前記専用入力端子へのゲー
ト出力信号により低電力消費モードの解除を行なうよう
に構成したものであり、低電力消費モード解除時におけ
る操作性を高め、かつ、汎用性の高いマイクロコンピュ
ータを使用することが可能となる。
The key input device of the present invention comprises a plurality of key switches, a microcomputer having a single dedicated input terminal and a plurality of general-purpose input terminals connected to each of the plurality of key switches, and A gate circuit for outputting a logical sum or a logical product of respective operation signals from a plurality of key switches to the dedicated input terminal, wherein the microcomputer switches the key switches according to an operation signal from the key switch to the general-purpose input terminal. Is configured to release the low power consumption mode by the gate output signal from the gate circuit to the dedicated input terminal in addition to performing the operation corresponding to, and enhance the operability when the low power consumption mode is released, In addition, it becomes possible to use a highly versatile microcomputer.

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

【図1】本発明の第1実施例を示す回路図である。FIG. 1 is a circuit diagram showing a first embodiment of the present invention.

【図2】第1実施例の変形例を示す回路図である。FIG. 2 is a circuit diagram showing a modification of the first embodiment.

【図3】マイコンの処理手順を示すフローチャートであ
る。
FIG. 3 is a flowchart showing a processing procedure of a microcomputer.

【図4】本発明の第2実施例を示す回路図である。FIG. 4 is a circuit diagram showing a second embodiment of the present invention.

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

1 マイクロコンピュータ 2〜5 キースイッチ 6 ANDゲート(ゲート回路) 6a〜6d ダイオード(ゲート回路) 7 ORゲート(ゲート回路) I1〜I4 汎用入力端子 Iφ 専用入力端子1 Microcomputer 2 to 5 Key switch 6 AND gate (gate circuit) 6a to 6d Diode (gate circuit) 7 OR gate (gate circuit) I 1 to I 4 General-purpose input terminal I φ dedicated input terminal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数のキースイッチと、単一の専用入力
端子および前記複数のキースイッチの各々に接続される
複数の汎用入力端子を備えたマイクロコンピュータと、
前記複数のキースイッチからの各操作信号の論理和また
は論理積を前記専用入力端子に出力するゲート回路とを
備え、前記マイクロコンピュータは、前記キースイッチ
から前記汎用入力端子への操作信号により該キースイッ
チに対応した動作を行なうとともに、前記ゲート回路か
ら前記専用入力端子へのゲート出力信号により低電力消
費モードの解除を行なうように構成したことを特徴とす
るキー入力装置。
1. A microcomputer comprising a plurality of key switches, a single dedicated input terminal, and a plurality of general-purpose input terminals connected to each of the plurality of key switches,
A gate circuit that outputs a logical sum or a logical product of the operation signals from the plurality of key switches to the dedicated input terminal, and the microcomputer is configured to operate the key according to an operation signal from the key switch to the general-purpose input terminal. A key input device configured to perform an operation corresponding to a switch and to release a low power consumption mode by a gate output signal from the gate circuit to the dedicated input terminal.
JP8008387A 1996-01-22 1996-01-22 Key input device Pending JPH09198169A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8008387A JPH09198169A (en) 1996-01-22 1996-01-22 Key input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8008387A JPH09198169A (en) 1996-01-22 1996-01-22 Key input device

Publications (1)

Publication Number Publication Date
JPH09198169A true JPH09198169A (en) 1997-07-31

Family

ID=11691808

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8008387A Pending JPH09198169A (en) 1996-01-22 1996-01-22 Key input device

Country Status (1)

Country Link
JP (1) JPH09198169A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003051960A (en) * 2001-08-06 2003-02-21 Sony Corp Electronic device
US7391343B2 (en) 2004-03-16 2008-06-24 Onkyo Corporation Input device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003051960A (en) * 2001-08-06 2003-02-21 Sony Corp Electronic device
JP4599774B2 (en) * 2001-08-06 2010-12-15 ソニー株式会社 Electronics
US7391343B2 (en) 2004-03-16 2008-06-24 Onkyo Corporation Input device

Similar Documents

Publication Publication Date Title
JP2002515606A5 (en)
JPH09198169A (en) Key input device
US9083384B2 (en) Microcomputer system
KR100419417B1 (en) Power on/off apparatus using a certain key
JP2658142B2 (en) Logical unit
CN113054967A (en) Control circuit and method for startup and shutdown
JP3371283B2 (en) Power control method
JP2503299Y2 (en) Power board start control circuit
JPH0775171A (en) Remote controller
JPS5853645Y2 (en) electronic cash register
JP2728792B2 (en) Semiconductor integrated circuit
KR200361396Y1 (en) Key input processing circuit
JPS5931065Y2 (en) Control device
JP2780261B2 (en) Composite device power control circuit
JPS62160522A (en) Starting circuit for microcomputer by key matrix input
JP2001037208A (en) Power source control device
JPS6350746Y2 (en)
JPS60193031A (en) Input control circuit
JPS61112220A (en) Data terminal equipment
JPS61246820A (en) Electronic appliance
JPH08340500A (en) Television image receiver with built-in computer
JPS59153233A (en) Microcomputer
JPH0517737B2 (en)
JPH04343114A (en) Power source control circuit
JP2000066822A (en) Key operating part