JP3093374B2 - Interrupt controller - Google Patents

Interrupt controller

Info

Publication number
JP3093374B2
JP3093374B2 JP03283349A JP28334991A JP3093374B2 JP 3093374 B2 JP3093374 B2 JP 3093374B2 JP 03283349 A JP03283349 A JP 03283349A JP 28334991 A JP28334991 A JP 28334991A JP 3093374 B2 JP3093374 B2 JP 3093374B2
Authority
JP
Japan
Prior art keywords
circuit
output
interrupt
request signal
input
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 - Fee Related
Application number
JP03283349A
Other languages
Japanese (ja)
Other versions
JPH05120030A (en
Inventor
光充 西村
Original Assignee
日本電気アイシーマイコンシステム株式会社
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 日本電気アイシーマイコンシステム株式会社 filed Critical 日本電気アイシーマイコンシステム株式会社
Priority to JP03283349A priority Critical patent/JP3093374B2/en
Publication of JPH05120030A publication Critical patent/JPH05120030A/en
Application granted granted Critical
Publication of JP3093374B2 publication Critical patent/JP3093374B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、マイクロコンピュータ
に内蔵する割り込みコントローラに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an interrupt controller built in a microcomputer.

【0002】[0002]

【従来の技術】一般にマイクロコンピュータは図5に示
すような構成である。マイクロコンピュータ1では、メ
モリ3内に記憶されている命令に従ってCPU2が処理
を行う。周辺機能5はCPU2と内部バス6を介してデ
ータの書き込みまたは読み出し(以下、アクセスとい
う)を行い制御されるが、CPU2とは独立して動作し
ている。周辺機能5としてはタイマや外部割り込み信号
等があり、例えばタイマがある値になった場合や外部か
らの入力パルスがあった場合(以下、外部割り込みとい
う)等の特別な状態を周辺機能5が検出した場合に、C
PU2に検知させるために周辺機能5から割り込み要求
信号7を発生する。割り込み要求信号7は割り込みコン
トローラ4に入力される。割り込みコントローラ4は割
り込み処理要求をCPU2に送出してもよい状態(割り
込み許可状態)、他の割り込み要求の有無や割り込み要
求の優先順位の判別等を行い、条件が整っている場合に
割り込み要求として割り込み処理要求信号8をCPU2
に送出する。CPU2は割り込み処理要求信号8を検出
して受け付けると、割り込みコントローラ4に対し割り
込み処理要求信号8を受け付けたことを示す信号等の種
々の制御信号9を出力する。割り込み処理要求を受け付
けたCPU2はその時点まで実行していた処理を中断
し、対応する割り込み要求信号7に応じた割り込み処理
を実行する。
2. Description of the Related Art Generally, a microcomputer has a configuration as shown in FIG. In the microcomputer 1, the CPU 2 performs processing according to the instructions stored in the memory 3. The peripheral function 5 is controlled by writing or reading data (hereinafter referred to as access) via the CPU 2 and the internal bus 6, and operates independently of the CPU 2. The peripheral function 5 includes a timer, an external interrupt signal, and the like. For example, when the timer reaches a certain value or when there is an external input pulse (hereinafter referred to as an external interrupt), the peripheral function 5 If detected, C
The peripheral function 5 generates an interrupt request signal 7 for the PU2 to detect. The interrupt request signal 7 is input to the interrupt controller 4. The interrupt controller 4 performs a state in which an interrupt processing request may be sent to the CPU 2 (interrupt enabled state), determines the presence / absence of another interrupt request, and determines the priority of the interrupt request. Interrupt processing request signal 8
To send to. When the CPU 2 detects and receives the interrupt processing request signal 8, it outputs various control signals 9 such as a signal indicating that the interrupt processing request signal 8 has been received to the interrupt controller 4. Upon receiving the interrupt processing request, the CPU 2 interrupts the processing being executed up to that point and executes the interrupt processing corresponding to the corresponding interrupt request signal 7.

【0003】次に、図6に従来の割り込みコントローラ
の構成図を示し、図7のタイミイグ図を用いて動作を説
明する。図6で、INT0、INT1、INT2および
INT3は周辺機能5から出力される割り込み要求信号
7であり、それぞれの割り込み要求信号制御装置11、
12、13および14に入力されている。割り込み要求
信号制御装置11、割り込み要求信号制御装置12、割
り込み要求信号制御装置13および割り込み要求信号制
御装置14はそれぞれ同一の構成であるので割り込み要
求信号制御装置11について説明する。割り込み要求信
号7が発生してINT0が「1」になると、割り込み要
求フラグ(以下、IF0フラグという)であるRCフリ
ップフロップ137が「1」にセットされる。CPU2
が内部アドレスバスで割り込み要求信号制御装置11の
番地を指し、データを内部データバス149に出力して
ライト信号を発生すると、ライト信号制御回路128の
出力115が「1」になり、内部データバス149から
マスクビットであるラッチ142にCPU2が出力した
データが書き込まれる。マスクビットの内容が「1」の
ときはアンド回路638の出力はインバータ143によ
り「0」に固定されているが、マスクビットの内容が
「0」のときはアンド回路638の出力はEI信号と割
り込み要求フラグにより決定される。EI信号は割り込
み処理を許可する信号でEI信号が「1」のときに割り
込み処理が許可される。したがって、INT0が
「1」、マスクビットが「0」そしてEI信号が「1」
のときにアンド回路638の出力は「1」になり、オア
回路125の出力も「1」になる。割り込み要求信号制
御装置11からの出力131が「1」になるとインバー
タ119の出力は「0」になり、アンド回路122、1
23および124は「0」に固定される。同様に割り込
み要求信号制御装置12からの出力132が「1」にな
るとアンド回路123および124は「0」に固定され
る。同様に割り込み要求信号制御装置13からの出力1
33が「1」になるとアンド回路124は「0」に固定
される。アンド回路638の出力とアンド回路122、
123および124の各出力とはオア回路125に入力
されている。すなわち、複数個の割り込みが同時に発生
した場合に、INT0、INT1、INT2、INT3
の順番で優先されてオア回路125に入力される。CL
Kはタイミイグクロックであり、ラッチ126はCLK
が「0」のタイミイグでオア回路125の出力「1」を
ラッチし、INTRQ8が出力される。CPU2はこの
INTRQ8が「1」であることを検知すると、現在実
行中のプログラムの処理番地およびプログラムステータ
スの待避等の一連の処理の後に割り込み処理を開始す
る。まず、CPU2からOEVC信号が出力されて出力
バッファ130に入力される。アンド回路638の出力
およびアンド回路122、123および124のいずれ
かの出力が「1」になっときに、INT0、INT
1、INT2およびINT3の各割り込み処理に対応し
たベクタ割り込み処理アドレスがベクタテーブルアドレ
ス129から出力バッファ130を介して内部データバ
ス149に出力される。CPU2では、このベクタ割り
込み処理アドレスに基づき割り込み処理要求信号7がI
NT0、INT1、INT2またはINT3のどの割り
込みから発せられたものか判別する。つぎに、CPU2
の制御信号9のうち1本のCLRIF信号を「1」にす
る。CLRIF信号が「1」になると、アンド回路63
8、122、123および124の出力が「1」になっ
ている割り込み要求信号制御装置11、割り込み要求信
号制御装置12、割り込み要求信号制御装置13、割り
込み要求信号制御装置14のアンド回路135の出力が
「1」になり、割り込み要求フラグが「0」にリセット
される。なお、リセット信号は割り込みコントローラ4
を初期化する信号であり、リセット信号が「1」になる
と割り込み要求フラグは「0」、マスクビットは「1」
に初期化される。
FIG. 6 is a block diagram of a conventional interrupt controller, and its operation will be described with reference to a timing diagram of FIG. In FIG. 6, INT0, INT1, INT2, and INT3 are interrupt request signals 7 output from the peripheral function 5, and the respective interrupt request signal control devices 11,
12, 13, and 14. Since the interrupt request signal control device 11, the interrupt request signal control device 12, the interrupt request signal control device 13, and the interrupt request signal control device 14 have the same configuration, the interrupt request signal control device 11 will be described. When the interrupt request signal 7 is generated and INT0 becomes "1", the RC flip-flop 137 which is an interrupt request flag (hereinafter, referred to as IF0 flag) is set to "1". CPU2
Points to the address of the interrupt request signal control device 11 on the internal address bus, outputs data to the internal data bus 149 to generate a write signal, and the output 115 of the write signal control circuit 128 changes to "1". From 149, the data output by the CPU 2 is written to the latch 142 which is a mask bit. When the content of the mask bit is "1", the output of the AND circuit 638 is fixed to "0" by the inverter 143, but when the content of the mask bit is "0", the output of the AND circuit 638 is set to the EI signal. It is determined by the interrupt request flag. The EI signal is a signal for permitting the interrupt processing. When the EI signal is "1", the interrupt processing is permitted. Therefore, INT0 is “1”, the mask bit is “0”, and the EI signal is “1”.
At this time, the output of the AND circuit 638 becomes “1”, and the output of the OR circuit 125 also becomes “1”. When the output 131 from the interrupt request signal control device 11 becomes "1", the output of the inverter 119 becomes "0", and the AND circuits 122, 1
23 and 124 are fixed to "0". Similarly, when the output 132 from the interrupt request signal control device 12 becomes "1", the AND circuits 123 and 124 are fixed at "0". Similarly, output 1 from interrupt request signal control device 13
When 33 becomes "1", the AND circuit 124 is fixed at "0". The output of the AND circuit 638 and the AND circuit 122;
Each output of 123 and 124 is input to the OR circuit 125. That is, when a plurality of interrupts occur simultaneously, INT0, INT1, INT2, INT3
, And is input to the OR circuit 125. CL
K is the timing clock, and the latch 126
Latches the output "1" of the OR circuit 125 at the timing when "0" is output, and INTRQ8 is output. When the CPU 2 detects that the INTRQ 8 is “1”, the CPU 2 starts interrupt processing after a series of processing such as saving the processing address of the program currently being executed and saving the program status. First, the OEVC signal is output from the CPU 2 and input to the output buffer 130. When any of the outputs of the output and the AND circuit 122, 123 and 124 of the AND circuit 638 becomes "1", INT0, INT
The vector interrupt processing address corresponding to each of the interrupt processing of 1, INT2 and INT3 is output from the vector table address 129 to the internal data bus 149 via the output buffer 130. In the CPU 2, the interrupt processing request signal 7 is set to I based on the vector interrupt processing address.
It is determined which interrupt NT0, INT1, INT2 or INT3 has issued. Next, CPU2
Of the CLRIF signals among the control signals 9 is set to "1". When the CLRIF signal becomes “1”, the AND circuit 63
The outputs of the AND circuits 135 of the interrupt request signal control device 11, the interrupt request signal control device 12, the interrupt request signal control device 13, and the interrupt request signal control device 14, in which the outputs of 8, 122, 123 and 124 are "1". Becomes "1", and the interrupt request flag is reset to "0". The reset signal is output from the interrupt controller 4
When the reset signal becomes "1", the interrupt request flag becomes "0" and the mask bit becomes "1".
Is initialized to

【0004】いま、INT0、INT1、INT2およ
びINT3について、マスクビットがそれぞれ「0」、
「0」、「0」、「0」、EI信号が「1」に設定され
てい場合を図7のタイミイグ図を用いて説明する。図7
で、INT0がT2タイミングで「1」になったとする
と、IF0フラグが「1」にセットされる。インバータ
143は「1」、EI信号は「1」であるので、アンド
回路638からは「1」が出力される。すると、オア回
路125の出力が「1」になり、T2タイミングのCL
Kが「0」のタイミングでラッチ126から「1」が出
力され、INTRQ8が出力される。CPU2でINT
RQ8が受け付けられた後にT6タイミングでOEVC
信号が入力される。OEVC信号によって出力バッファ
130が導通し、ベクタ割り込み処理アドレスが内部デ
ータバス149に出力される。CLRIF信号がT10
タイミングで「1」になったとすると、割り込み要求信
号制御装置11のアンド回路135の出力が「1」にな
り、オア回路136を介してIF0フラグは「0」にリ
セットされる。IF0フラグであるRSフリップフロッ
プ137の出力「0」はアンド回路638、オア回路1
25およびラッチ126を介してINTRQ8として出
力される。一方、INT1がT5タイミングで「1」に
なったとすると、割り込み要求信号制御装置12のIF
0フラグに対応するゲートが「1」にセットされる。イ
ンバータに対応するゲートは「1」、EI信号は「1」
であるので、アンド回路638に対応するゲートからは
「1」が出力され、アンド回路122に入力される。ア
ンド回路122に対応するゲートの他方の入力であるイ
ンバータ143に対応するゲートの出力は「0」である
ので、アンド回路122に対応するゲートの出力は
「0」に固定されている。T10タイミングでCLRI
F信号が入力されてインバータ119の出力が「1」に
なったときに、アンド回路122の出力が「1」にな
る。すると、オア回路125の出力が「1」になり、C
LKが「0」のタイミングでラッチ126から「1」が
出力され、INTRQ8が出力される。以下、INT0
の割り込み受け付けと同様の処理が行われる。このよう
に、INT1によるINTRQ8の出力は優先順位の高
いINT0のIFフラグが「0」にリセットされるまで
待たされる。同様に、INT2およびINT3によるI
NTRQ出力も優先順位の高い割り込み要求のIFフラ
グがすべて「0」にリセットされるまで待たされる。
Now, for INT0, INT1, INT2, and INT3, the mask bits are "0",
The case where the "0", "0", "0", and EI signals are set to "1" will be described with reference to the timing chart of FIG. FIG.
If INT0 becomes "1" at the timing T2, the IF0 flag is set to "1". Since the inverter 143 is “1” and the EI signal is “1”, the AND circuit 638 outputs “1”. Then, the output of the OR circuit 125 becomes “1” and the CL at the timing T2
At the timing when K is “0”, “1” is output from the latch 126, and INTRQ8 is output. INT at CPU2
OEVC at T6 timing after RQ8 is accepted
A signal is input. The output buffer 130 is rendered conductive by the OEVC signal, and the vector interrupt processing address is output to the internal data bus 149. CLRIF signal is T10
If it becomes "1" at the timing, the output of the AND circuit 135 of the interrupt request signal control device 11 becomes "1", and the IF0 flag is reset to "0" via the OR circuit 136. The output "0" of the RS flip-flop 137, which is the IF0 flag, is supplied to the AND circuit 638 and the OR circuit 1
25, and is output as INTRQ8 via the latch 126. On the other hand, if INT1 becomes “1” at timing T5, the IF of the interrupt request signal control device 12
The gate corresponding to the 0 flag is set to "1". The gate corresponding to the inverter is “1” and the EI signal is “1”
Therefore, “1” is output from the gate corresponding to the AND circuit 638 and input to the AND circuit 122. Since the output of the gate corresponding to the inverter 143, which is the other input of the gate corresponding to the AND circuit 122, is “0”, the output of the gate corresponding to the AND circuit 122 is fixed to “0”. CLRI at T10 timing
When the F signal is input and the output of the inverter 119 becomes “1”, the output of the AND circuit 122 becomes “1”. Then, the output of the OR circuit 125 becomes “1”, and C
At the timing when LK is “0”, “1” is output from the latch 126, and INTRQ8 is output. Hereinafter, INT0
The same processing as that of the interrupt acceptance is performed. In this way, the output of INTRQ8 by INT1 is kept waiting until the IF flag of INT0 having a higher priority is reset to "0". Similarly, I by INT2 and INT3
The NTRQ output is also kept waiting until the IF flags of the interrupt requests with high priority are all reset to "0".

【0005】[0005]

【発明が解決しようとする課題】しかし、従来の割り込
みコントローラではひとつの割り込み要求に対しINT
RQが必ず出力されるので、複数個の割り込み要求がそ
ろったときに一度だけ割り込み処理を行いたい場合に、
複数個の割り込み要求がそろったことを検知するソフト
ウェア処理またはマイクロコンピュータの外部に回路を
設ける必要があった。
However, the conventional interrupt controller uses INT
Since RQ is always output, if you want to perform interrupt processing only once when multiple interrupt requests are collected,
It has been necessary to provide software processing for detecting the completion of a plurality of interrupt requests or to provide a circuit outside the microcomputer.

【0006】最近のマイクロコンピュータでは、リアル
タイム制御等高速処理の応用のため割り込みの応用が多
彩になり、またきめ細かな制御を行うために複数個の割
り込み要求がそろったとき一度だけ割り込み処理を行う
制御が必要になってきている。このような応用の一例と
して、例えばタイマを用いた時間計測等の応用がある。
一般にタイマを用いた時間計測には、計測したい外部機
能からパルスを発生させマイクロコンピュータの外部割
り込み端子に入力する。マイクロコンピュータは外部割
り込み入力時のタイマの値をラッチする。(以下、本動
作をキャプチャ動作、ラッチをキャプチャレジスタとい
う)このキャプチャ動作を二度繰り返し、一度目にラッ
チした値と二度目にラッチした値の差とタイマのカウン
ト周期時間とから外部機能で発生したパルス間の時間計
測を計算する。マイクロコンピュータでは、外部割り込
み入力時には割り込みコントローラから必ず割り込み処
理要求が出力される。したがって、割り込み処理は二度
起動され、一度目の割り込み処理では一度目の割り込み
であることを検知した後にキャプチャレジスタの値を退
避する。二度目の割り込み処理では二度目の割り込みで
あることを検知した後に時間計測処理を行う。しかし、
キャプチャレジスタを二個用意しておけば一度目の割り
込み処理は全く無駄になり、マイクロコンピュータ全体
の処理速度の低下を引き起こす。
[0006] In a recent micro-computer, becomes a colorful interrupt application for the application of real-time control, such as high-speed processing, also only interrupt processing it at a time when a plurality of interrupt requests are met in order to perform fine-grained control Is required. As an example of such an application, for example, there is an application such as time measurement using a timer.
Generally, in time measurement using a timer, a pulse is generated from an external function to be measured and input to an external interrupt terminal of a microcomputer. The microcomputer latches the timer value when an external interrupt is input. (Hereinafter, this operation is referred to as a capture operation, and the latch is referred to as a capture register.) This capture operation is repeated twice, and is generated by an external function from the difference between the first latched value and the second latched value, and the count cycle time of the timer. Calculate the time measurement between the applied pulses. In the microcomputer, when an external interrupt is input, an interrupt processing request is always output from the interrupt controller. Therefore, the interrupt process is started twice, and in the first interrupt process, the value of the capture register is saved after detecting that it is the first interrupt. In the second interruption processing, the time measurement processing is performed after detecting that the interruption is the second interruption. But,
If two capture registers are prepared, the first interrupt processing is completely useless, causing a reduction in the processing speed of the entire microcomputer.

【0007】このように、従来例では、複数個の割り込
み要求がそろったことを検知するソフトウェア処理また
はマイクロコンピュータの外部に回路を設けて制御して
いた。しかし、ソフトウェア処理で制御する場合はマイ
クロコンピュータ全体の処理スピードが低下し、また外
部に回路を設ける場合には応用システムが大型化し、コ
スト高につく欠点があった。
As described above, in the conventional example, control is performed by software processing for detecting that a plurality of interrupt requests are completed or by providing a circuit outside the microcomputer. However, when the control is performed by software processing, the processing speed of the entire microcomputer is reduced, and when an external circuit is provided, there is a disadvantage that the applied system becomes large and the cost increases.

【0008】本発明は、このような欠点を除去するもの
で、周辺機能が発生する割り込み要求信号が複数個セッ
トされたことを検出する手段をもつ割り込みコントロー
ラを提供することを目的とする。
An object of the present invention is to provide an interrupt controller having means for detecting that a plurality of interrupt request signals generated by peripheral functions have been set.

【0009】[0009]

【課題を解決するための手段】本発明は、割り込み要求
信号を発行する複数個の周辺機能を有するマイクロコン
ピュータに内蔵され、この割り込み要求信号を制御して
中央演算装置に割り込み処理要求信号を出力する割り込
みコントローラにおいて、上記複数個の周辺機能が発行
した割り込み要求信号を記憶する記憶回路と、上記記憶
回路に記憶された割り込み要求信号に対して判別条件に
基づき判定を行い、この判別条件が満足されたことを示
す判定信号を出力する条件判別回路と、この条件判別回
路からの判定信号または上記割り込み要求信号を同時に
複数検出した場合に上記中央演算装置に対して一度だけ
割り込み処理要求信号を出力する割り込み処理要求信号
出力装置とを備えたことを特徴とする。
The present invention is incorporated in a microcomputer having a plurality of peripheral functions for issuing an interrupt request signal, and controls the interrupt request signal to output an interrupt processing request signal to a central processing unit. An interrupt controller that stores an interrupt request signal issued by the plurality of peripheral functions, and makes a determination based on a determination condition with respect to the interrupt request signal stored in the storage circuit. A condition determination circuit that outputs a determination signal indicating that the determination has been made, and a determination signal from the condition determination circuit or the interrupt request signal are simultaneously transmitted.
An interrupt processing request signal output device that outputs an interrupt processing request signal to the central processing unit only once when a plurality of signals are detected.

【0010】[0010]

【作用】上記複数個の周辺機能が発行した割り込み要求
信号を記憶する。この記憶された割り込み要求信号に対
して所定個数の割り込み要求信号が所定期間内に記憶さ
れたことを判定する判別条件に基づき判定を行い、この
判別条件が満足されたことを示す判定信号を出力する。
この判定信号または割り込み要求信号を検出した場合に
中央演算装置に対して割り込み処理要求信号を出力す
る。
The interrupt request signals issued by the plurality of peripheral functions are stored. The stored interrupt request signal is determined based on a determination condition for determining that a predetermined number of interrupt request signals are stored within a predetermined period, and a determination signal indicating that the determination condition is satisfied is output. I do.
When the determination signal or the interrupt request signal is detected, an interrupt processing request signal is output to the central processing unit.

【0011】[0011]

【実施例】以下、本発明の一実施例を図面を用いて説明
する。図1は本発明の割り込みコントローラの構成図で
ある。図1で、アンド回路135、オア回路136、I
F0フラグであるRSフリップフロップ137およびI
F01フラグであるRSフリップフロップ139が割り
込み要求信号の記憶回路に相当し、ラッチ140、マス
クビットであるラッチ142、インバータ143、オア
回路141およびアンド回路138が条件判別回路に相
当し、またオア回路125およびラッチ126が割り込
み処理要求信号出力装置に相当する。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a configuration diagram of the interrupt controller of the present invention. In FIG. 1, an AND circuit 135, an OR circuit 136, I
RS flip-flops 137 and I which are F0 flags
The RS flip-flop 139 as the F01 flag corresponds to a storage circuit of an interrupt request signal, the latch 140, the latch 142 as a mask bit, the inverter 143, the OR circuit 141, and the AND circuit 138 correspond to a condition determining circuit. The reference numeral 125 and the latch 126 correspond to an interrupt processing request signal output device.

【0012】この実施例は、図5に示すように、複数個
の周辺機能5が発行した割り込み要求信号7を記憶する
記憶回路であるアンド回路135、オア回路136、R
Sフリップフロップ137およびRSフリップフロップ
139と、上記記憶回路に記憶された割り込み要求信号
7に対して判別条件に基づき判定を行い、この判別条件
が満足されたことを示す判定信号を出力する条件判別回
路であるラッチ140、ラッチ142、オア回路141
およびアンド回路138と、この条件判別回路からの判
定信号または割り込み要求信号7を検出した場合に中央
演算装置2に対し割り込み処理要求信号8を出力する割
り込み要求信号出力装置であるオア回路125およびラ
ッチ126とを備える。
In this embodiment, as shown in FIG. 5, an AND circuit 135, an OR circuit 136, and an R circuit 136 are storage circuits for storing interrupt request signals 7 issued by a plurality of peripheral functions 5.
Condition determination for making a determination based on a determination condition with respect to the S flip-flop 137 and the RS flip-flop 139 and the interrupt request signal 7 stored in the storage circuit, and outputting a determination signal indicating that the determination condition is satisfied Latch 140, Latch 142, OR circuit 141
And an AND circuit 138; an OR circuit 125 which is an interrupt request signal output device for outputting an interrupt processing request signal 8 to the central processing unit 2 when the determination signal or the interrupt request signal 7 from the condition determination circuit is detected; 126.

【0013】次に、この実施例の動作を説明する。図2
は図1の動作を示すタイミング図である。図1で、図6
と同一の番号で示す機能は同一の動作を行うので説明は
省略し、異なる部分に関して説明する。図1で、RSフ
リップフロップ139はセット入力に割り込み要求IN
T01が接続され、リセット入力にはオア回路の136
の出力が接続され、RSフリップフロップ137と同様
の動作を行う。RSフリップフロップ139の出力はオ
ア回路141に入力される。オア回路141の他入力に
はラッチ140の出力が接続されている。ラッチ140
にはデータとして内部データバス149の1ビットが入
力され、クロック入力にはライト制御回路128からセ
レクト信号145が入力され、従来例で説明したマスク
ビットであるラッチ142と同様にCPU2から書き込
みができる構成になっている。ラッチ140に「1」が
書き込まれた場合にオア回路141に「1」が入力され
てオア回路141の出力は「1」に固定され、ラッチ1
40に「0」が書き込まれていた場合にオア回路141
には「0」が入力されるので、RSフリップフロップ1
39の出力が「1」のときにオア回路141の出力は
「1」になる。オア回路141の出力はアンド回路13
8に入力されている。アンド回路138の他入力はIF
0フラグであるRSフリップフロップ137の出力、イ
ンバータ143の出力および割り込み許可信号EIであ
り、これらは従来例と同様の動作を行うので説明は省略
する。したがって、割り込み許可信号EI、マスクビッ
トがそれぞれ「1」、「0」の状態のときに、ラッチ1
40が「1」の場合にはアンド回路138の出力はRS
フリップフロップ137の出力値が出力され、ラッチ1
40が「0」の場合にはアンド回路138の出力はRS
フリップフロップ137、RSフリップフロップ139
の出力がそれぞれ「1」、「1」のときにのみ「1」が
出力される。アンド回路138の出力はオア回路125
およびラッチ126を介してINTRQ8として出力さ
れる。
Next, the operation of this embodiment will be described. FIG.
3 is a timing chart showing the operation of FIG. In FIG. 1, FIG.
Since the functions indicated by the same numbers perform the same operations, the description will be omitted, and different parts will be described. In FIG. 1, an RS flip-flop 139 outputs an interrupt request IN to a set input.
T01 is connected, and the reset input is connected to an OR circuit 136.
Are connected, and the same operation as that of the RS flip-flop 137 is performed. The output of the RS flip-flop 139 is input to the OR circuit 141. The output of the latch 140 is connected to the other input of the OR circuit 141. Latch 140
1 bit of the internal data bus 149 is input as data, a select signal 145 is input as a clock input from the write control circuit 128, and data can be written from the CPU 2 similarly to the latch 142 which is a mask bit described in the conventional example. It has a configuration. When “1” is written to the latch 140, “1” is input to the OR circuit 141, and the output of the OR circuit 141 is fixed at “1”.
When “0” is written in 40, the OR circuit 141
Is input to the RS flip-flop 1
When the output of 39 is “1”, the output of the OR circuit 141 becomes “1”. The output of the OR circuit 141 is the AND circuit 13
8 has been entered. The other input of the AND circuit 138 is IF
The output of the RS flip-flop 137, the output of the inverter 143, and the interrupt enable signal EI, which are 0 flags, perform the same operations as in the conventional example, and thus description thereof is omitted. Therefore, when the interrupt enable signal EI and the mask bit are “1” and “0”, respectively, the latch 1
When 40 is "1", the output of the AND circuit 138 is RS
The output value of flip-flop 137 is output, and latch 1
When 40 is "0", the output of the AND circuit 138 is RS
Flip-flop 137, RS flip-flop 139
"1" is output only when the outputs are "1" and "1", respectively. The output of the AND circuit 138 is the OR circuit 125
And is output as INTRQ8 via the latch 126.

【0014】次に、図1の動作を図2のタイミング図を
用いて説明する。図2は割り込み許可信号EI、マスク
ビットがそれぞれ「1」、「0」の状態のときにラッチ
140を「0」としたときの割り込みコントローラ4の
動作を示したタイミング図である。図2で、T2タイミ
ングでINT0が「1」になったとする。INT0が
「1」になると、T2タイミングでRSフリップフロッ
プ137は「1」にセットされる。RSフリップフロッ
プ137の出力はアンド回路138に入力されるが、ア
ンド回路138の他入力であるオア回路141の出力は
「0」であるので、アンド回路138の出力は「0」の
まま変化しない。次に、T5タイミングでINT01が
「1」になったとすると、RSフリップフロップ139
はT5タイミングで「1」にセットされる。RSフリッ
プフロップ139の出力「1」はオア回路141を介し
てアンド回路138に入力される。したがって、T5タ
イミングでアンド回路138の出力は「1」になり、オ
ア回路125を介しラッチ126に入力される。ラッチ
126はラッチクロック入力であるインバータ127に
よりT5タイミングのCLKの立ち下がりのタイミング
で「1」をラッチし、同時にINTRQ8として出力さ
れる。次に、CPU2からT8タイミングでOEVC信
号が出力され、割り込みコントローラ4からはベクタア
ドレスが内部データバス149に出力される。次に、T
12タイミングでCPU2からCLRIF信号が出力さ
れたとする。CLRIF信号はアンド回路135および
割り込み要求信号制御装置12、割り込み要求信号制御
装置13、割り込み要求信号制御装置14それぞれのア
ンド回路135に対応するアンド回路に入力される。ア
ンド回路135および割り込み要求信号制御装置12、
割り込み要求信号制御装置13、割り込み要求信号制御
装置14それぞれのアンド回路135に対応するアンド
回路に入力される。アンド回路135および割り込み要
求信号制御装置12、割り込み要求信号制御装置13、
割り込み要求信号制御装置14それぞれのアンド回路1
35に対応するアンド回路の他入力はそれぞれアンド回
路138、アンド回路122、アンド回路123、アン
ド回路124の出力であり、アンド回路138だけが
「1」であるので割り込み要求信号制御装置11のアン
ド回路135だけが「1」になる。アンド回路135の
出力「1」はオア回路136を介してRCフリップフロ
ップ137およびRSフリップフロップ139のリセッ
ト側に入力され、RSフリップフロップ137およびR
Sフリップフロップ139は「0」にリセットされる。
RSフリップフロップ137およびRSフリップフロッ
プ139の出力「0」はアンド回路138に入力され、
アンド回路138の出力は「0」になる。アンド回路1
38の出力「0」はオア回路125およびラッチ126
を介してT12タイミングのCLKの立ち下がりのタイ
ミングでINTRQ8として出力される。このように本
実施例では、INT0およびINT01の二つの信号か
ら「1」入力があったときINTRQ8が一度だけ発生
する。また、INT1およびINT11またはINT2
およびINT21またはINT3およびINT31でも
同様に二つの信号から「1」入力があったときにINT
RQ8を一度だけ発生させることができる。
Next, the operation of FIG. 1 will be described with reference to the timing chart of FIG. FIG. 2 is a timing chart showing the operation of the interrupt controller 4 when the latch 140 is set to "0" when the interrupt enable signal EI and the mask bit are "1" and "0", respectively. In FIG. 2, it is assumed that INT0 becomes "1" at timing T2. When INT0 becomes “1”, the RS flip-flop 137 is set to “1” at timing T2. The output of the RS flip-flop 137 is input to the AND circuit 138, but the output of the OR circuit 141, which is the other input of the AND circuit 138, is "0", so that the output of the AND circuit 138 remains unchanged at "0". . Next, assuming that INT01 becomes “1” at timing T5, the RS flip-flop 139
Is set to “1” at timing T5. The output “1” of the RS flip-flop 139 is input to the AND circuit 138 via the OR circuit 141. Therefore, the output of the AND circuit 138 becomes “1” at timing T5, and is input to the latch 126 via the OR circuit 125. The latch 126 latches “1” at the falling edge of the CLK at the timing of T5 by the inverter 127 which is the latch clock input, and outputs it at the same time as INTRQ8. Next, the CPU 2 outputs an OEVC signal at timing T8, and the interrupt controller 4 outputs a vector address to the internal data bus 149. Next, T
It is assumed that the CLRIF signal is output from the CPU 2 at twelve timings. The CLRIF signal is input to an AND circuit 135 and an AND circuit corresponding to the AND circuit 135 of each of the interrupt request signal control device 12, the interrupt request signal control device 13, and the interrupt request signal control device 14. AND circuit 135 and interrupt request signal control device 12,
The signals are input to AND circuits corresponding to the AND circuits 135 of the interrupt request signal control device 13 and the interrupt request signal control device 14, respectively. AND circuit 135, interrupt request signal control device 12, interrupt request signal control device 13,
AND circuit 1 of each interrupt request signal control device 14
The other inputs of the AND circuit corresponding to 35 are the outputs of the AND circuit 138, the AND circuit 122, the AND circuit 123, and the AND circuit 124, respectively. Since only the AND circuit 138 is "1", the AND of the interrupt request signal control device 11 Only the circuit 135 becomes “1”. The output “1” of the AND circuit 135 is input to the reset side of the RC flip-flop 137 and the RS flip-flop 139 via the OR circuit 136, and the RS flip-flop 137 and the R
The S flip-flop 139 is reset to “0”.
Outputs “0” of the RS flip-flops 137 and 139 are input to an AND circuit 138,
The output of the AND circuit 138 becomes "0". AND circuit 1
The output "0" of 38 is an OR circuit 125 and a latch 126.
Is output as INTRQ8 at the falling edge of CLK at timing T12. As described above, in the present embodiment, when there is a "1" input from the two signals INT0 and INT01, INTRQ8 is generated only once. Also, INT1 and INT11 or INT2
Similarly, when INT1 or INT3 and INT31 receive "1" input from two signals, INT
RQ8 can be generated only once.

【0015】次に、本発明の第二の実施例を図3および
図4を用いて説明する。図3は割り込みコントローラ4
の全体構成図である。
Next, a second embodiment of the present invention will be described with reference to FIGS. FIG. 3 shows the interrupt controller 4
FIG.

【0016】図3で、アンド回路135、オア回路13
6、IF0フラグであるRSフリップフロップ137、
IF01フラグであるRSフリップフロップ139およ
びIF02フラグであるRSフリップフロップ339が
割り込み要求信号の記憶回路に相当し、ラッチ140、
ラッチ340、ラッチ142、インバータ143、オア
回路141、オア回路341およびアンド回路338が
条件判別回路に相当し、またオア回路125およびラッ
チ126が割り込み処理要求信号出力装置に相当する。
In FIG. 3, an AND circuit 135 and an OR circuit 13
6, RS flip-flop 137 as IF0 flag,
An RS flip-flop 139 serving as an IF01 flag and an RS flip-flop 339 serving as an IF02 flag correspond to a storage circuit for an interrupt request signal.
The latch 340, the latch 142, the inverter 143, the OR circuit 141, the OR circuit 341 and the AND circuit 338 correspond to a condition determining circuit, and the OR circuit 125 and the latch 126 correspond to an interrupt processing request signal output device.

【0017】図4は図3のタイミング図である。第二の
実施例は第一の実施例と比較して各割り込み要求信号制
御レジスタに入力される割り込み要求信号が一信号ふえ
て三つの信号となっている他は全く同一の制御であるの
で、同一番号が付けられた回路の動作の説明は省略す
る。図3で、RSフリップフロップ339はセット入力
に割り込み要求INT02が接続され、リセット入力に
はオア回路136の出力が接続され、RSフリップフロ
ップ137およびRSフリップフロップ139と同様の
動作を行う。ラッチ340は第一の実施例で説明したラ
ッチ140と同様にCPU2からの書込みができる構成
になっていて、その出力はオア回路341に入力されて
いる。したがって、第一の実施例と同様にラッチ340
に「1」が書き込まれていた場合にオア回路341の出
力は「1」に固定され、ラッチ340に「0」が書き込
まれていた場合にRSフリップフロップ339の出力が
「1」のときにはオア回路341の出力は「1」にな
る。オア回路341の出力はアンド回路338に入力さ
れている。アンド回路338の他入力はRSフリップフ
ロップ137の出力、RSフリップフロップ139の出
力、インバータ143の出力および割り込み許可信号E
Iであり、これらは従来例および第一の実施例と同様の
動作を行うので説明は省略する。したがって、割り込み
許可信号EI、マスクビットがそれぞれ「1」、「0」
の状態のときにラッチ140、ラッチ340が「0」、
「0」の場合には、アンド回路338の出力はRSフリ
ップフロップ137、RSフリップフロップ139、R
Sフリップフロップ339の出力がそれぞれ「1」、
「1」、「1」のときのみ「1」が出力される。アンド
回路338の出力はオア回路125およびラッチ126
を介してINTRQ8として出力される。
FIG. 4 is a timing chart of FIG. The second embodiment is completely the same control as the first embodiment except that the interrupt request signal input to each interrupt request signal control register is one signal and three signals are added. The description of the operation of the circuit with the same number is omitted. In FIG. 3, the RS flip-flop 339 has a set input connected to the interrupt request INT02, a reset input connected to the output of the OR circuit 136, and performs the same operation as the RS flip-flop 137 and the RS flip-flop 139. The latch 340 has a configuration in which writing from the CPU 2 can be performed similarly to the latch 140 described in the first embodiment, and its output is input to the OR circuit 341. Therefore, the latch 340 is provided in the same manner as in the first embodiment.
The output of the OR circuit 341 is fixed to “1” when “1” is written to the latch 340, and the OR is output when the output of the RS flip-flop 339 is “1” when “0” is written to the latch 340. The output of the circuit 341 becomes “1”. The output of the OR circuit 341 is input to the AND circuit 338. The other inputs of the AND circuit 338 are the output of the RS flip-flop 137, the output of the RS flip-flop 139, the output of the inverter 143, and the interrupt enable signal E
I, which operate in the same manner as in the conventional example and the first embodiment, and a description thereof will be omitted. Therefore, the interrupt enable signal EI and the mask bit are "1" and "0", respectively.
Latch 140 and latch 340 are "0"
In the case of “0”, the outputs of the AND circuit 338 are RS flip-flops 137, 139, R
The output of the S flip-flop 339 is “1”,
"1" is output only when "1" or "1". The output of the AND circuit 338 is output from the OR circuit 125 and the latch 126.
Is output as INTRQ8 via

【0018】次に、図3の動作を図4のタイミング図を
用いて説明する。図4は割り込み許可信号EI、マスク
ビットがそれぞれ「1」、「0」の状態のときに、ラッ
チ140、ラッチ340をそれぞれ「0」、「0」とし
たときの割り込みコントローラ4の動作を示したタイミ
ング図である。図4で、T4タイミングまでは第一の実
施例と同様の動作を行うので説明は省略する。T5タイ
ミングで割り込み要求信号INT01が「1」になった
とする。INT01が「1」になると、T5タイミング
でIF01フラグであるRSフリップフロップ139は
「1」にセットされる。RSフリップフロップ139の
出力はアンド回路338に入力されるが、アンド回路1
38の他入力であるオア回路341の出力は「0」であ
るので、アンド回路338の出力は「0」のまま変化し
ない。次に、T8タイミングでINT02が「1」にな
ったとすると、RSフリップフロップ339はT8タイ
ミングで「1」にセットされる。RSフリップフロップ
339の出力「1」はオア回路341を介してアンド回
路338に入力される。したがって、T8タイミングで
アンド回路338の出力は「1」になり、オア回路12
5を介しラッチ126に入力される。ラッチ126はラ
ッチクロック入力であるインバータ127によりT8タ
イミングのCLKの立ち下がりのタイミングで「1」を
ラッチし、同時にINTRQ8として出力される。次
に、CPU2からT11タイミングでOEVC信号が出
力され、割り込みコントローラ4からはベクタアドレス
が内部バス149に出力される。次に、T15タイミン
グでCPU2からCLRIF信号が出力されたとする。
CLRIF信号はアンド回路135および割り込み要求
信号制御装置12、割り込み要求信号制御装置13、割
り込み要求信号制御装置14それぞれのアンド回路13
5に対応するアンド回路に入力される。アンド回路13
5および割り込み要求信号制御装置12、割り込み要求
信号制御装置13、割り込み要求信号制御装置14それ
ぞれのアンド回路135に対応するアンド回路の他入力
はそれぞれアンド回路338、アンド回路122、アン
ド回路123、アンド回路124の出力であり、アンド
回路338だけが「1」であるので割り込み要求信号制
御装置11のアンド回路135だけが「1」になる。ア
ンド回路135の出力「1」はオア回路136を介して
RSフリップフロップ137、RSフリップフロップ1
39およびRSフリップフロップ339のリセット側に
入力され、RSフリップフロップ137、RSフリップ
フロップ139およびRSフリップフロップ339は
「0」にリセットされる。RSフリップフロップ13
7、RSフリップフロップ139およびRSフリップフ
ロップ339の出力「0」はアンド回路338に入力さ
れ、アンド回路338の出力は「0」になる。アンド回
路338の出力値「0」はオア回路125およびラッチ
126を介してT12タイミングのCLKの立ち下がり
のタイミングでINTRQ8として出力される。このよ
うにこの実施例では、INT0、INT01、INT0
2の三つの信号のすべてから「1」入力があったときに
INTRQ8が一度だけ発生する。また、INT1、I
NT11、INT12またはINT2、INT21、I
NT22またはINT3、INT31、INT32でも
同様に三信号のすべてから「1」入力があったときにI
NTRQ8を一度だけ発生させることができる。
Next, the operation of FIG. 3 will be described with reference to the timing chart of FIG. FIG. 4 shows the operation of the interrupt controller 4 when the latch 140 and the latch 340 are set to "0" and "0", respectively, when the interrupt enable signal EI and the mask bit are "1" and "0", respectively. FIG. In FIG. 4, the same operation as that of the first embodiment is performed until the timing T4, and thus the description is omitted. It is assumed that the interrupt request signal INT01 becomes “1” at timing T5. When INT01 becomes “1”, the RS flip-flop 139 which is the IF01 flag is set to “1” at timing T5. The output of the RS flip-flop 139 is input to the AND circuit 338.
Since the output of the OR circuit 341 as the other input of the AND circuit 338 is “0”, the output of the AND circuit 338 remains “0” and does not change. Next, assuming that INT02 becomes "1" at the timing T8, the RS flip-flop 339 is set to "1" at the timing T8. The output “1” of the RS flip-flop 339 is input to the AND circuit 338 via the OR circuit 341. Therefore, at the timing T8, the output of the AND circuit 338 becomes “1”, and the OR circuit 12
5 to the latch 126. The latch 126 latches “1” at the falling edge of the CLK at the timing of T8 by the inverter 127, which is the latch clock input, and outputs it at the same time as INTRQ8. Next, an OEVC signal is output from the CPU 2 at timing T11, and a vector address is output from the interrupt controller 4 to the internal bus 149. Next, it is assumed that a CLRIF signal is output from the CPU 2 at timing T15.
The CLRIF signal is supplied to the AND circuit 135 and the AND circuit 13 of each of the interrupt request signal control device 12, the interrupt request signal control device 13, and the interrupt request signal control device 14.
5 and is input to the AND circuit corresponding to 5. AND circuit 13
5 and the other inputs of the AND circuits corresponding to the AND circuits 135 of the interrupt request signal control device 12, the interrupt request signal control device 13, and the interrupt request signal control device 14, respectively, are AND circuit 338, AND circuit 122, AND circuit 123, AND circuit Since this is the output of the circuit 124 and only the AND circuit 338 is “1”, only the AND circuit 135 of the interrupt request signal control device 11 becomes “1”. The output “1” of the AND circuit 135 is output via the OR circuit 136 to the RS flip-flop 137 and the RS flip-flop 1
39 and the RS flip-flop 339 are input to the reset side, and the RS flip-flop 137, the RS flip-flop 139, and the RS flip-flop 339 are reset to “0”. RS flip-flop 13
7, the output “0” of the RS flip-flop 139 and the RS flip-flop 339 is input to the AND circuit 338, and the output of the AND circuit 338 becomes “0”. The output value “0” of the AND circuit 338 is output as INTRQ8 via the OR circuit 125 and the latch 126 at the falling edge of the CLK at the timing T12. Thus, in this embodiment, INT0, INT01, INT0
INTRQ8 occurs only once when there is a "1" input from all three signals. Also, INT1, I
NT11, INT12 or INT2, INT21, I
Similarly, in NT22 or INT3, INT31, INT32, when "1" is input from all three signals, I
NTRQ8 can be generated only once.

【0019】この実施例では、割り込み要求がそろった
ときだけ割り込み処理要求を発生したが、周辺機能の状
態を判別する条件を任意に変更して特殊な条件を設定し
てもその効果に変化がない。
In this embodiment, an interrupt processing request is generated only when the interrupt requests are prepared. However, even if the condition for determining the state of the peripheral function is arbitrarily changed and special conditions are set, the effect is not changed. Absent.

【0020】[0020]

【発明の効果】本発明は、以上説明したように、マイク
ロコンピュータ全体の処理スピードを低下させずまた外
部に条件検出回路を設けずに複数個の割り込み要求がそ
ろったときに一度だけ割り込み処理要求を発生させるこ
とができる効果がある。
As described above, the present invention does not reduce the processing speed of the entire microcomputer and does not provide an external condition detection circuit. Has an effect that can be generated.

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

【図1】本発明第一実施例の構成を示すブロック構成
図。
FIG. 1 is a block diagram showing the configuration of a first embodiment of the present invention.

【図2】本発明第一実施例の動作を示すタイミング図。FIG. 2 is a timing chart showing the operation of the first embodiment of the present invention.

【図3】本発明第二実施例の構成を示すブロック構成
図。
FIG. 3 is a block diagram showing the configuration of a second embodiment of the present invention.

【図4】本発明第二実施例の動作を示すタイミング図。FIG. 4 is a timing chart showing the operation of the second embodiment of the present invention.

【図5】一般のマイクロコンピュータの構成図。FIG. 5 is a configuration diagram of a general microcomputer.

【図6】従来例の構成を示すブロック構成図。FIG. 6 is a block diagram showing the configuration of a conventional example.

【図7】従来例の動作を示すタイミング図。FIG. 7 is a timing chart showing the operation of the conventional example.

【符号の説明】[Explanation of symbols]

1 マイクロコンピュータ 2 CPU 3 メモリ 4 割り込みコントローラ(INTC) 5 周辺機能 6 内部バス 11 割り込み処理要求信号制御装置(IC0) 12 割り込み処理要求信号制御装置(IC1) 13 割り込み処理要求信号制御装置(IC2) 14 割り込み処理要求信号制御装置(IC3) 119 インバータ 122 アンド回路 123 アンド回路 124 アンド回路 125 オア回路 126 ラッチ 127 インバータ 128 ライト制御回路 129 ベクタアドレステーブル 130 出力バッファ 135 アンド回路 136 オア回路 137 RSフリップフロップ 138 アンド回路 139 RSフリップフロップ 140 ラッチ 141 オア回路 142 ラッチ 143 インバータ 145 セレクト信号 149 内部データバス 338 アンド回路 340 ラッチ 341 オア回路 638 アンド回路 DESCRIPTION OF SYMBOLS 1 Microcomputer 2 CPU 3 Memory 4 Interrupt controller (INTC) 5 Peripheral function 6 Internal bus 11 Interrupt processing request signal controller (IC0) 12 Interrupt processing request signal controller (IC1) 13 Interrupt processing request signal controller (IC2) 14 Interrupt request signal controller (IC3) 119 Inverter 122 AND circuit 123 AND circuit 124 AND circuit 125 OR circuit 126 Latch 127 Inverter 128 Write control circuit 129 Vector address table 130 Output buffer 135 AND circuit 136 OR circuit 137 RS flip-flop 138 AND Circuit 139 RS flip-flop 140 Latch 141 OR circuit 142 Latch 143 Inverter 145 Select signal 149 Internal data bus 3 8 and circuit 340 latch 341 OR circuit 638 and circuit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 9/46 G06F 13/24 G06F 15/78 ──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 9/46 G06F 13/24 G06F 15/78

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】割り込み要求信号を発行する複数個の周辺
機能を有するマイクロコンピュータに内蔵され、この割
り込み要求信号に応答して中央演算装置に割り込み処理
要求信号を出力する割り込みコントローラにおいて、上
記複数個の周辺機能が発行した割り込み要求信号を記憶
する複数の記憶回路と、前記複数の記憶回路の任意の一
個の出力と内部データバスに繋がるラッチからの出力が
オア回路に入力し,前記オア回路の出力と前記オア回路
を経由しない前記記憶回路の出力と内部データバスに繋
がるマスクビットラッチの出力と許可信号を入力とする
アンド回路とを備えた条件判定回路と前記複数の条件判
定回路からの複数の判定信号のいずれか一つを入力する
と割り込み処理要求信号を出力する割り込み処理要求信
号出力装置とからなる事を特徴とする割り込みコントロ
ーラ。
An interrupt controller which is incorporated in a microcomputer having a plurality of peripheral functions for issuing an interrupt request signal and outputs an interrupt processing request signal to a central processing unit in response to the interrupt request signal. A plurality of storage circuits for storing an interrupt request signal issued by the peripheral function, and an output of any one of the plurality of storage circuits and an output from a latch connected to an internal data bus are input to an OR circuit. A condition determination circuit including an output and an output of the storage circuit that does not pass through the OR circuit, an output of a mask bit latch connected to an internal data bus, and an AND circuit that receives a permission signal as input, and a plurality of conditions from the plurality of condition determination circuits. The interrupt processing request signal output device which outputs an interrupt processing request signal when any one of the judgment signals is input Interrupt controller, characterized in that that.
JP03283349A 1991-10-29 1991-10-29 Interrupt controller Expired - Fee Related JP3093374B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03283349A JP3093374B2 (en) 1991-10-29 1991-10-29 Interrupt controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03283349A JP3093374B2 (en) 1991-10-29 1991-10-29 Interrupt controller

Publications (2)

Publication Number Publication Date
JPH05120030A JPH05120030A (en) 1993-05-18
JP3093374B2 true JP3093374B2 (en) 2000-10-03

Family

ID=17664338

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03283349A Expired - Fee Related JP3093374B2 (en) 1991-10-29 1991-10-29 Interrupt controller

Country Status (1)

Country Link
JP (1) JP3093374B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008257549A (en) * 2007-04-06 2008-10-23 Nec Electronics Corp Control circuit of microcomputer, and control method
JP6008745B2 (en) * 2013-01-15 2016-10-19 ルネサスエレクトロニクス株式会社 Data processing device

Also Published As

Publication number Publication date
JPH05120030A (en) 1993-05-18

Similar Documents

Publication Publication Date Title
KR940001273B1 (en) Micro-system and method controlling bus-cycle
US5119480A (en) Bus master interface circuit with transparent preemption of a data transfer operation
JPH0743653B2 (en) Interrupt controller
EP0242879B1 (en) Data processor with wait control allowing high speed access
JP2661222B2 (en) Pulse output device
JPH0635849A (en) Method of controlling usage of bus and computer-system
JP3093374B2 (en) Interrupt controller
EP0462622B1 (en) Microprocessor capable of ensuring flexible recovery time for I/O device
US6292861B1 (en) Processor having interface with bus arbitration circuit
JPH0143392B2 (en)
JPH09311812A (en) Microcomputer
US20010005870A1 (en) External bus control system
JP2806700B2 (en) Multi-processing system
JP3565603B2 (en) Microcontroller system and microcontroller
JPH0724044B2 (en) Computer system with DMA access
JPH0317137B2 (en)
JPH11273380A (en) Lsi operation mode setting signal fetching method and lsi with mode signal fetching function
JPS6342547A (en) Line control unit
JPH0551931B2 (en)
JPH0816452A (en) Common memory access controller
JPH0728752A (en) Interface register
JPS60201465A (en) Data processing device
JPS621059A (en) Shared memory access method for multi-microprocessor system
JPH04330549A (en) Controller
JPH05127974A (en) Semaphore bit circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees