JPH06187166A - Interruption control system for transmitter - Google Patents

Interruption control system for transmitter

Info

Publication number
JPH06187166A
JPH06187166A JP33335392A JP33335392A JPH06187166A JP H06187166 A JPH06187166 A JP H06187166A JP 33335392 A JP33335392 A JP 33335392A JP 33335392 A JP33335392 A JP 33335392A JP H06187166 A JPH06187166 A JP H06187166A
Authority
JP
Japan
Prior art keywords
interrupt
cpu
clock
time
interrupt signal
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.)
Withdrawn
Application number
JP33335392A
Other languages
Japanese (ja)
Inventor
Kazuto Takagi
一人 高城
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP33335392A priority Critical patent/JPH06187166A/en
Publication of JPH06187166A publication Critical patent/JPH06187166A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To provide an interruption control system of a transmitter made possible accurately recognizing by a CPU the time when each interruption is generated when plural numbers of the interruption are simultaneously generated. CONSTITUTION:In the interruption control system of the transmitter provided with an interruption control part 500 and the CPU 120, plural clock circuits (900-1-900-n) provided for the number corresponding at least to the input of plural interruption signals for normally operating as regular clocks, stopping an operation as the corresponding clocks when the plural interruption signals are inputted and restarting the operation as the clocks by control signals from the CPU 120 based on the time of completion when a prescribed processing for the interruption signals is completed at the CPU 120 are added to the interruption control part 500 and the generation time of the respective interruption signals is recognized at the CPU 120 by the time when the clock circuits 900-1-900-n are stopped.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は伝送装置の割り込み制御
方式の改良に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to improvement of an interrupt control system for a transmission device.

【0002】[0002]

【従来の技術】図6は従来例の割り込みコントローラの
回路構成図である。図7は従来例の動作を説明するため
のタイムチャートである。
2. Description of the Related Art FIG. 6 is a circuit diagram of a conventional interrupt controller. FIG. 7 is a time chart for explaining the operation of the conventional example.

【0003】図6において、インタラプトリクエストレ
ジスタ1は例えば8個の入力端子〜を有し、3個の
割り込み信号(1)(IRQ1)〜(3)(IRQ3)が入力端子〜に
同時に入力された場合について説明する。優先順位決定
部2でこれを認識し、インタラプトマスクレジスタ3に
記憶されるマスクすべき割り込み信号データにより、優
先順位を決定する。例えば優先順位が割り込み信号(1)
>割り込み信号(2)>割り込み信号(3) とすると、優先
順位決定部2ではまず割り込み信号(1) について割り込
みが発生したこと(INT)を制御部5を介してCPU
(図示しない)に通知するとともに、割り込み信号(1)
のデータを処理サービス中レジスタ4に転送して一時記
憶する。
In FIG. 6, the interrupt request register 1 has, for example, eight input terminals, and three interrupt signals (1) (IRQ 1 ) to (3) (IRQ 3 ) are simultaneously input to the input terminals. The case where it is performed will be described. The priority order determination unit 2 recognizes this, and the priority order is determined by the interrupt signal data to be masked stored in the interrupt mask register 3. For example, the priority is interrupt signal (1)
> Interrupt signal (2)> Interrupt signal (3), the priority determination unit 2 first determines that an interrupt has occurred for the interrupt signal (1) (INT) via the control unit 5 by the CPU.
Notify (not shown) and interrupt signal (1)
Data is transferred to the in-service register 4 and temporarily stored.

【0004】リードライト制御部6からの読み出し制御
信号により処理サービス中レジスタ4に記憶した割り込
み信号(1) のデータを読み出して、内部バス及びデータ
バスインタフェース部7を介してCPU(図示しない)
に転送する。CPU(図示しない)では割り込み信号
(1)を認識するとともに、割り込み信号(1) の発生時刻
を認識した時刻T1 として認識する。そして、CPU
(図示しない)で割り込み信号(1)のデータに対する処
理を行い、完了した時割り込み信号(1)の完了を制御部
5に通知し(INTA) 、制御部5ではインタラプトマスク
レジスタ3を制御して割り込み信号(1)をクリアする
(図7参照)。
A read control signal from the read / write control unit 6 reads the data of the interrupt signal (1) stored in the in-service register 4, and a CPU (not shown) via the internal bus and data bus interface unit 7
Transfer to. Interrupt signal in CPU (not shown)
In addition to recognizing (1), the time of occurrence of the interrupt signal (1) is recognized as the recognized time T 1 . And CPU
(Not shown) processes the data of the interrupt signal (1), and when completed, notifies the control unit 5 of the completion of the interrupt signal (1) (INTA), and the control unit 5 controls the interrupt mask register 3 The interrupt signal (1) is cleared (see Fig. 7).

