JPH04130818A - Input circuit - Google Patents

Input circuit

Info

Publication number
JPH04130818A
JPH04130818A JP2252664A JP25266490A JPH04130818A JP H04130818 A JPH04130818 A JP H04130818A JP 2252664 A JP2252664 A JP 2252664A JP 25266490 A JP25266490 A JP 25266490A JP H04130818 A JPH04130818 A JP H04130818A
Authority
JP
Japan
Prior art keywords
input
input terminal
output
signal
shift register
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
JP2252664A
Other languages
Japanese (ja)
Inventor
Takamasa Uchida
内田 隆政
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 IC Microcomputer Systems Co Ltd
Original Assignee
NEC IC Microcomputer Systems 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 NEC IC Microcomputer Systems Co Ltd filed Critical NEC IC Microcomputer Systems Co Ltd
Priority to JP2252664A priority Critical patent/JPH04130818A/en
Publication of JPH04130818A publication Critical patent/JPH04130818A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To set multiple modes with few input terminals by providing a timing generation circuit generating the control signals of first and second load elements and a shift clock and pulling up and pulling down the input terminal while synchronizing with a certain timing. CONSTITUTION:When P and N signals are outputted if an H-level is given to the input terminal 1, first and second shift registers 6 and 6' become H. When an L-level is given to the input terminal 1, the first and second shift registers 6 and 6' become L. When input is in open, the Q output of the first shift register 6 becomes L and the Q output of the second shift register 6' becomes H. Since the outputs of the first and second shift registers 6 and 6' are different from each other by three states of the input terminal 1, three states of input can be judged by decoding the output with a decoder 10.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は入力回路に関し、特に入力端子をプルアップ、
プルダウン又はオープンの様に、三通りの使い方をし、
1本の入力端子で三通りの状態が判断できる入力回路に
関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an input circuit, and in particular, the present invention relates to an input circuit that pulls up an input terminal.
Use it in three ways, like pull-down or open.
The present invention relates to an input circuit that can determine three states using one input terminal.

〔従来の技術〕[Conventional technology]

従来のこの種の入力回路は、第3図乃至第5図の様であ
った。このうち第3図は、入力端子1が直接バッファ2
0に接続されている例を示すブロック図であり、また第
4図、第5図は入力端子1よりそれぞれプルアップ抵抗
21.プルダウン抵抗22を通し、バッファ2oに接続
されている。
Conventional input circuits of this type were as shown in FIGS. 3 to 5. In Figure 3, input terminal 1 directly connects to buffer 2.
4 and 5 are block diagrams showing an example in which the input terminal 1 is connected to the pull-up resistor 21. It is connected to the buffer 2o through a pull-down resistor 22.

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

前述した第3図の入力回路は、直接バッファ2゜に接続
されている為、入力端子1の状態はプルアップかプルダ
ウンかの二通りしか設定できず、二値の論理判定しかで
きなかった。また、第4図、第5図の入力回路では、入
力端子1の処理は、プルアップか、プルダウンか、又は
オープンかの三値を与えることができるが、バッファ2
0の出力としては、第3図と同様に二値の論理判定しか
できなかった。従って、このような従来の入力回路では
、一つの入力端子1に対して、二値つまり二通りのモー
ド設定しかできず、例えば二つの入力端子を組み合せて
も、四通りのモード設定しかできなかった。一般的に表
現すれば、n (nは正の整数)本の入力端子に対し、
2″通りのモードしか設定できなかった。
Since the input circuit shown in FIG. 3 described above is directly connected to the buffer 2°, the state of the input terminal 1 can only be set in two ways, pull-up or pull-down, and only binary logic can be determined. In addition, in the input circuits of FIGS. 4 and 5, the processing of input terminal 1 can give three values: pull-up, pull-down, or open, but buffer 2
As for the output of 0, only binary logic judgment could be made as in FIG. 3. Therefore, in such conventional input circuits, only two values, that is, two modes can be set for one input terminal 1. For example, even if two input terminals are combined, only four modes can be set. Ta. Generally speaking, for n (n is a positive integer) input terminals,
Only 2" modes could be set.

