JPH02190984A - Microcomputer device - Google Patents

Microcomputer device

Info

Publication number
JPH02190984A
JPH02190984A JP1010197A JP1019789A JPH02190984A JP H02190984 A JPH02190984 A JP H02190984A JP 1010197 A JP1010197 A JP 1010197A JP 1019789 A JP1019789 A JP 1019789A JP H02190984 A JPH02190984 A JP H02190984A
Authority
JP
Japan
Prior art keywords
input
switch
microcomputer
input port
oscillation
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
JP1010197A
Other languages
Japanese (ja)
Inventor
Hiroshi Niimi
浩 新美
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.)
Denso Corp
Original Assignee
NipponDenso Co Ltd
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 NipponDenso Co Ltd filed Critical NipponDenso Co Ltd
Priority to JP1010197A priority Critical patent/JPH02190984A/en
Publication of JPH02190984A publication Critical patent/JPH02190984A/en
Pending legal-status Critical Current

Links

Landscapes

  • Microcomputers (AREA)
  • Electronic Switches (AREA)

Abstract

PURPOSE:To effectively utilize the number of input ports of a microcomputer by inputting a frequency signal corresponding to the state of an input switch to one input port of the microcomputer under the existing state of many input switches. CONSTITUTION:When the input switch 12 is constituted of a three-contact switching type switch e.g., a DC signal is generated from an oscillation means 13 when two contacts (a), (b) of the switch 12 are selected, and the selection of the contacts (a), (b) is inputted to the microcomputer 11 by setting up signals with 'H' and 'L' output levels. When the residual contact (c) is selected, a signal with the specific frequency is oscillated from the oscillation means 13 and the oscillated signal is inputted to an input port 111. Since signals from the switch circuit 12 with plural contacts (a), (b), (c) can be inputted to one input port 111, the number of input ports set up in the microcomputer 11 can be effectively utilized.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、数の限られた入力ポートに対して、スイッ
チにより複数のモード選択を入力するスイッチ入力手段
を改良したマイクロコンピュータ装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a microcomputer device with an improved switch input means for inputting a plurality of mode selections using a switch to a limited number of input ports.

(2)上記発振手段では、上記スイッチ手段の  [従
来の技術]少な(とも2つの設定モードに対応して・ハ
イレ   マイクロコンピュータに対するスイッチ入力
は、ベルおよびローレベルの直流状態の信号を発生す 
 従来より基本的に第10図で示すようにして行ゎれる
。すなわち、スイッチSWは電源Vddと接地点との間
に接続され、スイッチSWのオフあるいはオンの状態で
、それぞれマイクロコンピュータCPUの1つの入力ボ
ートに、ハイレーベル(H)るいはローレベル(L)の
電圧信号が入力されるようにする。すなわち、1つの2
状態を選択するスイッチにそれぞれ対応して、マイクロ
コンピュータCPUでは1つの入力ポートが必要とされ
、入力スイッチの数に対応した数の入力ポートを、マイ
クロコンピュータCPUに設定する必要がある。例えば
、第11図で示すように2個の入力スイッチSWIおよ
びSW2が存在する場合には、マイクロコンピュータ本
体CPUに2個の入カボトが設定される。
(2) In the above oscillation means, the switch input to the microcomputer generates a bell and low level DC state signal.
Conventionally, this is basically carried out as shown in FIG. That is, the switch SW is connected between the power supply Vdd and the ground point, and when the switch SW is in the OFF or ON state, a high label (H) or low level (L) is output to one input port of the microcomputer CPU. voltage signal is input. i.e. one 2
One input port is required in the microcomputer CPU for each switch that selects a state, and it is necessary to set a number of input ports in the microcomputer CPU corresponding to the number of input switches. For example, if there are two input switches SWI and SW2 as shown in FIG. 11, two input switches are set in the CPU of the microcomputer main body.

また3接点のスイッチが設定された場合は、3つの入力
状態が存在するようになるものであるため、上記のよう
に単純に1つの入力ボートから上記3つの状態を識別す
る入力を取り入れることが困難である。
Also, if a three-contact switch is set, there will be three input states, so it is not possible to simply import inputs that identify the three states from one input port as described above. Have difficulty.

このような場合の対応手段としては、例えば特開昭63
−115416号公報に開示されているように、例えば
多接点のスイッチからのアナログ的な入力データヲA/
D変換し、ディジタルブタとして特定される入力ポート
に入力させる、多入力スイッチの入力ポートの低減対策
が考えられている。しかし、スイッチ部の各接点をそれ
ぞれ特有のディジタルデータに変換することは、入力回
路部をいたずらに複雑化する。
As a countermeasure for such a case, for example, Japanese Patent Application Laid-open No. 63
For example, as disclosed in Japanese Patent No. 115416, analog input data from a multi-contact switch can be
Measures are being considered to reduce the number of input ports of a multi-input switch by converting the signal into a digital signal and inputting the signal to an input port specified as a digital switch. However, converting each contact point of the switch section into unique digital data unnecessarily complicates the input circuit section.

[発明が解決しようとする課題] この発明は上記のような点に鑑みなされたもので、マイ
クロコンピュータに設定される入力ポート数を効果的に
利用できるようにするものであり、例えば1つの入力ボ
ートに対して、複数の選択接点をHするようなスイッチ
からの信号を入力できるようにしたマイクロコンピュー
タ装置を提供しようとするものである。
[Problems to be Solved by the Invention] This invention has been made in view of the above points, and is intended to make it possible to effectively utilize the number of input ports set in a microcomputer. The present invention aims to provide a microcomputer device that can input a signal from a switch that makes a plurality of selection contacts high to a boat.

[課題を解決するための手段] この発明に係るマイクロコンピュータ装置にあっては、
マイクロコンピュータの入力ボートに接続されるように
して、例えばOPアンプを構成する発振手段を設定し、
入力スイッチの選択設定手段に対応して、上記発振手段
の発振周波数が可変設定されるようにしている。
[Means for solving the problem] In the microcomputer device according to the present invention,
For example, set the oscillation means constituting an OP amplifier so that it is connected to the input port of the microcomputer,
The oscillation frequency of the oscillation means is variably set in accordance with the selection setting means of the input switch.

[作用コ 上記のように構成されるマイクロコンピュータ装置にあ
っては、入力スイッチが例えば3接点の切換え型スイッ
チで構成される場合、このスイッチの2つの接点が選択
された状態では、発振手段において直流状態の信号を発
生し、その出力レベルが従来と同様にHおよびLのレベ
ルの信号に設定されるようにすることによって、この接
点が選択されたことをマイクロコンピュータに入力する
ことができる。そして、残りの1つの接点が選択された
ときには、発振手段が特定される周波数の信号を発振し
、この発振信号が入力ボートに入力される。この場合、
その発振周波数は選択された接点に対応してそれぞれ設
定できるものであり、したがって1つの入力ボートに対
して、複数接点のスイ・ノチ回路からの信号が入力可能
とされる。
[Function] In the microcomputer device configured as described above, when the input switch is configured, for example, by a three-contact changeover type switch, when two contacts of this switch are selected, the oscillation means By generating a DC signal and setting its output level to H and L level signals as in the conventional case, the selection of this contact can be input to the microcomputer. Then, when the remaining one contact is selected, the oscillation means oscillates a signal of the specified frequency, and this oscillation signal is input to the input port. in this case,
The oscillation frequency can be set in accordance with the selected contact, so that signals from a plurality of contact circuits can be input to one input port.

[発明の実施例] 以下、図面を参照してこの発明の一実施例を説明する。[Embodiments of the invention] Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図はその構成を示したもので、マイクロコンピュー
タ11の1つの入力ポート111に対して、3つの選択
接点a、b、cを有する入力スイッチ12を有する。こ
の場合、上記a −cはそれぞれ“L″ “OFF” 
 “L“にそれぞれ対応する。
FIG. 1 shows its configuration, which has an input switch 12 having three selection contacts a, b, and c for one input port 111 of a microcomputer 11. In this case, the above a-c are “L” and “OFF” respectively.
Each corresponds to "L".

この入力スイッチ12からの出力端子部は、OPアンプ
I3および抵抗R1〜R4を含み構成される発振回路1
3に接続されるものであり、さらに上記スイッチ12の
出力端子には、コンデンサCが接続されている。
The output terminal section from this input switch 12 is an oscillation circuit 1 including an OP amplifier I3 and resistors R1 to R4.
Further, a capacitor C is connected to the output terminal of the switch 12.

このマイクロコンピュータ装置にあっては、入力スイッ
チ12のH′ “OFF”および“L″の3つの状態に
対応して発振回路13の出力状態が変化され、この発振
回路13からの出力信号がマイクロコンピュータ11の
1つの入力ポートIllに共給される。
In this microcomputer device, the output state of the oscillation circuit 13 is changed corresponding to the three states of H'"OFF" and "L" of the input switch 12, and the output signal from the oscillation circuit 13 is It is co-supplied to one input port Ill of computer 11.

この装置にあっては、入力スイッチ12の設定状態に対
応して点Aの電位が設定されるもので、スイッチ12が
C接点に接続される“H“の状態では、上記A点は電源
の電圧Vddに設定され、またスイッチ12がC接点に
接続された“L′の状態ではA点は接地電位に設定され
る。このA点はOPアンプの(−)端子に接続され、さ
らにこの点AはコンデンサCを介して接地されると共に
、OPアンプの出力側が抵抗R4を介して接続されてい
る。
In this device, the potential at point A is set in accordance with the setting state of the input switch 12, and when the switch 12 is in the "H" state connected to the C contact, the above point A is connected to the power supply. When the voltage is set to Vdd and the switch 12 is connected to the C contact in the "L" state, the point A is set to the ground potential.The point A is connected to the (-) terminal of the OP amplifier, and this point A is grounded via a capacitor C, and is connected to the output side of the OP amplifier via a resistor R4.

また、このOPアンプの(+)側端子には、電源Vdd
を抵抗R1およびR2で分圧したB点の電位が0(給さ
れている。
In addition, the (+) side terminal of this OP amplifier is connected to the power supply Vdd.
The potential at point B, which is divided by resistors R1 and R2, is 0 (supplied).

このような発振回路13の動作原理を説明すると、上記
B点の入力は、抵抗R1およびR2による設定電圧に、
抵抗R3によるフィードバックを作用させたヒステリシ
ス特性により電圧VLおよび■Hが設定されようにし、
A点の電位がコンデンサCを抵抗R4を介して繰返し充
放電することにより発振する。このときのスイッチ12
の“L”“OFF”および“Hoの各状態に対応する上
記A点およびB点に電位の状態は第2図で示すようにな
り、これに対応するマイクロコンピュータ11の入力ポ
ートlftの状態も、この図に同時に示されている。
To explain the operating principle of such an oscillation circuit 13, the input at the above point B is equal to the voltage set by the resistors R1 and R2.
The voltages VL and ■H are set by the hysteresis characteristic with feedback by the resistor R3,
The potential at point A oscillates by repeatedly charging and discharging capacitor C via resistor R4. Switch 12 at this time
The states of the potentials at the points A and B corresponding to the "L", "OFF" and "Ho" states are as shown in FIG. 2, and the corresponding states of the input port lft of the microcomputer 11 are also as shown in FIG. , are shown simultaneously in this figure.

第3図は上記のような各状態を入力ポート111におい
て判定する態様を説明するもので、スイッチ12からの
入力が“L“および“H“の状態では、入力ポートIl
lの電位は“H“およびL”にそれぞれ設定される。そ
して、スイッチ12の出力が“OFF”の状態で、周期
TIの発振信号が入力ボート目Iに供給されるようにな
るもので、この発振周期Tlはボートサンプリング周期
に対応して設定される。
FIG. 3 explains a mode in which each of the above states is determined at the input port 111. When the input from the switch 12 is in the "L" and "H" states, the input port Il
The potential of l is set to "H" and L, respectively. Then, when the output of switch 12 is in the "OFF" state, an oscillation signal with period TI is supplied to input port I. This oscillation period Tl is set corresponding to the boat sampling period.

第4図は上記発振信号とボートサンプリングとの関係を
示しているもので、発振信号の周期T1に対して、ボー
トサンプリングの周期TSが“Ts<Tl″となるよう
に設定され、上記周期Tsでボートをチエツクするよう
にしている。例えば、この図の場合“Tl’14Ts”
関係にTsが設定されているもので、入力ポート111
を4回チエツクし、その全てが“H″であれば、スイッ
チ12からの入力が“H“であると判定し、また逆に全
てH″であれば、スイッチ12が“L”に設定されてい
ると判定する。そして、入力ポート111が上記の状態
以外であればボートillの入力は“発振”であり、ス
イッチI2の設定状態は“OFF″であると判定され、
マイクロコンピュータitにおいてはスイッチ12の入
力状態に応じた処理を実行できるようになる。
FIG. 4 shows the relationship between the oscillation signal and boat sampling, in which the boat sampling cycle TS is set to be "Ts<Tl" with respect to the oscillation signal cycle T1, and the cycle Ts I try to check the boats at For example, in this figure, "Tl'14Ts"
Ts is set in the relationship, and input port 111
is checked four times, and if all of them are "H", it is determined that the input from switch 12 is "H", and conversely, if all of them are "H", switch 12 is set to "L". If the input port 111 is in a state other than the above, it is determined that the input of the boat ill is "oscillation" and the setting state of the switch I2 is "OFF".
The microcomputer IT can now execute processing according to the input state of the switch 12.

上記のような入力ポートlllにおける入力の3つの状
態の判定は、第5図乃至第7図で示すような処理により
実行される。まず、第5図で示すようにメイン処理にお
いては、ステップlotで初期設定が行われる。
The above-mentioned determination of the three states of the input at the input port lll is executed by the processing shown in FIGS. 5 to 7. First, as shown in FIG. 5, in the main process, initial settings are performed in step lot.

この初期設定のステップ101では、第6図に示すよう
にステップ201で入力ポートl11の“H″の状態を
サンプリング周期に対応してカウントするカウンタC0
UNT Lを“0”とし、さらにステップ202で入力
ポート111の“H“の状態をサンプリング周期に対応
してカウントするカウンタC0UNT Hを“0”とす
る。さらにステップ203で入力ボート111のサンプ
リング数Nを“0“とすると共に、ステップ204で一
定周期(4回分)の判定結果を収納する入力ポート11
1の状態レジスタRPを“O”とし、ステップ205で
その池の処理を初期状態とする。
In step 101 of this initial setting, as shown in FIG.
UNTL is set to "0", and furthermore, in step 202, a counter C0UNTH that counts the "H" state of the input port 111 in accordance with the sampling period is set to "0". Further, in step 203, the sampling number N of the input port 111 is set to "0", and in step 204, the input port 111 that stores the determination results of a certain period (four times) is set to "0".
The state register RP of No. 1 is set to "O", and the processing of that pond is set to the initial state at step 205.

このようにな初期設定が行われたならば、次のステップ
102に進み、タイマーを観測して周期Tsのタイミン
グであるか否かを判定し、タイミングTSと判定された
状態でステップ103に進み、入力ポート111の読み
込みを実行し、ステップ104で入力ポート111の状
態を判定する。そして、その判定結果に対応してスイッ
チ12の“L““OFF“および“H″の状態を判定し
、ステップ105〜107のいずれかで、処理1〜3の
いずれかの処理がマイクロコンピュータ11で実行され
るようになる。
Once the initial settings have been made in this way, the process proceeds to the next step 102, where the timer is observed to determine whether or not it is the timing of the cycle Ts, and when it is determined that the timing is TS, the process proceeds to step 103. , reads the input port 111, and determines the state of the input port 111 in step 104. Then, the "L", "OFF", and "H" states of the switch 12 are determined in accordance with the determination result, and in any of steps 105 to 107, one of the processes 1 to 3 is executed by the microcomputer 12. will now be executed.

第7図は上記ボート状態の判定ステップにおける処理を
説明するもので、まずステップ301でボ−トが読み込
まれ、ステップ302で入力ポート11の状態がHレベ
ルであるか、あるいはLレベルであるかを判定する。そ
して、Hレベルと判定された状態でステップ303に進
み、C0UNT Hを“+1゜カウントし、Lレベルと
判定されたならばステップ304でcount +を“
+1”カウントする。その後ステップ305に進み、入
力ボートlllのサンプリング数Nに“+1”し、次の
ステップ306でNの値が“4°のなったか否かを判定
する。Nの値がまだ“4″に至っていない状態ではその
ままこの処理を終了し、サンプリングカウント数が“4
″となったならばステップ307に進んで、上記Nを“
0″にする。
FIG. 7 explains the processing in the step of determining the boat status. First, in step 301, the boat is read, and in step 302, it is determined whether the status of the input port 11 is at H level or L level. Determine. Then, when it is determined that the H level is high, the process proceeds to step 303, where COUNT H is counted by "+1°", and when it is determined that the L level is low, the count + is "counted" at step 304.
+1" is counted. Thereafter, the process proceeds to step 305, where the sampling number N of the input boat 1ll is incremented by "+1", and in the next step 306, it is determined whether the value of N has become "4°. If the value of N has not reached "4" yet, this process ends and the sampling count number reaches "4".
”, proceed to step 307 and change the above N to “
Set it to 0''.

ステップ308ではC0UNT Lの状態を判定し、こ
のC0UNT Lが“4″を計数していることが確認さ
れたならば、ステップ309に進んで入力ポートlit
の状態レジスタRPを“2″とする。すなわち、第5図
においてステップ104によってステップ107が選択
されたことになる。
In step 308, the state of C0UNT L is determined, and if it is confirmed that this C0UNT L is counting "4", the process proceeds to step 309 and the input port lit
The status register RP of is set to "2". That is, in FIG. 5, step 107 is selected by step 104.

また上記ステップ308でC0UNT Lが“4″では
ないと判定されたならばステップ310に進み、C0U
NT Hがを4゛であるか否かを判定するもので、その
計数値が“4“であると判定されたならばステップ31
1に進んで、入力ボート111の状態レジスタRPを“
0“とする。これは第5図のステップ105に相当する
。そしてステップ310でC0UNT Hが“4°では
ないと判定されたならば、これは入カポ−) 111に
発振信号が供給されていることであり、ステップ312
に進んで状態レジスタRPを“1″とする。これは第5
図においてステップ10Gに進んだことに対応する。
Further, if it is determined in step 308 that C0UNT L is not "4", the process advances to step 310, and C0U
This is to judge whether or not NT H is 4゛, and if it is judged that the count value is "4", step 31
1, and set the status register RP of the input boat 111 to “
0". This corresponds to step 105 in FIG. and step 312
Then, the status register RP is set to "1". This is the fifth
This corresponds to proceeding to step 10G in the figure.

すなわち、入力スイッチ12の3つの状態がマイクロコ
ンピュータ11の入力ポート111において判定される
ようになる。例えば入力スイッチ12が車両用の積算計
の表示切換えに使用されるような場合、1つの切換えス
イッチによってTripA”“TripB″ “オドメ
ータ”の表示切換えが可能とされる。
That is, the three states of the input switch 12 are determined at the input port 111 of the microcomputer 11. For example, when the input switch 12 is used to change the display of a vehicle totalizer, one changeover switch can change the display of TripA, TripB, and odometer.

上記のように構成される装置において、B点に対して複
数の抵抗およびスイッチによってヒステリシス電位が可
変されるようにすれば、同時に発振回路13の発振周波
数が動くようになり、この発振回路13の発振周波数を
計測可能なサンプリング周波数により、ボートをチエツ
クすることができ、これによりさらに多くのスイッチ入
力を1つの入力ポートより入力することが可能とされる
In the device configured as described above, if the hysteresis potential is varied with respect to point B using a plurality of resistors and switches, the oscillation frequency of the oscillation circuit 13 can be changed at the same time, and the oscillation frequency of the oscillation circuit 13 can be changed at the same time. A sampling frequency that allows the oscillation frequency to be measured allows the boat to be checked, thereby allowing more switch inputs to be input from one input port.

第8図は他の実施例を示すもので、この実施例にあって
はB点に対して複数の切換え型のスイッチ121〜12
4が接続設定され、電源Vddあるいは接地点が選択接
続されるようになっているもので、抵抗回路によって各
スイッチ121〜124の設定状態に対応した電位がB
点に設定されるようにしている。
FIG. 8 shows another embodiment, in which a plurality of switching type switches 121 to 12 are connected to point B.
4 is connected, and the power supply Vdd or ground point is selectively connected, and the potential corresponding to the setting state of each switch 121 to 124 is set to B by the resistor circuit.
It is set to a point.

上記実施例では複数の切換え型スイッチからの入力が、
マイクロコンピュータ11の1つの入力ポート111に
供給される状態を示したが、複数のオン・オフスイッチ
が使用される場合は、第9図のように構成すればよい。
In the above embodiment, the inputs from the plurality of changeover switches are
Although the state in which the power is supplied to one input port 111 of the microcomputer 11 is shown, if a plurality of on/off switches are used, the configuration may be as shown in FIG. 9.

すなわち、一端が接地された複数のスイッチ125〜1
27それぞれは、それぞれ異なる値の抵抗R5〜R7を
介して点Bに接続されるようになっている。したがって
、スイッチ125〜127の1つが接続されたならば、
そのスイッチに対応した電位がB点に設定されるように
なり、発振回路13でそのB点電位に対応した周波数の
信号を発振して、これをマイクロコンピュータ11の入
力ポートに供給するようになる。そして、マイクロコン
ピュータ11ではスイッチ入力状態を、入力周波数から
判定する。
That is, a plurality of switches 125 to 1 each having one end grounded
27 are connected to point B via resistors R5 to R7, each having a different value. Therefore, if one of switches 125-127 is connected,
The potential corresponding to the switch is set at point B, and the oscillation circuit 13 oscillates a signal with a frequency corresponding to the potential at point B, which is then supplied to the input port of the microcomputer 11. . Then, the microcomputer 11 determines the switch input state based on the input frequency.

[発明の効果] 以上のようにこの発明に係るマイクロコンピュータ装置
にあっては、多数の入力スイッチが存在する状態におい
て、マイクロコンピュータの1つの入力ポートに対して
、上記入力スイッチの状態に対応した周波数信号が取り
込まれるようになり、マイクロコンピュータの入力ポー
ト数の不足状態を効果的に改善できるようになる。した
がって、マイクロコンピュータの制御用の入力スイッチ
数が容易に増大できるものであり、マイクロコンビ二一
夕の使用態様がより拡大され、その応用範囲が容易に広
げられるようになる。
[Effects of the Invention] As described above, in the microcomputer device according to the present invention, in a state where a large number of input switches exist, for one input port of the microcomputer, the state corresponding to the state of the input switch is adjusted. Frequency signals can now be taken in, effectively resolving the shortage of input ports in microcomputers. Therefore, the number of input switches for controlling the microcomputer can be easily increased, and the manner in which the microcomputer is used can be further expanded, and its range of applications can be easily expanded.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の一実施例に係るマイクロコンピュー
タ装置を説明する回路構成図、第2図は上記装置におけ
るマイクロコンピュータの入力ボートに対する入力状態
を説明する図、第3図および第4図は入力ボートに結合
される信号の状態をスイッチ状態に対応して説明する図
、第5図乃至第7図は上記装置の入力の処理態様を説明
するフローチャート、第8図および第9図はそれぞれこ
の発明の他の実施例を示す回路構成図、第10図および
第11図はそれぞれ従来のマイクロコンピュータ装置を
説明する構成図である。 11・・・マイクロコンピュータ、12・・・入力スイ
ッチ、13・・・発振回路。 出願人代理人 弁理士 鈴江武彦 第3 図 第4図 @6 図 第2図 第5図 第 図 第8図 第 図
FIG. 1 is a circuit configuration diagram illustrating a microcomputer device according to an embodiment of the present invention, FIG. 2 is a diagram illustrating the input state to the input port of the microcomputer in the device, and FIGS. 3 and 4 are 5 to 7 are flowcharts illustrating the input processing mode of the above device, and FIGS. FIGS. 10 and 11 are circuit configuration diagrams showing other embodiments of the invention, respectively, which are configuration diagrams illustrating conventional microcomputer devices. 11... Microcomputer, 12... Input switch, 13... Oscillation circuit. Applicant's Representative Patent Attorney Takehiko Suzue Figure 3 Figure 4 @6 Figure 2 Figure 5 Figure 8 Figure

Claims (3)

【特許請求の範囲】[Claims] (1) 少なくとも3つ以上の切換えモードが選択設定
されるようにした入力スイッチ手段と、このスイッチ手
段で選択設定された1つのモードに対応して発振周波数
が設定される発振手段とを具備し、 この発振手段で発生された信号がマイクロコンピュータ
本体の1つの入力ポートに供給され、このマイクロコン
ピュータ本体ではその入力信号周波数に対応して上記ス
イッチ手段で設定されたモードを判定するようにしたこ
とを特徴とするマイクロコンピュータ装置。
(1) An input switch means for selecting and setting at least three switching modes, and an oscillation means for setting an oscillation frequency corresponding to one mode selected by the switch means. The signal generated by the oscillation means is supplied to one input port of the microcomputer main body, and the microcomputer main body determines the mode set by the switch means in accordance with the input signal frequency. A microcomputer device featuring:
(2) 上記発振手段では、上記スイッチ手段の少なく
とも2つの設定モードに対応して、ハイレベルおよびロ
ーレベルの直流状態の信号を発生するようにした請求項
1のマイクロコンピュータ装置。
(2) The microcomputer device according to claim 1, wherein said oscillation means generates high-level and low-level DC state signals corresponding to at least two setting modes of said switch means.
(3) 上記スイッチ手段は、その切換えモードの選択
設定状態にそれぞれ対応して抵抗値が変更設定される抵
抗回路を備え、上記発振手段での発振周波数が上記抵抗
回路の抵抗値に対応して設定されるようにした請求項1
のマイクロコンピュータ装置。
(3) The switch means includes a resistance circuit whose resistance value is changed and set in accordance with the selected setting state of the switching mode, and the oscillation frequency of the oscillation means corresponds to the resistance value of the resistance circuit. Claim 1 set out
microcomputer equipment.
JP1010197A 1989-01-19 1989-01-19 Microcomputer device Pending JPH02190984A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1010197A JPH02190984A (en) 1989-01-19 1989-01-19 Microcomputer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1010197A JPH02190984A (en) 1989-01-19 1989-01-19 Microcomputer device

Publications (1)

Publication Number Publication Date
JPH02190984A true JPH02190984A (en) 1990-07-26

Family

ID=11743562

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1010197A Pending JPH02190984A (en) 1989-01-19 1989-01-19 Microcomputer device

Country Status (1)

Country Link
JP (1) JPH02190984A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0325957U (en) * 1989-07-19 1991-03-18

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0325957U (en) * 1989-07-19 1991-03-18

Similar Documents

Publication Publication Date Title
US6654916B1 (en) Waveform generator, semiconductor testing device and semiconductor device
KR0181997B1 (en) AD converter and test method of AD converter
KR20050004003A (en) Method and apparatus for determination of ratio between time constant in integrated circuit and desired value
KR101833856B1 (en) Single to differential mode converter, and instrumentation apparatus using same
JPH02190984A (en) Microcomputer device
US4518951A (en) Integrated circuit for a keyboard of an electronic apparatus
EP0714170B1 (en) Analog-to-digital converter with writable result register
KR20110031578A (en) Mode change detection device and method in electronic devices
JP3335872B2 (en) Time constant adjustment circuit
WO2005029706A2 (en) Electronic sensing circuit
KR0153050B1 (en) Charging/discharging time reduction circuit of rc low pass filter
SU1552135A1 (en) Apparatus for automated functional tuning of hybrid integrated microcircuits
JPH049615Y2 (en)
JP2548023Y2 (en) Key input device
JPS6055846B2 (en) keyboard switch device
RU1812634C (en) Converter of logical levels
SU1019625A1 (en) Voltage/time interval converter
SU1751704A1 (en) Device for parametric checking of chip
JPH01126822A (en) Programmable input circuit
JPH025460A (en) Integrated circuit
KR20060135324A (en) Three state switch confirmation circuit
SU1580283A1 (en) Digital ohmmeter
SU894864A1 (en) Statistic analyzer of instrumental error of analogue-digital converter
SU1308969A1 (en) Universal current calibrator
JPS6215888B2 (en)