JPH0664622B2 - Micro computer - Google Patents

Micro computer

Info

Publication number
JPH0664622B2
JPH0664622B2 JP61082706A JP8270686A JPH0664622B2 JP H0664622 B2 JPH0664622 B2 JP H0664622B2 JP 61082706 A JP61082706 A JP 61082706A JP 8270686 A JP8270686 A JP 8270686A JP H0664622 B2 JPH0664622 B2 JP H0664622B2
Authority
JP
Japan
Prior art keywords
input
output
reset
buffer
output 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.)
Expired - Lifetime
Application number
JP61082706A
Other languages
Japanese (ja)
Other versions
JPS62239259A (en
Inventor
敬治 木場
正之 遠藤
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 JP61082706A priority Critical patent/JPH0664622B2/en
Publication of JPS62239259A publication Critical patent/JPS62239259A/en
Publication of JPH0664622B2 publication Critical patent/JPH0664622B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマイクロコンピュータに関し、特に入出力端子
を有し、入力端子、出力端子の切替を行うマイクロコン
ピュータに関する。
The present invention relates to a microcomputer, and more particularly to a microcomputer having an input / output terminal and switching between an input terminal and an output terminal.

〔従来の技術〕[Conventional technology]

従来、マイクロコンピュータは集積回路化されており、
リセット後の入出力端子が入力端子として働くか出力端
子として働くかは、メーカで作成した回路構成で決定さ
れている。仕様を変更してリセット後の端子の状態を変
更するには回路構成を変更し別の品種とする必要があ
る。
Conventionally, microcomputers are integrated circuits,
Whether the input / output terminal after reset operates as an input terminal or an output terminal is determined by the circuit configuration created by the manufacturer. In order to change the specifications and change the state of the terminals after reset, it is necessary to change the circuit configuration and use a different type.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

汎用的な集積回路化されたマイクロコンピュータである
ほど、多くのユーザによって異なる応用回路で使用され
るので、端子ごとにリセット後の入出力の方向に対する
要求が異ってくのが、上述のようにリセット後の入出力
端子の状態は必ずしも全てのユーザを満足させるものと
はいえない。
As a general-purpose integrated circuit microcomputer is used in different application circuits by many users, the requirement for the input / output direction after reset differs for each pin, as described above. The state of the input / output terminals after reset does not necessarily satisfy all users.

また、メーカも個々のユーザの要求を満足するのが困難
であるという問題がある。
There is also a problem that it is difficult for manufacturers to satisfy the requirements of individual users.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のマイクロコンピュータは、回路を初期化するリ
セット信号を発生するリセット手段と、外部端子と、内
部バスとを有するマイクロコンピュータにおいて、前記
外部端子には入力バッファ及び出力バッファが各々共通
に接続され、これら入力バッファ及び出力バッファは前
記内部パスに結合されるのであって、前記リセット手段
によるセット入力もしくはリセット入力により各々異な
る情報を保持する回路を設け、この回路からの情報に基
づいて前記入力バッファと出力バッファとを補助的に選
択するようにし、前記外部端子を入力用とするか出力用
とするかをリセット手段で規定することを特徴とする。
The microcomputer of the present invention has a reset means for generating a reset signal for initializing a circuit, an external terminal, and an internal bus. In the microcomputer, an input buffer and an output buffer are commonly connected to the external terminal. The input buffer and the output buffer are coupled to the internal path, and a circuit for holding different information depending on the set input or the reset input by the reset means is provided, and the input buffer is based on the information from this circuit. And the output buffer are supplementarily selected, and whether the external terminal is for input or for output is defined by the reset means.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を表わす回路ブロック図であ
る。データラッチ1はセットリセット付ラッチ、データ
ラッチ2は出力データ保持用のラッチ、出力バッファ3
はトライステート出力のバッファ4,6はトライステイト
バッファであり、書込み用ゲート7,8はそれぞれデータ
ラッチ1,2にデータを書込む時に導通し、読出しゲート
9は入力信号を内部バスへ入力する時に導通する。配線
切替部10はリセット信号が入力される配線によりデータ
ラッチ1のセット入力あるいはリセット入力へ接続され
る。データラッチ1の出力は出力バッファ3,4のゲート
信号となり、またインバータ5で反転されてバッファ6
のゲート信号となる。データラッチ2の出力は出力バッ
ファ3を通じて入出力端子11接続されると同時にバッフ
ァ4のほ入力とな。入力信号は入出力信号11からバッフ
ァ6に入力される。バッファ6の出力は接続されて読出
ゲート9に入力される。
FIG. 1 is a circuit block diagram showing an embodiment of the present invention. The data latch 1 is a latch with set / reset, the data latch 2 is a latch for holding output data, the output buffer 3
Are tri-state output buffers 4 and 6 are tri-state buffers, write gates 7 and 8 are turned on when writing data to the data latches 1 and 2, respectively, and a read gate 9 inputs an input signal to an internal bus. Sometimes it conducts. The wiring switching unit 10 is connected to the set input or the reset input of the data latch 1 by the wiring to which the reset signal is input. The output of the data latch 1 becomes the gate signals of the output buffers 3 and 4, and is inverted by the inverter 5 to be output to the buffer 6
It becomes the gate signal of. The output of the data latch 2 is connected to the input / output terminal 11 through the output buffer 3 and at the same time becomes the input of the buffer 4. The input signal is input from the input / output signal 11 to the buffer 6. The output of the buffer 6 is connected and input to the read gate 9.

ここで配線切替部10によりリセット信号がデータラッチ
1のリセットに接続されている場合、リセット信号によ
りデータラッチ1はリセットされ、出力バッファ3、バ
ッファ4はオフ状態となり、バッファ6は導通状態とな
る。よって入出力端子11は入力端子として端子の信号を
バッファ6を通じ内部へ取り込むことができる。
Here, when the reset signal is connected to the reset of the data latch 1 by the wiring switching unit 10, the data latch 1 is reset by the reset signal, the output buffers 3 and 4 are turned off, and the buffer 6 is turned on. . Therefore, the input / output terminal 11 can be used as an input terminal to take in a signal from the terminal to the inside through the buffer 6.

また、配線切替部10によりリセット信号がデータラッチ
1のセットに接続されている場合、リセット信号により
データラッチ1はセットされ、出力バッファ3は導通と
なり、データラッチ2の内容が入出力端子11へ出力され
る。同時にバッファ4も導通となり、読出しを行うとデ
ータラッチ2の内容が読出しゲート9を通して読出され
る。バッファ6はオフ態であり、入出力端子11は出力端
子となる。
When the reset signal is connected to the set of the data latch 1 by the wiring switching unit 10, the data latch 1 is set by the reset signal, the output buffer 3 becomes conductive, and the content of the data latch 2 is input to the input / output terminal 11. Is output. At the same time, the buffer 4 becomes conductive, and when reading is performed, the contents of the data latch 2 are read through the read gate 9. The buffer 6 is in the off state, and the input / output terminal 11 serves as an output terminal.

このように本実施例によると配線切替部10の接続を変更
することでリセット信号入力時に入出力端子11を入力端
子とするか出力端子とするかを選択できる。
As described above, according to the present embodiment, by changing the connection of the wiring switching unit 10, it is possible to select whether the input / output terminal 11 is the input terminal or the output terminal when the reset signal is input.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は、入出力端子の状態を決め
る内部記憶回路のリセット状態を二通りに設定できる手
段を内蔵し、その手段を配線で切替える構成とすること
により配線工程のマスク変更で各入出力端子のリセット
時の状態に対する多くのユーザの異なった要求に対応で
きるマイクロコンピュータを供給できる効果がある。
As described above, according to the present invention, it is possible to change the mask in the wiring process by incorporating a means for setting the reset state of the internal storage circuit that determines the state of the input / output terminal in two ways and switching the means by wiring. There is an effect that it is possible to supply a microcomputer capable of responding to different demands of many users regarding the state of each input / output terminal at reset.

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

第1図は本発明の一実施例の回路ブロック図である。 1……データラッチ、2……データラッチ、3……出力
バッファ4……バッファ、5……インバータ、6……バ
ッファ、7……書込ゲート、8……書込ゲート、9……
読出ゲート、10……配線切替部、11……入出力端子。
FIG. 1 is a circuit block diagram of an embodiment of the present invention. 1 ... data latch, 2 ... data latch, 3 ... output buffer 4 ... buffer, 5 ... inverter, 6 ... buffer, 7 ... write gate, 8 ... write gate, 9 ...
Read-out gate, 10 ... Wiring switching section, 11 ... Input / output terminal.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】回路を初期化するリセット信号を発生する
リセット手段と、入出力端子とを有するマイクロコンピ
ュータに於いて、前記入出力端子を入力端子として使用
するか出力端子として使用するかを制御するセット入力
及びリセット入力付記憶回路と、前記リセット信号を前
記記憶制御回路のセット入力又はリセット入力のいずれ
かに配線によって選択的に印加する手段と、前記記憶回
路の信号によって制御されたバッファ回路とを有し、そ
のバッファの出力が前記入出力端子に接続されることを
特徴とするマイクロコンピュータ。
1. A microcomputer having a reset means for generating a reset signal for initializing a circuit and an input / output terminal, controlling whether the input / output terminal is used as an input terminal or an output terminal. A storage circuit with a set input and a reset input, means for selectively applying the reset signal to either the set input or the reset input of the storage control circuit by wiring, and a buffer circuit controlled by the signal of the storage circuit And the output of the buffer is connected to the input / output terminal.
JP61082706A 1986-04-09 1986-04-09 Micro computer Expired - Lifetime JPH0664622B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61082706A JPH0664622B2 (en) 1986-04-09 1986-04-09 Micro computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61082706A JPH0664622B2 (en) 1986-04-09 1986-04-09 Micro computer

Publications (2)

Publication Number Publication Date
JPS62239259A JPS62239259A (en) 1987-10-20
JPH0664622B2 true JPH0664622B2 (en) 1994-08-22

Family

ID=13781845

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61082706A Expired - Lifetime JPH0664622B2 (en) 1986-04-09 1986-04-09 Micro computer

Country Status (1)

Country Link
JP (1) JPH0664622B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6022774B2 (en) * 1977-07-28 1985-06-04 日本電気株式会社 Input/output terminal control method
JPS59133627A (en) * 1983-01-20 1984-08-01 Seiko Epson Corp Input and output circuit of microcomputer

Also Published As

Publication number Publication date
JPS62239259A (en) 1987-10-20

Similar Documents

Publication Publication Date Title
US5179540A (en) Programmable chip enable logic function
JPS61156358A (en) Bus converter
JPH0197016A (en) Semiconductor integrated circuit device
US5467461A (en) Multiprocessor computer system having bus control circuitry for transferring data between microcomputers
JPH0342732A (en) Semiconductor integrated circuit
JP2621894B2 (en) Microcomputer
JPH0664622B2 (en) Micro computer
JPH0661109B2 (en) One-chip microcomputer capable of writing to built-in EPROM
KR870003281Y1 (en) Interface circuit
JP3283505B2 (en) Microcomputer
KR950003057Y1 (en) Circuit for exchanging command and state information
KR960009050Y1 (en) Circuit for selecting floppy disk driver of computer
KR940008120Y1 (en) Memory controller for display
KR920008007Y1 (en) Floppy disk control circuit
KR890006511Y1 (en) Control circuit of dmac's bus selection
JP2847367B2 (en) E Top 2 PROM device
JPS5855536B2 (en) Common memory control circuit
JPH01121967A (en) Microprocessor with built-in prom
JPH0543142B2 (en)
JPH084222B2 (en) Integrated circuit device
JPH03167617A (en) Jumper switching circuit
JPS60114954A (en) Subminiature computer
JPH11120024A (en) Chip for software development
JPH05242024A (en) Peripheral circuit equipment
JPH0287253A (en) Equipment address setting system

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term