本発明の目的は、前記欠点が解決され、−本の入力端子
で三通りのモードが出力できるようにした入力回路を提
供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an input circuit which solves the above-mentioned drawbacks and is capable of outputting three modes using - input terminals.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の入力回路の構成は、第1の電源と入力端子との
間に接続され、ゲートに入力される制御入力信号により
前記入力端子と前記第1の電源との間に負荷として接続
するか否かを切換える第1の負荷素子と、第2の電源と
前記入力端子との間に接続され、ゲートに入力される制
御入力信号により前記入力端子と前記第2の電源の間に
負荷として接続するか否かを切換える第2の負荷素子と
、前記入力端子の信号を入力としインピーダンスの変換
をする入力バッファと、前記入力バッファの出力をデー
タ入力とし、シフトクロックにより入力データをシフト
するシフトレジスタと、第1及び第2の負荷素子の制御
信号と、前記シフトクロックを発生するタイミング発生
回路と、前記シフトレジスタの出力データをデコードす
るデコーダ回路とを備えていることを特徴とする。
The configuration of the input circuit of the present invention is such that the input circuit is connected between a first power source and an input terminal, and is connected as a load between the input terminal and the first power source by a control input signal input to a gate. a first load element that switches between the input terminal and the second power source; and a first load element that is connected between the second power source and the input terminal, and is connected as a load between the input terminal and the second power source by a control input signal input to the gate. an input buffer that receives the signal from the input terminal and converts the impedance; and a shift register that uses the output of the input buffer as a data input and shifts input data using a shift clock. and a timing generation circuit that generates control signals for the first and second load elements, the shift clock, and a decoder circuit that decodes the output data of the shift register.

〔実施例〕〔Example〕

次に図面を参照しながら本発明を説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例の入力回路を示す回路図、第
2図はその動作を示すタイミング図である。
FIG. 1 is a circuit diagram showing an input circuit according to an embodiment of the present invention, and FIG. 2 is a timing chart showing its operation.

第1図において、本実施例の入力回路は、N信号、P信
号、クロック(C)信号、リセッ) (R)信号、読み
込み許可(S)信号の各出力を有するタイミング発生回
路5と、MOS)ランジスタ2,3と、バッファ4と、
第1.第2のシフトレジスタ(D型フリップ・フロップ
)6.6’と、3個の2人力NANDゲートからなるデ
コーダ10と、入力端子1と、前記NANDゲートの各
出力端子7.8.9と、読み込み許可信号の出力端子1
1とを備えている。
In FIG. 1, the input circuit of this embodiment includes a timing generation circuit 5 having outputs of an N signal, a P signal, a clock (C) signal, a reset (R) signal, and a read permission (S) signal, and a MOS ) transistors 2 and 3, buffer 4,
1st. a second shift register (D-type flip-flop) 6.6', a decoder 10 consisting of three two-man power NAND gates, an input terminal 1, and each output terminal 7.8.9 of the NAND gate; Read permission signal output terminal 1
1.

第1図、第2図において、 先ず、タイミング発生回路5より、発生したP信号によ
り、MOS)ランジスタからなる負荷素子2を導通させ
、入力端子1をVDfl側にプルアップする。その時の
入力端子1の状態は、入力が反転して出力する入力バッ
ファ4を通し、第1のシフトレジスタ6の入力とする0
次に、タイミング回路5より発生したN信号により、負
荷素子3を導通させ、入力端子lをGND側にプルダウ
ンする。その時の入力端子1の状態は、入力バッファ4
を通し、第1のシフトレジスタ6の入力とする。
In FIGS. 1 and 2, first, a P signal generated by the timing generation circuit 5 causes the load element 2 made of a MOS transistor to conduct, and pulls up the input terminal 1 to the VDfl side. At that time, the state of the input terminal 1 is 0, which is input to the first shift register 6 through the input buffer 4 which inverts the input and outputs it.
Next, the load element 3 is made conductive by the N signal generated by the timing circuit 5, and the input terminal 1 is pulled down to the GND side. At that time, the state of input terminal 1 is input buffer 4.
is input to the first shift register 6.

