JPS61182156A - Programmable interface - Google Patents

Programmable interface

Info

Publication number
JPS61182156A
JPS61182156A JP2161985A JP2161985A JPS61182156A JP S61182156 A JPS61182156 A JP S61182156A JP 2161985 A JP2161985 A JP 2161985A JP 2161985 A JP2161985 A JP 2161985A JP S61182156 A JPS61182156 A JP S61182156A
Authority
JP
Japan
Prior art keywords
input
control circuit
external device
circuit
terminal
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
JP2161985A
Other languages
Japanese (ja)
Inventor
Yoshiaki Suzuki
良明 鈴木
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2161985A priority Critical patent/JPS61182156A/en
Publication of JPS61182156A publication Critical patent/JPS61182156A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Abstract

PURPOSE:To prevent malfunction of an external device in a reset or initialization state of an input/output control circuit, by providing a control circuit between the input/output control circuit and the external device to perform active level control. CONSTITUTION:When the active level of a connected external device 30 is kept at a high level and an input/output control circuit 21 is reset or initialized, an output terminal 21out of the circuit 21 is set at a high impedance. Here a control circuit 22 cuts off the terminal 21out from the device 30 by a command given from a detection circuit 23 and sets the input level of an input terminal 30in of the device 30 at a low level. Under such conditions, the circuit 22 connects the terminal 30in and the terminal 21out by a command of the circuit 23 at a time point when the reset or initialization state of the circuit 21 is released and the terminal 21out is controllable.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、中央演算処理装置と外部機器とを接続するイ
ンタフェースに関し、特に、ソフトウェア(中央演算処
理装置からの指令)により制御されるプログラマブル・
インタフェースに関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an interface that connects a central processing unit and external equipment, and in particular, a programmable interface that is controlled by software (commands from the central processing unit).
Regarding the interface.

〔従来の技術〕[Conventional technology]

従来、この種のプログラマブル・インタフェースは、第
2図に示されるように、中央演算処理装置10と外部機
器30との間に接続され、ソフトウェアによシ制御され
る入出力制御回路21を有しておシ、入出力制御回路2
1の出力端子21outと外部機器30の入力端子30
inとが直接接続されていた。40はリセットパルス発
生回路である。
Conventionally, this type of programmable interface has an input/output control circuit 21 connected between a central processing unit 10 and an external device 30 and controlled by software, as shown in FIG. Input/output control circuit 2
1 output terminal 21out and input terminal 30 of external device 30
was directly connected to in. 40 is a reset pulse generation circuit.

この種のプログラマブル・インタフェース20′の中に
は、リセット時に入出力制御回路21の出力端子21o
utがハイ・インピーダンス状態となシ、或いは入出力
制御回路21をソフトウェアによシ初期設定する場合に
、入出力制御回路21の出力端子21 outがハイ・
インピーダンス状態となるものがある。出力端子21o
utがハイ・インピーダンス状態となった時、外部機器
30の入力端子30inよシ入出力制御回路21の出力
端子21 outを見ると、入出力制御回路21の出力
端子21outがあたかもハイ・レベルの信号を出力し
ているかの如く認められる。
In this type of programmable interface 20', the output terminal 21o of the input/output control circuit 21 is
If ut is not in a high impedance state, or if the input/output control circuit 21 is initialized by software, the output terminal 21 out of the input/output control circuit 21 is in a high impedance state.
Some things are in an impedance state. Output terminal 21o
When ut is in a high impedance state, if you look at the input terminal 30in of the external device 30 and the output terminal 21 out of the input/output control circuit 21, you will see that the output terminal 21out of the input/output control circuit 21 is a high-level signal. It is recognized as if it were outputting .

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

この種の従来のプログラマブル・インタフェースを使用
Uて外部機器を制御しようとした場合。
When attempting to control external equipment using this type of conventional programmable interface.

接続される外部機器のアクティブレベルの相異により、
以下に述べるような状況が生ずる場合がある。
Due to differences in the active levels of connected external devices,
Situations such as those described below may occur.

すなわち、アクティブレベルがハイ・レベルの外部機器
を使用した場合には、リセット時あるいは初期設定時に
外部機器が誤動作する可能性がある。これに対し、アク
ティブレベルがロウ・レベルの外部機器を使用した場合
には、リセット時あるいは初期設定時に外部機器が誤動
作しない。従って、アクティブレベルがハイ・レベルの
外部機器を使用する場合、リセット時あるいは初期設定
時には、外部機器の入力レベルをロウ・レベルとするよ
うに入出力制御回路を変更する必要がある。
That is, when an external device whose active level is high is used, there is a possibility that the external device malfunctions at the time of reset or initial setting. On the other hand, if an external device whose active level is low is used, the external device will not malfunction at the time of reset or initialization. Therefore, when using an external device whose active level is high, it is necessary to change the input/output control circuit so that the input level of the external device is set to low level at the time of reset or initial setting.

その為、従来のプログラマブル・インタフェースでは、
アクティブレベルがハイ・レベルあるいはロウ・レベル
のどちらか一方の外部機器だけしか接続できないという
欠点がある。
Therefore, with conventional programmable interfaces,
The drawback is that only external devices with either a high or low active level can be connected.

〔問題点を解決するための手段及び作用〕本発明による
プログラマブル・インタフェースは、中央演算処理装置
と外部機器とを接続するインタフェースであって前記中
央演算処理装置からの指令によって制御される入出力制
御回路を有する7°l:Iグラマプル・インタフェース
において、前記入出力制御回路と前記外部機器との間に
、アクティブレベルを制御するコントロール回路を直列
に接続することによシ、接続される外部機器のアクティ
ブレベルがハイ・レベル或いはロウ・レベルのどちらで
あっても、既存の入出力制御回路に何らかの変更を加え
たシすることなしに、外部機器を制御できるようにした
ことを特徴とする。
[Means and effects for solving the problem] The programmable interface according to the present invention is an interface that connects a central processing unit and external equipment, and has input/output control controlled by instructions from the central processing unit. In a 7°l:I grammar interface having a circuit, a control circuit for controlling the active level is connected in series between the input/output control circuit and the external device, thereby controlling the external device to be connected. The present invention is characterized in that external equipment can be controlled without making any changes to existing input/output control circuits regardless of whether the active level is high level or low level.

〔実施例〕〔Example〕

以下2本発明の実施例について図面を参照して説明する
Two embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明によるプログラマブル・インタフェース
の一実施例の構成を示したブロック図で。
FIG. 1 is a block diagram showing the configuration of an embodiment of a programmable interface according to the present invention.

第2図と同様の機能を有するものには同一参照符号を付
しである。本実施例のプログラマブル・インタフェース
20は、ソフトウェアにて制御可能な入力兼出力端子を
有する入出力制御回路21の他に、外部機器30と入出
力制御回路21との間に直列に接続されたコントロール
回路22及びリセット状態あるいは初期設定状態を検出
する検出回路23を有している。次に1本実施例の動作
を説明する。
Components having the same functions as those in FIG. 2 are given the same reference numerals. The programmable interface 20 of this embodiment includes an input/output control circuit 21 having input and output terminals that can be controlled by software, as well as a control circuit connected in series between an external device 30 and the input/output control circuit 21. It has a circuit 22 and a detection circuit 23 that detects a reset state or an initial setting state. Next, the operation of this embodiment will be explained.

先ず、接続された外部機器30のアクティブレベルがハ
イ・レベルである場合について説明する。
First, a case will be described in which the active level of the connected external device 30 is high level.

入出力制御回路21がリセット時あるいは初期設定時、
入出力制御回路21の出力端子21 outはノ・イ・
インピーダンスとなる。このとき、コントロール回路2
2は、検出回路23からの指令によシ。
When the input/output control circuit 21 is reset or initialized,
The output terminal 21 out of the input/output control circuit 21 is
It becomes impedance. At this time, control circuit 2
2 is based on a command from the detection circuit 23.

入出力制御回路21の出力端子21゜utを外部機器3
0から切断し、外部機器300Å力端子30inの入力
レベルをロウ・レベルにする。
Connect the output terminal 21゜ut of the input/output control circuit 21 to the external device 3.
0 and set the input level of the external device 300 Å input terminal 30 inch to low level.

この状態において、入出力制御回路21がリセット状態
あるいは初期設定状態を抜は出し、出力端子21out
がコントロール可能とkつだ時点で。
In this state, the input/output control circuit 21 exits the reset state or initial setting state and outputs the output terminal 21out.
At the point when it can be controlled.

コントロール回路22は、検出回路23からの指令によ
シ、外部機器30の入力端子30inと入出力制御回路
21の出力端子21outとを接続する。
The control circuit 22 connects the input terminal 30in of the external device 30 and the output terminal 21out of the input/output control circuit 21 according to a command from the detection circuit 23.

これによシャリセット時あるいは初期設定時の誤動作を
防止できる。
This can prevent malfunctions during reset or initial setting.

次に、接続された外部機器30のアクティブレベルがロ
ウ・レベルである場合について説明する。
Next, a case will be described in which the active level of the connected external device 30 is low level.

この場合、コントロール回路22は、入出力制御回路2
1の出力端子21outと外部機器30の入力端子30
inとの切断は行なわず、接続したままとする。この状
態においては、リセット時あるいは初期設定時の誤動作
は起こらない。
In this case, the control circuit 22 is the input/output control circuit 2
1 output terminal 21out and input terminal 30 of external device 30
Do not disconnect from in, but leave it connected. In this state, no malfunction occurs during reset or initialization.

〔発明の効果〕〔Effect of the invention〕

以上の説明で明らかなように2本発明によれば。 As is clear from the above description, there are two aspects of the present invention.

入出力制御回路と外部機器との間にアクティブレベル制
御を行なうコントロール回路を直列に接続することによ
シ、アクティブレベルがノ・イ・レベルの外部機器を接
続した場合、入出力制御回路がリセット状態あるいは初
期設定時における外部機器の誤動作を防止できる。又、
既存の入出力制御回路を変更することなしに、アクティ
ブレベルがハイ・レベルあるいはロウ・レベルのどちら
の外部機器を接続しても、制御が可能であるという効果
がある。
By connecting a control circuit that performs active level control in series between the input/output control circuit and an external device, the input/output control circuit will be reset when an external device whose active level is no-i level is connected. It is possible to prevent malfunctions of external equipment during state or initial settings. or,
The advantage is that control can be performed without changing the existing input/output control circuit, regardless of whether an external device with an active level of high level or low level is connected.

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

第1図は本発明によるプログラマブル・インタフェース
の一実施例の構成を示したブロック図。 第2図は従来のプログラマブル・インタフェースの構成
を示したブロック図である。 10・・・中央演算処理装置、20・・・プログラマブ
ル インタフェース、21・・・入出力制御回路。 22・・・コントロール回路、23・・・リセット・初
期設定状態検出回路、30・・・外部機器、40・・・
リセッl−/Fルス発生回路。
FIG. 1 is a block diagram showing the configuration of an embodiment of a programmable interface according to the present invention. FIG. 2 is a block diagram showing the configuration of a conventional programmable interface. 10... Central processing unit, 20... Programmable interface, 21... Input/output control circuit. 22... Control circuit, 23... Reset/initial setting state detection circuit, 30... External device, 40...
Reset l-/F pulse generation circuit.

Claims (1)

【特許請求の範囲】[Claims] 1、中央演算処理装置と外部機器とを接続するインタフ
ェースであって、前記中央演算処理装置からの指令によ
って制御される入出力制御手段を有するプログラマブル
・インタフェースにおいて、前記入出力制御手段と前記
外部機器との間に直列に接続されて、アクティブレベル
制御を行なうコントロール手段を有することを特徴とす
るプログラマブル・インタフェース。
1. A programmable interface that connects a central processing unit and an external device and has an input/output control means controlled by a command from the central processing unit, wherein the input/output control means and the external device A programmable interface characterized in that it has a control means connected in series between the programmable interface and the control means for controlling the active level.
JP2161985A 1985-02-08 1985-02-08 Programmable interface Pending JPS61182156A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2161985A JPS61182156A (en) 1985-02-08 1985-02-08 Programmable interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2161985A JPS61182156A (en) 1985-02-08 1985-02-08 Programmable interface

Publications (1)

Publication Number Publication Date
JPS61182156A true JPS61182156A (en) 1986-08-14

Family

ID=12060065

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2161985A Pending JPS61182156A (en) 1985-02-08 1985-02-08 Programmable interface

Country Status (1)

Country Link
JP (1) JPS61182156A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008097558A (en) * 2006-09-15 2008-04-24 Ricoh Co Ltd Connection equipment control device and control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008097558A (en) * 2006-09-15 2008-04-24 Ricoh Co Ltd Connection equipment control device and control method

Similar Documents

Publication Publication Date Title
JPS61182156A (en) Programmable interface
JPH01256212A (en) Two-way buffer circuit
JPH0377406A (en) Oscillation control circuit
JPS57132455A (en) Communication controlling system
KR100385454B1 (en) Circuit for preventing malfunction on control system
JPS5827219A (en) Feeding device
JP2818414B2 (en) Semiconductor device
KR960009051Y1 (en) Circuit for input interface
JPH01177630A (en) Microcomputer device
JPS603559A (en) Digital outputting circuit
JPH0380303A (en) Duplexing device
JPH03167932A (en) Interrupt control circuit
KR19990002441A (en) Fault Tolerant System
JP2002351751A (en) Port control method
JPH03225484A (en) Microcomputer
JPH04109397A (en) Interruption control circuit
JPH0277921A (en) Overcurrent preventing circuit
JPH04372539A (en) Power interruption controller of terminal equipment
JPS62296243A (en) Microcomputer
JPH02157956A (en) Input / output parallel port switching device
JPH02125517A (en) Two-way bus interface device
JPH04212519A (en) Switching circuit for bus terminal
JPS63188241A (en) Integrated circuit device
JPH04188760A (en) Semiconductor integrated circuit device
JPS6111837A (en) Control circuit of powering-on sequence