【0005】次に、優先順位決定部2で割り込み信号
(2) の発生したことをCPU(図示しない)に通知し、
CPU(図示しない)では割り込み信号(2)を認識する
とともに、割り込み信号(2) の発生時刻をこれを認識し
た時刻T2 として認識する。そして、CPU(図示しな
い)で割り込み信号(2)のデータに対する処理を完了し
た時インタラプトマスクレジスタ3により割り込み信号
(2)をクリアする。
Next, the priority order determining section 2 issues an interrupt signal.
Notify the occurrence of (2) to the CPU (not shown),
The CPU (not shown) recognizes the interrupt signal (2) and also recognizes the generation time of the interrupt signal (2) as the recognized time T 2 . Then, when the CPU (not shown) completes the processing of the data of the interrupt signal (2), the interrupt signal is generated by the interrupt mask register 3.
Clear (2).

【0006】割り込み信号(3) についても同様にしてC
PU(図示しない)で割り込み信号(3)を認識するとと
もに、割り込み信号(3) の発生時刻をこれを認識した時
刻T3 として認識する。そして、CPU(図示しない)
で割り込み信号(3)に対する処理を完了した時インタラ
プトマスクレジスタ3により割り込み信号(3)をクリア
する(図7参照)。
Similarly for the interrupt signal (3), C
When the PU (not shown) recognizes the interrupt signal (3)
Also, when the occurrence time of the interrupt signal (3) is recognized
Tick T3 Recognize as. And CPU (not shown)
When the processing for the interrupt signal (3) is completed with
Clear the interrupt signal (3) by using the mask mask register 3.
(See FIG. 7).

【0007】CPUにおいて割り込みが発生したことを
ログとして記録しておくような場合、割り込み信号(1)
の発生時刻は実際に割り込みが発生した時刻にほぼ等し
い時刻T1 として記録されるが、割り込み信号(2)ある
いは(3)の発生時刻はCPUがそれらを認識した時刻T
2 、あるいはT3 として記録されてしまう。この結果、
同時に複数の割り込みが発生した時に、優先順位の低い
割り込みの発生時刻をCPUで正確に認識できないとい
う欠点があった。
When the occurrence of an interrupt in the CPU is recorded as a log, the interrupt signal (1)
The time of occurrence of the interrupt signal is recorded as a time T 1 which is almost equal to the time of the actual interrupt, but the time of occurrence of the interrupt signal (2) or (3) is the time T when the CPU recognizes them.
It is recorded as 2 or T 3 . As a result,
When a plurality of interrupts are generated at the same time, there is a drawback that the CPU cannot accurately recognize the generation time of the interrupt having a low priority.

【0008】[0008]

【発明が解決しようとする課題】上述したように従来
は、同時に複数の割り込みが発生した時に、優先順位の
低い割り込みの発生時刻をCPUで正確に認識できない
という問題点があった。
As described above, conventionally, when a plurality of interrupts occur at the same time, there is a problem that the CPU cannot accurately recognize the time of occurrence of an interrupt having a low priority.

【0009】したがって本発明は、同時に複数の割り込
みが発生した時に各割り込みの発生した時刻をCPUが
正確に認識できる伝送装置の割り込み制御方式を提供す
ることを目的とする。
Therefore, it is an object of the present invention to provide an interrupt control system for a transmission apparatus in which the CPU can accurately recognize the time when each interrupt occurs when a plurality of interrupts occur simultaneously.

【0010】[0010]

