JPH01100656A - Microcomputer output circuit - Google Patents

Microcomputer output circuit

Info

Publication number
JPH01100656A
JPH01100656A JP62259014A JP25901487A JPH01100656A JP H01100656 A JPH01100656 A JP H01100656A JP 62259014 A JP62259014 A JP 62259014A JP 25901487 A JP25901487 A JP 25901487A JP H01100656 A JPH01100656 A JP H01100656A
Authority
JP
Japan
Prior art keywords
output
signal
circuit
microcomputer
mode 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
JP62259014A
Other languages
Japanese (ja)
Inventor
Masao Matsuzawa
松澤 正夫
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 JP62259014A priority Critical patent/JPH01100656A/en
Publication of JPH01100656A publication Critical patent/JPH01100656A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Microcomputers (AREA)

Abstract

PURPOSE:To realize a low consuming power by controlling a mode register by an instruction from a microcomputer and setting to 0 or H impedance according to the contents of the register. CONSTITUTION:The mode register 18 is cleared by a reset signal 17 to bring the output to a non-selective state level and the output of a NAND circuit 14 is set to '1' and supplied to NAND circuits 22, 23. Contents based on the internal input signal 15 of the circuits 22, 23 are supplied to P-type and N-type MOS transistors (Tr), an output signal corresponding thereto is outputted to an output terminal 11 to execute an ordinary operation. Then, the register 18 is reset by a set signal 16 from the microcomputer to set an output signal below a selective level. Then, at the time of a stand-by state, a stand-by signal 19 is made active and the NAND circuit 14 sets the output signal to '0'. Consequently, the circuits 22, 23 supply the output signal '1' to the gate electrode of Trs 12, 21 to make inoperative and set an output to '0'.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、マイクロコンピュータの出力回路に関し、特
にCMOSマイクロコンピュータに用いられる表示素子
等の消費電力をスタンバイ時に提言し得る出力回路に関
する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an output circuit for a microcomputer, and more particularly to an output circuit that can estimate the power consumption of a display element, etc. used in a CMOS microcomputer during standby.

〔従来の技術〕[Conventional technology]

従来、この種のCMOSマイクロコンピュータの出力回
路は、第3図のようにP型MO8トランジスタとN型M
OSトランジスタを直列に接続して出力バッファにより
発光ダイオード(LED)の表示素子を駆動しているが
、出力バッファの出力が1に固定されたままスタンバイ
モードにすると、常にドライブ電流が流れる。このため
、出力バッファ消費電力は大きいため通常では、低消費
電力を実現するようにプログラムにおいてすべての出力
ポートをOにした後スタンバイモードにすることが行な
われている。
Conventionally, the output circuit of this type of CMOS microcomputer consists of a P-type MO8 transistor and an N-type M08 transistor, as shown in Figure 3.
OS transistors are connected in series and an output buffer drives a light emitting diode (LED) display element, but if the output buffer is set to standby mode with the output fixed at 1, a drive current always flows. For this reason, the power consumption of the output buffer is large, so normally, in order to achieve low power consumption, a program is used to set all output ports to O and then set the standby mode.

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

上述した従来のマイクロコンピュータの出力回路は、低
消費電力を実現するためにプログラムにおいて、その出
力を0にするため、複雑なプログラム処理を行なわなく
てはならないと云う欠点がある。
The above-mentioned conventional microcomputer output circuit has a drawback in that in order to reduce the output to zero in a program in order to achieve low power consumption, complicated program processing must be performed.

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

本発明のマイクロコンピュータの出力回路は、マイクロ
コンピュータからの命令により制御できるモードレジス
タと、前記モードレジスタの内容に従がい、スタンバイ
時に出力回路の任意の出力をOl又はハイ・インピーダ
ンスに設定する手段を有している。
The output circuit of the microcomputer of the present invention includes a mode register that can be controlled by instructions from the microcomputer, and means for setting any output of the output circuit to Ol or high impedance during standby according to the contents of the mode register. have.

〔実施例〕〔Example〕

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

第1図は、本発明の第1の実施例を示す。第1図におい
て、本発明の第1の実施例は、P型MOSトランジスタ
12と、N型MO8)−ランジスタ21とを直列コンブ
リメント接続した出力バッファを有し、P型MOSトラ
ンジスタ12のソース電極には電源電圧13が供給され
、N型MOSトランジスタ21のソース電極には接地電
位20に接続されたマイクロコンピュータの出力回路で
、両トランジスタ12.21のゲート電極にはそれぞれ
NAND回路22.23が接続されている。
FIG. 1 shows a first embodiment of the invention. In FIG. 1, the first embodiment of the present invention has an output buffer in which a P-type MOS transistor 12 and an N-type MO transistor 21 are connected in series, and the source electrode of the P-type MOS transistor 12 is supplied with a power supply voltage 13, the source electrode of an N-type MOS transistor 21 is an output circuit of a microcomputer connected to the ground potential 20, and the gate electrodes of both transistors 12 and 21 are connected to NAND circuits 22 and 23, respectively. It is connected.

このNAND回路22.23は一方の入力端子に内部入
力信号15が供給されているように接続されており、他
方の入力端子にNAND回路14が接続されている。N
AND回路14は一方の入力端子がモードレジスタ18
に接続されていて、他方の入力端子がスタンバイ信号1
9を入力するように接続されている。更にモードレジス
タ18はセット信号16とリセット信号17とが入力さ
れるように接続されている。
The NAND circuits 22 and 23 are connected so that the internal input signal 15 is supplied to one input terminal, and the NAND circuit 14 is connected to the other input terminal. N
One input terminal of the AND circuit 14 is connected to the mode register 18.
is connected to standby signal 1, and the other input terminal is connected to standby signal 1.
It is connected to input 9. Furthermore, the mode register 18 is connected so that the set signal 16 and the reset signal 17 are inputted thereto.

次に第1の実施例の動作について説明する。この実施例
においてはリセット信号170発生によりモードレジス
タ18がクリアされる。このモードレジスタ18は出力
が非選択レベル(以下ノンアクティブと略す。)になり
、NAND回路14の出力をII I IIにし、NA
ND回路22.23に供給する。このため、このNAN
D回路22゜23は内部入力信号15に基づいた内容が
、P型、N型MOSトランジスタ12.21に供給され
、それに応じた出力信号が出力端子11に出力され、通
常動作を行なう。
Next, the operation of the first embodiment will be explained. In this embodiment, mode register 18 is cleared by generation of reset signal 170. The output of this mode register 18 becomes a non-selection level (hereinafter abbreviated as non-active), the output of the NAND circuit 14 becomes II I II, and the NA
It is supplied to ND circuits 22 and 23. Therefore, this NAN
The D circuits 22 and 23 supply the contents based on the internal input signal 15 to the P-type and N-type MOS transistors 12 and 21, output signals corresponding thereto to the output terminal 11, and perform normal operation.

次にスタンバイモード時について説明をする。Next, the standby mode will be explained.

モードレジスタ18はマイクロコンピュータからの命令
により発生されるセット信号16によりセットされる。
The mode register 18 is set by a set signal 16 generated by a command from the microcomputer.

このモードレジスタ18は出力信号を選択レベル(以下
アクティブと略す。)にする。
This mode register 18 sets the output signal to a selection level (hereinafter abbreviated as active).

この後スタンバイ状態にすると、スタンバイ信号19が
アクティブとなり、NAND回路14はその出力信号を
°“0パにする。この結果・NAND回路22.23は
その出力信号“1°′を両MOSトランジスタ12.2
1のゲート電極に供給する。この両MOSトランジスタ
は非動作状態となり、出力端子11の出力を0′”に固
定する。したがって出力バッファによるドライブ電流は
ない為低消費電力が実現出来る。
After this, when the standby state is entered, the standby signal 19 becomes active, and the NAND circuit 14 sets its output signal to 0. As a result, the NAND circuits 22 and 23 send their output signal 1° to both MOS transistors .2
1 gate electrode. Both MOS transistors become inactive, and the output of the output terminal 11 is fixed at 0'''.Therefore, since there is no drive current due to the output buffer, low power consumption can be achieved.

次に本発明の第2の実施例について説明する。Next, a second embodiment of the present invention will be described.

第2図は、本発明の第2の実施例を示す。第2図におい
て、第2の実施例はP型トランジスタ32とN型MO9
トランジスタ43とを直列コンプリメント接続した出力
バッファを有し、P型トランジスタ32のソース電極に
は電源電圧33が供給され、N型のトランジスタ43の
ソース電極にはNAND回路44が接続されており、N
型MOSトランジスタ43のゲート電極にNOR回路4
5が接続されている。このNAND回路およびNOR回
路45は一方の入力端子に内部入力端子15が供給され
るように接続され、更にNAND回路44の他方の入力
端子にNAND回路36が、NOR回路45の入力端子
にインバータ回路34を介してNAND回路36が接続
されている。NAND回路36は一方の入力端子がモー
ドレジスタ37に接続され、他方の入力端子がモードレ
ジスタ37に接続されていて、他方の入力端子がスタン
バイ信号40を入力するように接続されている。更にモ
ードレジスタ37はセット信号38とリセット信号39
とが入力されるように接続されている。
FIG. 2 shows a second embodiment of the invention. In FIG. 2, the second embodiment includes a P-type transistor 32 and an N-type MO9
It has an output buffer in which a transistor 43 is connected in series in a complementary manner, a power supply voltage 33 is supplied to the source electrode of the P-type transistor 32, and a NAND circuit 44 is connected to the source electrode of the N-type transistor 43. N
A NOR circuit 4 is connected to the gate electrode of the type MOS transistor 43.
5 is connected. The NAND circuit and the NOR circuit 45 are connected so that the internal input terminal 15 is supplied to one input terminal, the NAND circuit 36 is connected to the other input terminal of the NAND circuit 44, and the inverter circuit is connected to the input terminal of the NOR circuit 45. A NAND circuit 36 is connected via 34. The NAND circuit 36 has one input terminal connected to the mode register 37, the other input terminal connected to the mode register 37, and the other input terminal connected to input the standby signal 40. Furthermore, the mode register 37 receives a set signal 38 and a reset signal 39.
is connected so that it is input.

この第2の実施例の動作を説明すると、リセット信号3
9の発生により、モードレジスタ37はクリアされモー
ドレジスタ37の出力はノンアクデイプとなりNAND
回路36の出力信号を“1″をにし、NAND回路44
の入力端子に供給され、一方INV回路34を介した出
力は′″0°′にし、NOR回路45の入力端子に供給
される。このため、NAND回路44およびNOR回路
45は内部入力信号41に基づいた信号を送出し、両M
oRトランジスタ32.43に供給する。両MOSトラ
ンジスタ32.43はその内容に応じて出力端子31に
出力し、通常動作を行なう。
To explain the operation of this second embodiment, the reset signal 3
9 occurs, the mode register 37 is cleared and the output of the mode register 37 becomes non-accelerated and becomes NAND.
The output signal of the circuit 36 is set to "1", and the NAND circuit 44
On the other hand, the output via the INV circuit 34 is set to ``0°'' and is supplied to the input terminal of the NOR circuit 45. Therefore, the NAND circuit 44 and the NOR circuit 45 input the internal input signal 41. Sends a signal based on both M
Supplied to oR transistors 32 and 43. Both MOS transistors 32 and 43 output to the output terminal 31 according to their contents and perform normal operation.

次にスタンバイモード時においてはマイクロコンピュー
タからの命令により発生されるセット信号38により、
モードレジスタ37をセットする。このモードトランジ
スタ37の出力はアクデイプとなり、NAND回路36
に供給される。この後、スタンバイ状態にするとスタン
バイ信号40がアクティブとなり、NAND回路36は
出力を“0“にしかつINV回路34の出力を1゛にす
る。これによりNAND回路44およびNOR回路45
の出力は共に“1″になり、両MOSトランジスタ32
.43に供給される。この結果側MOSトランジスタ3
2.34は共にセットオフ状態となり、出力端子31の
出力は、“ハイ・インピーダンスパとなり、両MO8ト
ランジスタからなる出力バッファによるドライブ電流が
流れないため低消費電力が実現出来る。
Next, in the standby mode, the set signal 38 generated by the command from the microcomputer causes the
Set mode register 37. The output of this mode transistor 37 becomes active, and the NAND circuit 36
is supplied to Thereafter, when the standby state is established, the standby signal 40 becomes active, the NAND circuit 36 sets the output to "0", and the output of the INV circuit 34 becomes 1'. As a result, the NAND circuit 44 and the NOR circuit 45
Both outputs become “1”, and both MOS transistors 32
.. 43. This result side MOS transistor 3
2 and 34 are both in the set-off state, and the output of the output terminal 31 becomes a "high impedance spur," and low power consumption can be achieved because no drive current flows through the output buffer made up of both MO8 transistors.

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

以上説明したように本発明は、モードレジスタをセット
することにより、スタンバイ時に出力を0またはハイ・
インピーダンスに固定できるため出力バッファに流れる
ドライブ電流を制御できるため低消費電力が実現でき、
さらに複雑なプログラムを必要としないという効果があ
る。
As explained above, the present invention sets the mode register to set the output to 0 or high during standby.
Since the impedance can be fixed, the drive current flowing to the output buffer can be controlled, resulting in low power consumption.
Another advantage is that no complicated program is required.

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

第1図は、本発明の第1の実施例を示す回路図、第2図
は本発明の第2の実施例を示す回路図、第3図は、従来
のマイクロコンピュータの出力回路を示す図である。 11.31・・・出力端子、12.32・・・P型MO
Sトランジスタ、13.33・・・電源電位、14゜2
2.23,36.44・・・NAND回路、15゜41
・・・内部入力信号、16.38・・・セット信号、1
7.39・・・リセット信号、18.37・・・モード
レジスタ、19.41・・・スタバイ信号、20゜42
・・・接地電位、21.43・・・N型MOSトランジ
スタ、45・・・MOR回路。
Fig. 1 is a circuit diagram showing a first embodiment of the present invention, Fig. 2 is a circuit diagram showing a second embodiment of the invention, and Fig. 3 is a diagram showing an output circuit of a conventional microcomputer. It is. 11.31...Output terminal, 12.32...P type MO
S transistor, 13.33...Power supply potential, 14°2
2.23, 36.44...NAND circuit, 15°41
...Internal input signal, 16.38...Set signal, 1
7.39... Reset signal, 18.37... Mode register, 19.41... Standby signal, 20°42
...Ground potential, 21.43...N-type MOS transistor, 45...MOR circuit.

Claims (1)

【特許請求の範囲】[Claims] P型MOSトランジスタとN型MOSトランジスタとを
相補接続したマイクロコンピュータの出力回路において
、マイクロコンピュータからの命令によりセット・リセ
ット状態を設定するモード・レジスタと、スタンバイ状
態時に出力される信号と、前記モードレジスタの出力信
号とにより前記両MOSトランジスタの出力を、任意の
固定レベル又はハイ・インピーダンスに設定する手段と
を有することを特徴とするマイクロコンピュータの出力
回路。
In an output circuit of a microcomputer in which a P-type MOS transistor and an N-type MOS transistor are connected in a complementary manner, there is a mode register for setting a set/reset state according to an instruction from the microcomputer, a signal output in a standby state, and the mode. 1. An output circuit for a microcomputer, comprising means for setting the outputs of both MOS transistors to an arbitrary fixed level or high impedance according to an output signal of a register.
JP62259014A 1987-10-13 1987-10-13 Microcomputer output circuit Pending JPH01100656A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62259014A JPH01100656A (en) 1987-10-13 1987-10-13 Microcomputer output circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62259014A JPH01100656A (en) 1987-10-13 1987-10-13 Microcomputer output circuit

Publications (1)

Publication Number Publication Date
JPH01100656A true JPH01100656A (en) 1989-04-18

Family

ID=17328150

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62259014A Pending JPH01100656A (en) 1987-10-13 1987-10-13 Microcomputer output circuit

Country Status (1)

Country Link
JP (1) JPH01100656A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100887191B1 (en) * 2002-06-19 2009-03-06 주식회사 포스코 A nozzle for continuous casting

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60252979A (en) * 1984-05-30 1985-12-13 Oki Electric Ind Co Ltd Cmos input/output circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60252979A (en) * 1984-05-30 1985-12-13 Oki Electric Ind Co Ltd Cmos input/output circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100887191B1 (en) * 2002-06-19 2009-03-06 주식회사 포스코 A nozzle for continuous casting

Similar Documents

Publication Publication Date Title
JPH0560129B2 (en)
JPH04130770A (en) Semiconductor integrated circuit
JPS61265794A (en) Decoder circuit of semiconductor storage device
JPH06350435A (en) Power down circuit
JP3315286B2 (en) Pulse voltage doubler circuit
JPH0248909B2 (en)
JPH01100656A (en) Microcomputer output circuit
JPS61262827A (en) Semiconductor integrated circuit device
JPH0685497B2 (en) Semiconductor integrated circuit
JPH02210492A (en) Liquid crystal display driving device
JPS63120522A (en) Semiconductor integrated circuit
JPS62135013A (en) Output circuit
JPS59224914A (en) Data latch circuit
JP2830244B2 (en) Tri-state buffer circuit
JPH0258925A (en) Output circuit
JP2647923B2 (en) Logic circuit
JPS594890B2 (en) digital circuit
JP2858503B2 (en) MOS type semiconductor integrated circuit
JP3066645B2 (en) Semiconductor device
JP2747102B2 (en) 1/2 bias LCD common signal generation circuit
JP2712432B2 (en) Majority logic
JPH06177766A (en) D/a conversion circuit
JPH02266609A (en) Set-reset type flip-flop circuit
JPH04104509A (en) Output circuit
JPH0373891B2 (en)