この時、負荷素子2,3のインピーダンスは、入力端子
1を外部よりドライブするインピーダンスより、十分に
大ぎくなる種設定する。
At this time, the impedance of the load elements 2 and 3 is set to be sufficiently larger than the impedance that drives the input terminal 1 from the outside.

以上により、先づ入力端子1に、“H”レベルが与えら
れている場合、第2図のタイミングに従い、P、N信号
を出力すると、第1.第2のシフトレジスタ6.6′は
共に“H″であり、次に入力端子1に“L”レベルが与
えられている場合、第1.第2のシフトレジスタ6.6
′は、共に“L”となる。
As described above, when the "H" level is first applied to the input terminal 1, if the P and N signals are output according to the timing shown in FIG. Both the second shift registers 6 and 6' are at "H", and when the "L" level is applied to the input terminal 1, the first... Second shift register 6.6
' are both "L".

また入力がオープンの場合、第1のシフトレジスタ6の
Q出力は“L”、第2のシフトレジスタ6′のQ出力は
、′H”となる。
Further, when the input is open, the Q output of the first shift register 6 is "L", and the Q output of the second shift register 6' is 'H'.

以上の様に、入力端子1の三状態により、第1、第2の
シフトレジスタ6.6′の出力が異なる為、その出力を
デコーダ10によりデコードする事により、入力の三状
態の判定が可能となり、この出力をタイミング発生回路
5より出力される読み込a許可S信号が出力されている
間に読み出す事により、入力端子1の状態が判定される
As mentioned above, the outputs of the first and second shift registers 6 and 6' differ depending on the three states of the input terminal 1, so by decoding the outputs with the decoder 10, it is possible to determine the three states of the input. By reading this output while the read a permission S signal outputted from the timing generation circuit 5 is being outputted, the state of the input terminal 1 is determined.

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

以上説明したように、本発明は、入力端子をあるタイミ
ングに同期してプルアップ、プルダウンさせ、その時の
端子の状態を読み取ることができるから、一つの入力端
子に対し uH”レベル入力、”L″レベル入力オーブ
ン、の三状態の値が判断できるという効果があり、この
事によりn本の入力端子では従来では2″モードしか設
定できなかったが、3fiのモード設定が可能となり、
少数の入力端子で多くのモード設定が可能となるという
効果もある。
As explained above, the present invention can pull up and pull down the input terminal in synchronization with a certain timing and read the state of the terminal at that time. It has the effect of being able to judge the values of the three states of ``level input oven'', and as a result, with n input terminals, conventionally only the 2'' mode could be set, but it is now possible to set the 3fi mode.
Another effect is that many mode settings can be made with a small number of input terminals.

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

第1図は本発明の一実施例の入力回路を示す回路図、第
2図は第1図の回路のタイミング図、第3図乃至第5図
はいずれも従来の入力回路を示すブロック図である。 1・・・・・・入力端子、2,3・・・・・・負荷素子
、4・・・・・・入力バッファ、5・・・・・・タイミ
ング発生回路、6・・・・・・シフトレジスタ、7,8
.9・・・・・・出力信号、10・・・・・・デコーダ
、11・・・・・・読み込み許可信号。 代理人 弁理士  内 原   音 事 図 第 図
Fig. 1 is a circuit diagram showing an input circuit according to an embodiment of the present invention, Fig. 2 is a timing diagram of the circuit shown in Fig. 1, and Figs. 3 to 5 are block diagrams showing conventional input circuits. be. 1... Input terminal, 2, 3... Load element, 4... Input buffer, 5... Timing generation circuit, 6... shift register, 7, 8
.. 9...Output signal, 10...Decoder, 11...Read permission signal. Agent Patent Attorney Hara Uchi