【課題を解決するための手段】上記問題点は図1又は図
2に示す回路の構成によって解決される。図1におい
て、複数の割り込み信号入力の優先順位を決定して優先
順位にしたがって割り込み信号をCPUに転送する割り
込み制御部500 と、割り込み制御部から転送されてきた
割り込み信号の発生時刻を認識し所定の処理を行うCP
U120 とを有する伝送装置の割り込み制御方式におい
て、少なくとも前記複数の割り込み信号入力に対応する
数だけ設けられ、通常は正規の時計として動作し、前記
複数の割り込み信号を入力した時には対応する時計とし
ての動作を停止し、前記CPUで割り込み信号に対して
所定の処理を完了した時完了した時刻に基づいて前記C
PUからの制御信号により時計としての動作を再開する
複数の時計回路900-1 〜900-nを前記割り込み制御部に
付加する。
The above problems can be solved by the circuit configuration shown in FIG. 1 or 2. In FIG. 1, a priority order of a plurality of interrupt signal inputs is determined and an interrupt control unit 500 that transfers the interrupt signals to the CPU in accordance with the priority order, and an occurrence time of the interrupt signal transferred from the interrupt control unit are recognized and predetermined. CP that processes
In the interrupt control method of the transmission device having U120, at least the number corresponding to the plurality of interrupt signal inputs is provided, and normally operates as a regular clock, and when the plurality of interrupt signals are input, the corresponding clock is used. When the operation is stopped and the CPU completes a predetermined process for the interrupt signal, the C
A plurality of clock circuits 900-1 to 900-n which resume the operation as a clock by a control signal from the PU are added to the interrupt control unit.

【0011】そして、上記時計回路の停止した時刻によ
りCPU120で各割り込み信号の発生時刻を認識するよ
うに構成する。図2において、複数の割り込み信号入力
の優先順位を決定して優先順位にしたがって割り込み信
号をCPUに転送する割り込み制御部500 と、割り込み
制御部から転送されてきた割り込み信号の発生時刻を認
識し所定の処理を行うCPU120 とを有する伝送装置の
割り込み制御方式において、正規の時計として動作する
標準時計回路100 と、少なくとも前記複数の割り込み信
号入力に対応する数だけ設けられ、通常は正規の時計と
して動作し、前記複数の割り込み信号を入力した時には
対応する時計としての動作を停止し、前記CPUで割り
込み信号に対して所定の処理を完了した時前記CPUか
らの制御信号により標準時計回路の時刻に基づいて時計
としての動作を再開する複数の時計回路900-1 〜900-n
を前記割り込み制御部に付加する。
The CPU 120 recognizes the generation time of each interrupt signal based on the time when the clock circuit stops. In FIG. 2, an interrupt control unit 500 that determines the priority order of a plurality of interrupt signal inputs and transfers the interrupt signals to the CPU in accordance with the priority order, and recognizes the generation time of the interrupt signal transferred from the interrupt control unit and determines a predetermined value. In the interrupt control system of the transmission device having the CPU 120 for performing the processing of 1, the standard clock circuit 100 that operates as a regular clock and the number corresponding to at least the plurality of interrupt signal inputs are provided, and normally operate as a regular clock. However, when the plurality of interrupt signals are input, the operation of the corresponding timepiece is stopped, and when the CPU completes a predetermined process for the interrupt signal, the control signal from the CPU is used to determine the time based on the time of the standard clock circuit. Clock circuits 900-1 to 900-n that resume operation as a clock
To the interrupt control unit.

【0012】そして、上記時計回路の停止した時刻によ
りCPU120で各割り込み信号の発生時刻を認識するよ
うに構成する。
Then, the CPU 120 recognizes the generation time of each interrupt signal according to the stop time of the clock circuit.

【0013】[0013]

【作用】図1において、前記複数の割り込み信号を入力
した時には複数の時計回路900-1 〜900-nのうち対応す
る時計回路の時計としての動作を停止する。そして、C
PU120で各割り込み信号に対して順次所定の処理を行
う時、上記時計回路の停止した時刻により対応する割り
込み信号の発生時刻を認識する。
In FIG. 1, when the plurality of interrupt signals are input, the operation of the corresponding clock circuit among the plurality of clock circuits 900-1 to 900-n is stopped. And C
When the PU 120 sequentially performs a predetermined process on each interrupt signal, the generation time of the corresponding interrupt signal is recognized from the time when the clock circuit stops.

【0014】この結果、同時に複数の割り込みが発生し
た時に各割り込みの発生した時刻をCPUが正確に認識
することが可能となる。図2の場合も、前述した図1の
場合と同様である。
As a result, when a plurality of interrupts occur simultaneously, the CPU can accurately recognize the time when each interrupt occurs. The case of FIG. 2 is similar to the case of FIG. 1 described above.

【0015】[0015]

【実施例】図3は本発明の第1の実施例の割り込みコン
トローラの回路構成図である。図4は実施例の動作を説
明するためのタイムチャートである。
FIG. 3 is a circuit diagram of an interrupt controller according to the first embodiment of the present invention. FIG. 4 is a time chart for explaining the operation of the embodiment.

【0016】図5は本発明の第2/第3の実施例の割り
込みコントローラの回路構成図である。図3において、
従来例の場合と同様に、インタラプトリクエストレジス
タ1は例えば8個の入力端子〜を有し、3個の割り
込み信号(1)(IRQ1)〜(3)(IRQ3)が入力端子〜に同時
に入力された場合について説明する。優先順位決定部2
でこれを認識し、インタラプトマスクレジスタ3に記憶
されるマスクすべき割り込み信号データにより、優先順
位を決定する。例えば優先順位が割り込み信号(1) >割
り込み信号(2) >割り込み信号(3) とすると、優先順位
決定部2ではまず割り込み信号(1) について割り込みが
発生したこと(INT)を制御部5を介してCPU(図
示しない)に通知するとともに、割り込み信号(1) のデ
ータを処理サービス中レジスタ4に転送して一時記憶す
る。
FIG. 5 is a circuit diagram of an interrupt controller according to the second and third embodiments of the present invention. In FIG.
As in the case of the conventional example, the interrupt request register 1 has, for example, eight input terminals to, and three interrupt signals (1) (IRQ 1 ) to (3) (IRQ 3 ) are simultaneously input to the input terminals. The case of input will be described. Priority decision unit 2
This is recognized and the priority order is determined by the interrupt signal data to be masked stored in the interrupt mask register 3. For example, if the priority order is interrupt signal (1)> interrupt signal (2)> interrupt signal (3), the priority determination unit 2 first informs the control unit 5 that an interrupt has occurred for the interrupt signal (1) (INT). The CPU (not shown) is notified via this, and the data of the interrupt signal (1) is transferred to the processing service register 4 and temporarily stored.

【0017】同時に複数の割り込み信号(1) 〜(3)が同
時に入力されたことをインタラプトリクエストレジスタ
1から新たに設けた時計制御部8に通知する。時計制御
部8ではこれを認識して、新たに設けたIRQ1用時計回路
9-1 、IRQ2用時計回路9-2 、及びIRQ3用時計回路9-3 の
計時動作を同時に停止させる。IRQ1用時計回路9-1 〜IR
Q8用時計回路9-8 を例えばカウンタにより構成する時に
は9-1 〜9-3 に対応するカウンタのカウント動作を止め
る。この結果、IRQ1用時計回路9-1 〜IRQ3用時計回路9-
3はこの時刻T1 で停止する(図4参照)。
At the same time, the interrupt request register 1 notifies the newly provided clock control unit 8 that a plurality of interrupt signals (1) to (3) have been simultaneously input. The clock control unit 8 recognizes this and newly provided clock circuit for IRQ 1
The clocking operations of 9-1, IRQ 2 clock circuit 9-2, and IRQ 3 clock circuit 9-3 are stopped at the same time. Clock circuit for IRQ 1 9-1 ~ IR
When the clock circuit for Q 8 9-8 is composed of, for example, a counter, the counting operation of the counters corresponding to 9-1 to 9-3 is stopped. As a result, IRQ 1 clock circuit 9-1 to IRQ 3 clock circuit 9-
3 stops at this time T 1 (see FIG. 4).

