JPH03225484A - microcomputer - Google Patents
microcomputerInfo
- Publication number
- JPH03225484A JPH03225484A JP2021744A JP2174490A JPH03225484A JP H03225484 A JPH03225484 A JP H03225484A JP 2021744 A JP2021744 A JP 2021744A JP 2174490 A JP2174490 A JP 2174490A JP H03225484 A JPH03225484 A JP H03225484A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- level
- contact
- circuit
- state
- 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
Links
Landscapes
- Microcomputers (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は、外部割込機能を具備したマイクロコンピュ
ータに関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a microcomputer equipped with an external interrupt function.
第2図は、従来の、ボートに波形を出力するためのマイ
クロコンピュータの出力回路の構成図である0図におい
て、(A)は、トライステートIC(D)の入力(a)
に、そしてCB)は、トライステートIC(D)の入力
ら)に接続されている信号線。FIG. 2 is a configuration diagram of a conventional output circuit of a microcomputer for outputting a waveform to a boat. In FIG.
and CB) are signal lines connected to the inputs of the tristate IC (D).
また、トライステートIC(D)の出力(C)は、ボー
ト(C)に接続されている。Further, the output (C) of the tristate IC (D) is connected to the boat (C).
次に、従来技術の動作について説明する。Next, the operation of the prior art will be explained.
信号線(B)をOFFする場合、信号線Bからトライス
テー)IC(D)の入力(b)に信号が入力される。こ
のとき、信号線(A)からトライステートICCD)の
入力(a)に“H”レベルの信号が入力されると、トラ
イステー)IC(D)はOFF状態となり、ボート(C
)はハイインピーダンス状態になる。つまり、信号線(
B)はOFF状態となる。このように、従来技術では、
上記動作を図示しないソフトウェアによって制御し、信
号線(B)をOFF状態となるようにしている。When the signal line (B) is turned off, a signal is input from the signal line B to the input (b) of the tri-stay IC (D). At this time, when an "H" level signal is input from the signal line (A) to the input (a) of the tri-state ICCD), the tri-state ICCD (D) becomes OFF state, and the port (C
) becomes a high impedance state. In other words, the signal line (
B) is in the OFF state. In this way, in the conventional technology,
The above operation is controlled by software (not shown) so that the signal line (B) is turned off.
以上のように、従来のマイクロコンピュータでは、信号
線(B)をOFFにする動作をソフトウェアによって行
っているが、このような動作を頻繁に繰り返すとソフト
ウェアに負荷がかかるという欠点があった。As described above, in conventional microcomputers, the operation of turning off the signal line (B) is performed by software, but there is a drawback that frequent repetition of such an operation places a burden on the software.
本発明は、上記のような欠点を解消するためになされた
もので、ソフトウェアの負荷を減らすことができるマイ
クロコンピュータを得ることを目的とする。The present invention was made to eliminate the above-mentioned drawbacks, and an object of the present invention is to obtain a microcomputer that can reduce the software load.
本発明に係るマイクロコンピュータは、外部力ら直接、
出力信号をOFFすることができる外缶割込手段を設け
たものである。The microcomputer according to the present invention is directly affected by an external force.
This is provided with an outer can interrupt means that can turn off the output signal.
本発明によれば、外部割込回路をマイクロコンピュータ
に備えたから、ソフトウェアに頼らず、外部から強制的
に信号線CB)の出力信号をOFF状態にすることがで
きる。According to the present invention, since the microcomputer is equipped with an external interrupt circuit, it is possible to forcibly turn off the output signal of the signal line CB from the outside without relying on software.
以下、この発明の一実施例を図面を用いて説明する。 An embodiment of the present invention will be described below with reference to the drawings.
第1図は、この発明の一実施例によるマイクロコンピュ
ータにおける出力回路の構成図で、外部割込によって信
号線(B)の出力信号をOFF状態にするために、従来
のボート出力回路に外部割込回路が追加された構成とな
っている。FIG. 1 is a configuration diagram of an output circuit in a microcomputer according to an embodiment of the present invention. The configuration includes an additional built-in circuit.
図において、リセット信号(E)と外部割込信号(F)
はAND回路に入力されている。このAND回路の出力
は、ラッチ回路1.2を通ってトライステートIC(D
)の入力(a)に入力されている。In the figure, the reset signal (E) and external interrupt signal (F)
is input to the AND circuit. The output of this AND circuit passes through the latch circuit 1.2 to the tristate IC (D
) is input to input (a).
トライステートIC(D)の入力(ロ)は、信号線(B
)に接続されている。また、トライステートIC(D)
の出力(C)はボート(C)に接続されている。The input (B) of the tristate IC (D) is connected to the signal line (B
)It is connected to the. Also, tri-state IC (D)
The output (C) of is connected to the boat (C).
次に、本実施例の動作について説明する。Next, the operation of this embodiment will be explained.
外部からの信号によって強制的に出力信号をOFF状態
にする場合、リセット信号(E)は通常の状態では“H
”レベルを出力しているので、外部割込信号(F)が“
L”レベルのとき接点1は“L”レベルになる。また接
点1はラッチ回路1(7)NANDAND回路に接続さ
れているので、接点2は”H”レベルになる。さらに接
点2は、ラッチ回路2のインバータ回路に接続されてい
るので、接点3は”L”レベルになる。そして接点3は
、インバータ回路に接続されているのでトライステート
I C(cQの入力(a)はH”レベルになるため、O
FF状態になる。When the output signal is forcibly turned off by an external signal, the reset signal (E) is normally set to “H”.
” level, so the external interrupt signal (F) is “
Contact 1 becomes "L" level when the level is "L". Also, since contact 1 is connected to latch circuit 1 (7) NANDAND circuit, contact 2 becomes "H" level.Furthermore, contact 2 becomes "L" level. Since contact 3 is connected to the inverter circuit of circuit 2, it becomes "L" level. Since contact 3 is connected to the inverter circuit, the input (a) of tristate IC (cQ) becomes "H" level. To become O
It becomes FF state.
このように本実施例では、外部割込回路をマイクロコン
ピュータに備え、外部割込信号(F)を“L”レベルに
することによって強制的に信号線(B)の出力信号をO
FF状態にすることができこの結果、ソフトウェアの負
担を軽減することができる。As described above, in this embodiment, an external interrupt circuit is provided in the microcomputer, and by setting the external interrupt signal (F) to the "L" level, the output signal of the signal line (B) is forcibly turned off.
The FF state can be set, and as a result, the burden on the software can be reduced.
以上のように本発明によれば、出力信号を外部割込信号
によって、強制的にOFFすることができる外部割込回
路を設けた構成としたので、ソフトウェアの負荷が低減
されたマイクロコンピュータを得ることができるという
効果がある。As described above, according to the present invention, since the configuration includes an external interrupt circuit that can forcibly turn off the output signal by an external interrupt signal, a microcomputer with a reduced software load can be obtained. It has the effect of being able to
第1図は、本発明に一実施例によるマイクロコンピュー
タの回路構成図、第2図は従来のマイクロコンピュータ
の回路構成図である。
図において、(A)はトライステートICCD)への入
力線、(B)は三相モータ制御信号、(C)はボート、
(D)はトライステートIC1(E)はリセット信号、
(F)は外部割込信号。
なお図中同一符号は同−又は相当部分を示す。FIG. 1 is a circuit diagram of a microcomputer according to an embodiment of the present invention, and FIG. 2 is a circuit diagram of a conventional microcomputer. In the figure, (A) is the input line to the tri-state ICCD), (B) is the three-phase motor control signal, (C) is the boat,
(D) is a tri-state IC1 (E) is a reset signal,
(F) is an external interrupt signal. Note that the same reference numerals in the figures indicate the same or equivalent parts.
Claims (1)
とのできる外部割込回路を備えたことを特徴とするマイ
クロコンピュータ。(1) A microcomputer characterized by comprising an external interrupt circuit that can forcibly turn off an output signal externally.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021744A JPH03225484A (en) | 1990-01-30 | 1990-01-30 | microcomputer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021744A JPH03225484A (en) | 1990-01-30 | 1990-01-30 | microcomputer |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03225484A true JPH03225484A (en) | 1991-10-04 |
Family
ID=12063584
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021744A Pending JPH03225484A (en) | 1990-01-30 | 1990-01-30 | microcomputer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03225484A (en) |
-
1990
- 1990-01-30 JP JP2021744A patent/JPH03225484A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0345819A3 (en) | Overflow correction circuit | |
| JPH03225484A (en) | microcomputer | |
| JP2814704B2 (en) | Interrupt control circuit | |
| JPH0377406A (en) | Oscillation control circuit | |
| JPS61147362A (en) | Mode setting system of one-chip microcomputer | |
| JPH0511896A (en) | Semiconductor circuit | |
| JPH06103838B2 (en) | Logic circuit | |
| JPH0325228Y2 (en) | ||
| JPS6228838A (en) | Interruption control circuit | |
| JPH03225430A (en) | Interruption circuit | |
| JPH0237067Y2 (en) | ||
| JPS61224043A (en) | Interruption control circuit of microcomputer | |
| JPH0383143A (en) | Emulation circuit device | |
| JPS62131628A (en) | Interface circuit | |
| JPH0710421Y2 (en) | Output data control circuit | |
| JPS61154153A (en) | integrated circuit device | |
| JPH0430058B2 (en) | ||
| JPH0681047B2 (en) | Microcomputer with built-in A / D converter | |
| JPS62169831U (en) | ||
| JPH01122150A (en) | Logic lsi | |
| JPH01174986A (en) | Output shielding circuit | |
| JPS6158074A (en) | microcomputer | |
| JPS628715U (en) | ||
| JPS58131817A (en) | Power control function circuit | |
| JPH03164852A (en) | Integrated circuit |