Claims (1)

【特許請求の範囲】[Claims] 第1の電源と入力端子との間に接続され、ゲートに入力
される制御入力信号により前記入力端子と前記第1の電
源との間に負荷として接続するか否かを切換える第1の
負荷素子と、第2の電源と前記入力端子との間に接続さ
れ、ゲートに入力される制御入力信号により前記入力端
子と前記第2の電源の間に負荷として接続するか否かを
切換える第2の負荷素子と、前記入力端子の信号を入力
としインピーダンスの変換をする入力バッファと、前記
入力バッファの出力をデータ入力とし、シフトクロック
により入力データをシフトするシフトレジスタと、第1
及び第2の負荷素子の制御信号と、前記シフトクロック
を発生するタイミング発生回路と、前記シフトレジスタ
の出力データをデコードするデコーダ回路とを備えてい
ることを特徴とする入力回路。
A first load element connected between a first power source and an input terminal, and configured to switch whether or not to be connected as a load between the input terminal and the first power source by a control input signal input to a gate. and a second power supply connected between the second power supply and the input terminal, and switching whether or not to be connected as a load between the input terminal and the second power supply according to a control input signal input to the gate. a load element; an input buffer that receives a signal from the input terminal and converts impedance; a shift register that uses the output of the input buffer as a data input and shifts input data using a shift clock;
and a control signal for a second load element, a timing generation circuit that generates the shift clock, and a decoder circuit that decodes output data of the shift register.
JP2252664A 1990-09-21 1990-09-21 Input circuit Pending JPH04130818A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2252664A JPH04130818A (en) 1990-09-21 1990-09-21 Input circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2252664A JPH04130818A (en) 1990-09-21 1990-09-21 Input circuit

Publications (1)

Publication Number Publication Date
JPH04130818A true JPH04130818A (en) 1992-05-01

Family

ID=17240513

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2252664A Pending JPH04130818A (en) 1990-09-21 1990-09-21 Input circuit

Country Status (1)

Country Link
JP (1) JPH04130818A (en)

Similar Documents

Publication Publication Date Title
US5497114A (en) Flip-flop circuit
EP0350141A2 (en) Multifunction flip-flop-type circuit
EP0219846B1 (en) Latch circuit tolerant of undefined control signals
JP2639319B2 (en) Semiconductor device
JP3567601B2 (en) Input / output buffer circuit and output buffer circuit
KR100238869B1 (en) Semiconductor memory device for providing bust mode control signal
US6211702B1 (en) Input circuit
US6301188B1 (en) Method and apparatus for registering free flow information
JPS63313222A (en) Key input device
JPH04130818A (en) Input circuit
US6859070B2 (en) Semiconductor integrated circuit device having flip-flops that can be reset easily
US5574940A (en) Data processor with quicker latch input timing of valid data
JPH05206791A (en) D type flip-flop
JP4384792B2 (en) I / O circuit
JPH04306013A (en) Latch circuit device
US6715115B1 (en) Semiconductor integrated circuit device capable of outputting leading data of a series of multiple burst-readout data without delay
JPS63167496A (en) Semiconductor memory device
JP3266111B2 (en) Clock input buffer circuit
JP2938589B2 (en) Semiconductor integrated circuit
JP3116706B2 (en) Trigger input circuit
JP2776157B2 (en) Oscillation circuit
US6822486B1 (en) Multiplexer methods and apparatus
KR0183752B1 (en) Output port having a delay circuit
JP3425580B2 (en) Test signal generation circuit for semiconductor integrated circuit
JP3185870B2 (en) High-speed, high-drive signal transmission circuit