【0018】一方、CPU(図示しない)では、リード
ライト制御部6により処理サービス中レジスタ4から読
み出された割り込み信号(1) のデータを認識するととも
に、割り込み信号(1) の発生時刻T1 を上述したIRQ1
時計回路9-1 により認識する。そして、CPU(図示し
ない)で割り込み信号(1)のデータに対する処理を行
い、完了した時割り込み信号(1)の完了を制御部5に通
知し(INTA)、制御部5ではインタラプトマスクレジスタ
3を制御して割り込み信号(1)をクリアする。同時にC
PU(図示しない)内に有する時計回路により割り込み
信号(1) をクリアした時刻をIRQ1用時計回路9-1 に設定
して、IRQ1用時計回路9-1 の計時動作を再開する。
On the other hand, the CPU (not shown) recognizes the data of the interrupt signal (1) read from the in-process register 4 by the read / write control unit 6 and generates the interrupt signal (1) at the time T 1. Is recognized by the IRQ 1 clock circuit 9-1 described above. Then, the CPU (not shown) processes the data of the interrupt signal (1) and, when completed, notifies the control unit 5 of the completion of the interrupt signal (1) (INTA), and the control unit 5 sets the interrupt mask register 3 Control and clear the interrupt signal (1). At the same time C
PU to set the time at which clears the interrupt signal by the clock circuit having in (not shown) (1) to IRQ 1 timepiece circuit 9-1, restarts the timing operations for IRQ 1 clock circuit 9-1.

【0019】次に、優先順位決定部2で割り込み信号
(2) の発生したことを制御部5を介してCPU(図示し
ない)に通知し、CPU(図示しない)では割り込み信
号(2)を認識するとともに、割り込み信号(2) の発生時
刻を上述したIRQ2用時計回路9-2 によりT1 と認識す
る。そして、CPU(図示しない)で割り込み信号(2)
のデータに対する処理を完了した時インタラプトマスク
レジスタ3により割り込み信号(2)をクリアする。同時
にCPU(図示しない)内に有する時計回路により割り
込み信号(2) をクリアした時刻をIRQ2用時計回路9-2 に
設定して、IRQ2用時計回路9-2 の計時動作を再開する。
Next, the priority order determining unit 2 causes an interrupt signal.
The occurrence of (2) is notified to the CPU (not shown) via the control unit 5, and the CPU (not shown) recognizes the interrupt signal (2), and the generation time of the interrupt signal (2) is described above. It is recognized as T 1 by the IRQ 2 clock circuit 9-2. Then, an interrupt signal (2) is generated by the CPU (not shown).
When the processing for the data of 1 is completed, the interrupt signal (2) is cleared by the interrupt mask register 3. At the same time the CPU sets the time in which to clear the interrupt signal (2) by the clock circuit having in (not shown) to the IRQ 2 for clock circuit 9-2, restarts the timing operations for IRQ 2 clock circuit 9-2.

【0020】割り込み信号(3) についても同様にCPU
(図示しない)で割り込み信号(3)を認識するととも
に、割り込み信号(3) の発生時刻を上述したIRQ3用時計
回路9-3 によりT1 と認識する。そして、CPU(図示
しない)で割り込み信号(3)のデータに対する処理を完
了した時インタラプトマスクレジスタ3により割り込み
信号(3)をクリアする。同時にCPU(図示しない)内
に有する時計回路により割り込み信号(3) をクリアした
時刻をIRQ3用時計回路9-3 に設定して、IRQ3用時計回路
9-3 の計時動作を再開する。以上の動作を図4にタイム
チャートで示す。上述した動作は3個の割り込み信号
(1) 〜(3) に限られるものではなく、n個の割り込み信
号(1) 〜(n) についても成立することは言うまでもな
い。
Similarly for the interrupt signal (3), the CPU
The interrupt signal (3) is recognized (not shown), and the time at which the interrupt signal (3) is generated is recognized as T 1 by the IRQ 3 clock circuit 9-3 described above. Then, when the CPU (not shown) completes the processing for the data of the interrupt signal (3), the interrupt mask (3) is cleared by the interrupt mask register 3. At the same time, the time when the interrupt signal (3) is cleared by the clock circuit in the CPU (not shown) is set in the IRQ 3 clock circuit 9-3, and the IRQ 3 clock circuit is set.
Restart the timing operation of 9-3. The above operation is shown in a time chart in FIG. The above-mentioned operation is 3 interrupt signals
It is needless to say that the present invention is not limited to (1) to (3), and holds for n interrupt signals (1) to (n).

【0021】この結果、同時に複数の割り込みが発生し
た時に、各割り込みの発生した時刻をCPUで正確に認
識することができる。次に本発明の第2の実施例につい
て説明する。前述した第1の実施例と異なる点は、図5
に示すように第1の実施例の構成に対して更に標準時計
回路10を追加して、CPUで割り込み処理を完了して割
り込み信号をクリアする時、同時に割り込み時に停止し
てあった対応するIRQ 用時計回路の時刻をCPUからの
指示により標準時計回路10の時刻に再設定するようにし
たことにある。
As a result, when a plurality of interrupts occur at the same time, the CPU can accurately recognize the time at which each interrupt occurred. Next, a second embodiment of the present invention will be described. The difference from the above-described first embodiment is that FIG.
As shown in FIG. 7, a standard clock circuit 10 is added to the configuration of the first embodiment, and when the CPU completes the interrupt processing and clears the interrupt signal, the corresponding IRQ that was stopped at the same time as the interrupt The time of the clock circuit for use is reset to the time of the standard clock circuit 10 according to an instruction from the CPU.

【0022】即ち、優先順位決定部2に複数の割り込み
信号(1) 〜(3)が同時に入力された時、時計制御部8でI
RQ1用時計回路9-1 〜IRQ3用時計回路9-3 の計時動作を
同時に停止させ、これら時計回路はこの時刻T1 で停止
する。次に、優先順位決定部2でまず割り込み信号(1)
の発生したことをCPU(図示しない)に通知し、CP
U(図示しない)では割り込み信号(1)を認識するとと
もに、割り込み信号(1)の発生時刻を上述したIRQ1用時
計回路9-1 によりT1 と認識する。そして、CPU(図
示しない)で割り込み信号(1)のデータに対する処理を
完了した時これを制御部5に通知し、制御部5ではイン
タラプトマスクレジスタ3を制御して割り込み信号(1)
をクリアする。
That is, when a plurality of interrupt signals (1) to (3) are simultaneously input to the priority order determining unit 2, the timepiece control unit 8 outputs I.
The clock operation of the RQ 1 clock circuit 9-1 to IRQ 3 clock circuit 9-3 is stopped at the same time, and these clock circuits stop at this time T 1 . Next, in the priority order determining unit 2, first, the interrupt signal (1)
To the CPU (not shown) that the
At U (not shown), the interrupt signal (1) is recognized, and the generation time of the interrupt signal (1) is recognized as T 1 by the IRQ 1 clock circuit 9-1 described above. Then, when the CPU (not shown) completes the processing of the data of the interrupt signal (1), it notifies the control unit 5, and the control unit 5 controls the interrupt mask register 3 to interrupt the signal (1).
To clear.

【0023】同時にCPU(図示しない)から時計制御
部8にIRQ1用時計回路9-1 の再スタートを指示する信号
を送ると、時計制御部8では標準時計回路10の現在時刻
をIRQ1用時計回路9-1 に設定して、IRQ1用時計回路9-1
の計時動作を再開する。割り込み信号(2) 、割り込み信
号(3) の発生時刻についても同様にして行う。
At the same time, when a signal for instructing the restart of the IRQ 1 timepiece circuit 9-1 is sent from the CPU (not shown) to the timepiece control section 8, the timepiece control section 8 uses the current time of the standard timepiece circuit 10 for IRQ 1 . Set the clock circuit 9-1 to the IRQ 1 clock circuit 9-1.
Restarts the timing operation of. The interrupt signal (2) and interrupt signal (3) are generated in the same way.

【0024】次に本発明の第3の実施例について説明す
る。第3の実施例では、図5に点線で示すように制御部
5内に再スタート指示部11(ハードウェア)を追加して
設ける。CPU(図示しない)で割り込み信号(1) のデ
ータに対する処理を完了した時これを制御部5に通知す
ると、制御部5ではインタラプトマスクレジスタ3を制
御して割り込み信号(1) をクリアするとともに、再スタ
ート指示部11を駆動して、時計制御部8にIRQ1用時計回
路9-1 の再スタートを指示する信号を出力する。時計制
御部8では標準時計回路10の現在時刻をIRQ1用時計回路
9-1 に設定して、IRQ1用時計回路9-1 の計時動作を再開
する。割り込み信号(2) 、割り込み信号(3) についても
同様にして行う。
Next, a third embodiment of the present invention will be described. In the third embodiment, a restart instruction section 11 (hardware) is additionally provided in the control section 5 as shown by the dotted line in FIG. When the CPU (not shown) notifies the control unit 5 when processing of the data of the interrupt signal (1) is completed, the control unit 5 controls the interrupt mask register 3 to clear the interrupt signal (1) and The restart instruction section 11 is driven to output a signal for instructing the restart of the IRQ 1 timepiece circuit 9-1 to the timepiece control section 8. In the clock control unit 8, the current time of the standard clock circuit 10 is set to the clock circuit for IRQ 1 .
Set it to 9-1 and restart the clock operation of IRQ 1 clock circuit 9-1. The same applies to the interrupt signal (2) and interrupt signal (3).

【0025】この結果、第2の実施例のようなCPUか
ら時計制御部8に再スタートの指示信号を送る手続きを
省略することができる。
As a result, the procedure of sending the restart instruction signal from the CPU to the timepiece control unit 8 as in the second embodiment can be omitted.

【0026】[0026]

【発明の効果】以上説明したように本発明によれば、複
数の割り込み信号を入力した時には対応する時計回路の
時計としての動作を停止し、この時計回路の停止した時
刻により各割り込みの発生した時刻をCPUで正確に認
識することができる。
As described above, according to the present invention, when a plurality of interrupt signals are input, the operation of the corresponding clock circuit as a clock is stopped, and each interrupt is generated at the time when this clock circuit is stopped. The CPU can accurately recognize the time.

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

【図1】は請求項1の発明の原理図、FIG. 1 is a principle diagram of the invention of claim 1,

【図2】は請求項2の発明の原理図、2 is a principle diagram of the invention of claim 2, FIG.

【図3】は本発明の第1の実施例の割り込みコントロー
ラの回路構成図、
FIG. 3 is a circuit configuration diagram of an interrupt controller according to a first embodiment of the present invention,

【図4】は実施例の動作を説明するためのタイムチャー
ト、
FIG. 4 is a time chart for explaining the operation of the embodiment,

【図5】は本発明の第2/第3の実施例の割り込みコン
トローラの回路構成図、
FIG. 5 is a circuit configuration diagram of an interrupt controller according to a second / third embodiment of the present invention,

【図6】は従来例の割り込みコントローラの回路構成
図、
FIG. 6 is a circuit configuration diagram of a conventional interrupt controller,

【図7】は従来例の動作を説明するためのタイムチャー
トである。
FIG. 7 is a time chart for explaining the operation of the conventional example.

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

100 は標準時計回路、120 はCPU、500 は割り込み制
御部、 900-1 〜900-n は複数の時計回路 を示す。
Reference numeral 100 is a standard clock circuit, 120 is a CPU, 500 is an interrupt control unit, and 900-1 to 900-n are a plurality of clock circuits.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数の割り込み信号入力の優先順位を決
定して該優先順位にしたがって該割り込み信号をCPU
に転送する割り込み制御部(500) と、該割り込み制御部
から転送されてきた割り込み信号の発生時刻を認識し所
定の処理を行うCPU(120) とを有する伝送装置の割り
込み制御方式において、 少なくとも前記複数の割り込み信号入力に対応する数だ
け設けられ、通常は正規の時計として動作し、前記複数
の割り込み信号を入力した時には対応する該時計として
の動作を停止し、前記CPUで該割り込み信号に対して
所定の処理を完了した時該完了した時刻に基づいて前記
CPUからの制御信号により該時計としての動作を再開
する複数の時計回路(900-1〜900-n)を前記割り込み制御
部に付加し、 該時計回路の停止した時刻により前記CPUで各割り込
み信号の発生時刻を認識する構成としたことを特徴とす
る伝送装置の割り込み制御方式。
1. A priority order of a plurality of interrupt signal inputs is determined and the interrupt signals are sent to a CPU according to the priority order.
In the interrupt control method of the transmission device, the interrupt control unit (500) for transferring to the device and the CPU (120) for recognizing the generation time of the interrupt signal transferred from the interrupt control unit and performing a predetermined process, A plurality of interrupt signal inputs are provided, which normally operate as a regular clock. When the plurality of interrupt signals are input, the corresponding clock operation is stopped, and the CPU responds to the interrupt signals. When a predetermined process is completed, a plurality of clock circuits (900-1 to 900-n) for restarting the operation as the clock by the control signal from the CPU based on the completed time are added to the interrupt control unit. An interrupt control system for a transmission device, wherein the CPU recognizes the time of occurrence of each interrupt signal based on the time when the clock circuit stops.
【請求項2】 複数の割り込み信号入力の優先順位を決
定して該優先順位にしたがって該割り込み信号をCPU
に転送する割り込み制御部(500) と、該割り込み制御部
から転送されてきた割り込み信号の発生時刻を認識し所
定の処理を行うCPU(120) とを有する伝送装置の割り
込み制御方式において、 正規の時計として動作する標準時計回路(100) と、 少なくとも前記複数の割り込み信号入力に対応する数だ
け設けられ、通常は正規の時計として動作し、前記複数
の割り込み信号を入力した時には対応する該時計として
の動作を停止し、前記CPUで該割り込み信号に対して
所定の処理を完了した時前記CPUからの制御信号によ
り該標準時計回路の時刻に基づいて該時計としての動作
を再開する複数の時計回路(900-1〜900-n)を前記割り込
み制御部に付加し、 該時計回路の停止した時刻により前記CPUで各割り込
み信号の発生時刻を認識する構成としたことを特徴とす
る伝送装置の割り込み制御方式。
2. A priority order of a plurality of interrupt signal inputs is determined, and the interrupt signals are sent to the CPU according to the priority order.
In the interrupt control method of the transmission device, which includes an interrupt control unit (500) for transferring to the CPU and a CPU (120) for recognizing the generation time of the interrupt signal transferred from the interrupt control unit and performing a predetermined process, A standard clock circuit (100) that operates as a clock, and at least a number corresponding to the plurality of interrupt signal inputs are provided, normally operate as a regular clock, and when the plurality of interrupt signals are input, the corresponding clock A plurality of clock circuits that stop the operation of the clock and resume the operation as the clock based on the time of the standard clock circuit by the control signal from the CPU when the CPU completes a predetermined process for the interrupt signal. (900-1 to 900-n) is added to the interrupt control unit, and the CPU recognizes the generation time of each interrupt signal based on the stop time of the clock circuit. Interrupt control method of a transmission apparatus according to claim.
JP33335392A 1992-12-15 1992-12-15 Interruption control system for transmitter Withdrawn JPH06187166A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33335392A JPH06187166A (en) 1992-12-15 1992-12-15 Interruption control system for transmitter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33335392A JPH06187166A (en) 1992-12-15 1992-12-15 Interruption control system for transmitter

Publications (1)

Publication Number Publication Date
JPH06187166A true JPH06187166A (en) 1994-07-08

Family

ID=18265167

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33335392A Withdrawn JPH06187166A (en) 1992-12-15 1992-12-15 Interruption control system for transmitter

Country Status (1)

Country Link
JP (1) JPH06187166A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4027659A1 (en) * 1989-08-31 1991-03-14 Minolta Camera Kk IMAGE GENERATION DEVICE

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4027659A1 (en) * 1989-08-31 1991-03-14 Minolta Camera Kk IMAGE GENERATION DEVICE
DE4027659C2 (en) * 1989-08-31 2003-05-28 Minolta Camera Kk printer

Similar Documents

Publication Publication Date Title
KR100269582B1 (en) Serial interrupt bus protocol
US6948010B2 (en) Method and apparatus for efficiently moving portions of a memory block
JPH04649A (en) Fault information transfer system for remote channel device
JPH0997177A (en) Interrupt control system for computer system
JPH06187166A (en) Interruption control system for transmitter
US7313672B2 (en) Intellectual property module for system-on-chip
US5584028A (en) Method and device for processing multiple, asynchronous interrupt signals
JP2947195B2 (en) Interrupt mask control method
KR100274084B1 (en) Resetting board/system using reset switch
JPH04369064A (en) Method and device for controlling interruption processing
JPS5850367B2 (en) input/output control device
KR100260518B1 (en) The structure of nmi controller and its control method
KR100386601B1 (en) Apparatus for interrupt generation
JPS57114954A (en) Error recovery system for logical device
KR100223983B1 (en) Collision protecting circuit
KR100856259B1 (en) Apparatus and method for providing redundancy in the processor board using programmable logic device with interrupt
JPH07261814A (en) Interruption synchronizing method for dual system of pc
JPH07111700B2 (en) Down code collection circuit
JPH04167043A (en) Portable electronic equipment
JPS63298532A (en) Data processor
JPH03185552A (en) Data receiving circuit
JPH053016B2 (en)
JPS61109154A (en) Error detecting system for fixed data register
JPH0683989A (en) Single chip microcomputer
JPH08289014A (en) Sequence fault detector

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20000307