JPH08221279A - External interrupt signal processor - Google Patents

External interrupt signal processor

Info

Publication number
JPH08221279A
JPH08221279A JP3058795A JP3058795A JPH08221279A JP H08221279 A JPH08221279 A JP H08221279A JP 3058795 A JP3058795 A JP 3058795A JP 3058795 A JP3058795 A JP 3058795A JP H08221279 A JPH08221279 A JP H08221279A
Authority
JP
Japan
Prior art keywords
signal
external interrupt
interrupt
personal computer
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.)
Pending
Application number
JP3058795A
Other languages
Japanese (ja)
Inventor
Kenji Suzuki
健志 鈴木
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 General Ltd
Original Assignee
Fujitsu General 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 General Ltd filed Critical Fujitsu General Ltd
Priority to JP3058795A priority Critical patent/JPH08221279A/en
Publication of JPH08221279A publication Critical patent/JPH08221279A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To prevent the malfunction such as multiplex interrupt owing to the noise which occurs during the external interrupt processing to a personal computer by using an extension card on the external interrupt signal processor. CONSTITUTION: In the external interrupt processing to a personal computer by using an extension card 1, a flip-flop 1a sends the required external interrupt signal (b) to the personal computer when an interrupt signal (a) is set. A personal computer 2 to which an interrupt signal is inputted writes the required data in a mask register 2a and outputs an address signal and a control signal S1 under the control of a control part 2b so as to prohibit the external interrupt. The address signal and the control signal S1 are sent to a decoder 1b of an extension card and the decoder decodes it. The flip-flop is reset by the decode signal (acknowledge signal c) and the interrupt signal is returned to an initial state.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は外部割り込み信号処理装
置に係り、より詳細には、拡張カード使用によるパソコ
ンへの外部割り込み処理において、同外部割り込み処理
の際に生ずるノイズ等による多重割り込み等の誤動作の
防止に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an external interrupt signal processing device, and more particularly, to an external interrupt processing for a personal computer by using an expansion card, such as a multiple interrupt due to noise generated during the external interrupt processing. Preventing malfunctions.

【0002】[0002]

【従来の技術】従来、拡張カード使用によるパソコンへ
の外部割り込みにおいては図3に示すように、拡張カー
ド(PCカード)11より外部割り込み信号S11 をバス伝
送路によりパソコン12へ送出する。ここで、バス方式を
例えばISAバス(IBM仕様)としたとき、外部割り
込みは、その割り込み信号の立ち上がりエッジで認識さ
れるが、この場合、割り込み信号は立ち上がり後パソコ
ン側(プロセッサ)が認識されるまでハイ状態を維持し
なければならない。また、従来では割り込みアクノレッ
ジ信号(割り込みが認識されたことを示す応答信号)が
ないために割り込みがいつ許可されたかが不明であっ
た。そのため、通常は割り込み信号をロー→ハイ→ロー
…としていた。ここに、「ハイ」の継続時間は画一的な
ものではないが、μsec 又はmsecの単位であり、設計段
階で予め定めておくものである。
2. Description of the Related Art Conventionally, in the case of an external interrupt to a personal computer using an expansion card, an external interrupt signal S11 is sent from an expansion card (PC card) 11 to a personal computer 12 via a bus transmission line, as shown in FIG. Here, when the bus system is, for example, an ISA bus (IBM specification), the external interrupt is recognized at the rising edge of the interrupt signal. In this case, the interrupt signal is recognized by the personal computer side (processor) after the rising. Must stay high until. Further, in the past, since there was no interrupt acknowledge signal (a response signal indicating that the interrupt was recognized), it was unclear when the interrupt was permitted. Therefore, the interrupt signal is usually low → high → low ... Here, the duration of "high" is not uniform, but it is a unit of μsec or msec, and is predetermined in the design stage.

【0003】[0003]

【発明が解決しようとする課題】しかし、前述のよう
に、割り込みがいつ許可されたかが不明のため、「ハ
イ」の継続時間は多少長めの時間に設定していた。その
ため、このハイ状態中にノイズが混入する可能性が大で
あった。このノイズが混入するとハイ状態の維持が乱さ
れ、割り込みがかかり多重割り込みという誤動作の原因
となる。従って、前述のアクノレッジ信号が拡張カード
側で生成され、パソコン側での割り込みが認識されたと
きには割り込み信号を初期状態(ロー)に戻せれば「ハ
イ」の継続時間を短くすることができ、ノイズの混入す
る可能性の度合いを低くすることができることとなる。
本発明はこのような観点からなされたものであり、パソ
コンに対し外部割り込みをかけた後、その外部割り込み
が認識されたときには外部割り込み信号を初期状態に戻
すことでノイズ混入による誤動作を防止するようにした
外部割り込み信号処理装置を提供することを目的とす
る。
However, as described above, since it is unknown when the interrupt is permitted, the "high" duration is set to a slightly longer time. Therefore, there is a high possibility that noise will be mixed in during this high state. When this noise is mixed, the maintenance of the high state is disturbed and an interrupt occurs, which causes a malfunction of multiple interrupts. Therefore, when the above-mentioned acknowledge signal is generated on the expansion card side and the interrupt on the personal computer side is recognized, if the interrupt signal can be returned to the initial state (low), the duration of "high" can be shortened and noise It is possible to reduce the degree of the possibility of being mixed.
The present invention has been made from such a point of view, and after the external interrupt is applied to the personal computer, when the external interrupt is recognized, the external interrupt signal is returned to the initial state to prevent malfunction due to noise mixing. Another object of the present invention is to provide an external interrupt signal processing device.

【0004】[0004]

【課題を解決するための手段】本発明は、拡張カード使
用によるパソコンへの外部割り込み処理において、割り
込み信号によりセットされたときにはパソコンに対して
所要の外部割り込み信号を送出するフリップフロップ
と、前記外部割り込み信号の入力に基づき、パソコン側
より出力されるアドレス信号及び制御信号とをデコード
し、同デコード信号で前記フリップフロップをリセット
するデコーダとを前記拡張カードに備えてなる外部割り
込み信号処理装置を提供するものである。
According to the present invention, in an external interrupt processing to a personal computer by using an expansion card, a flip-flop for sending a required external interrupt signal to the personal computer when set by an interrupt signal, and the external device. Provided is an external interrupt signal processing device having a decoder for decoding an address signal and a control signal output from a personal computer side based on an input of an interrupt signal and resetting the flip-flop with the decoded signal in the expansion card. To do.

【0005】[0005]

【作用】フリップフロップを割り込み信号でセット(セ
ット端子)すると同フリップフロップから外部割り込み
信号(ハイレベル)がパソコン側へ送出される。外部割
り込み信号が入力されたパソコン側では、メインルーチ
ンから割り込みルーチンへ移行後、外部割り込みを禁止
する処理が行われる。これは、マスクレジスタに所要デ
ータを書き込むことで行われる。これにより割り込みが
禁止される。また、マスクレジスタに上記データを書き
込んだ際にはアドレス信号と制御信号とが出力されるの
でこれを拡張カード側のデコーダへ送出する。同デコー
ダはこれらをデコードし、これを割り込みアクノレッジ
信号とする。同アクノレッジ信号でフリップフロップを
リセットする(リセット端子)。これにより、割り込み
信号は初期状態に戻る(ローレベル)。一方のパソコン
側は、割り込みルーチンの最後で再びマスクレジスタに
データを書き込み、次の割り込みを許可する。
When the flip-flop is set by the interrupt signal (set terminal), the external interrupt signal (high level) is sent from the flip-flop to the personal computer side. On the personal computer side to which the external interrupt signal is input, processing for prohibiting external interrupts is performed after the transition from the main routine to the interrupt routine. This is done by writing the required data in the mask register. This disables interrupts. Further, when the above data is written in the mask register, an address signal and a control signal are output, and this is sent to the decoder on the expansion card side. The decoder decodes these and uses this as an interrupt acknowledge signal. The flip-flop is reset by the acknowledge signal (reset terminal). As a result, the interrupt signal returns to the initial state (low level). On the other hand, the personal computer side writes the data to the mask register again at the end of the interrupt routine and enables the next interrupt.

【0006】[0006]

【実施例】以下、図面に基づいて本発明による外部割り
込み信号処理装置を説明する。図1は本発明による外部
割り込み信号処理装置の一実施例を示す要部ブロック
図、図2は図1を説明するためのタイムチャートであ
る。図1において、1は拡張カード(PCカード)、1a
はセット(S)端子とリセット(R)端子とを有し、セ
ット端子に割り込み信号が入力されたときには出力
(Q)端子から外部割り込み信号をパソコン側へ送出す
るフリップフロップ、1bはパソコン側から送出される制
御信号等をデコードし、これを割り込みアクノレッジ信
号として出力するデコーダ、2は前記拡張カード1が使
用されるパソコン、2aは同パソコン装置内に設けられて
なり(既存)、外部割り込みがあったとき並びに割り込
みルーチン処理の最後でそれぞれ所要データが書き込ま
れるマスクレジスタ、2bは同マスクレジスタ2aの書き込
み制御及び外部割り込み時の書き込みの際に制御信号等
を出力する制御部(既存)である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An external interrupt signal processing device according to the present invention will be described below with reference to the drawings. 1 is a block diagram of essential parts showing an embodiment of an external interrupt signal processing device according to the present invention, and FIG. 2 is a time chart for explaining FIG. In FIG. 1, 1 is an expansion card (PC card), 1a
Has a set (S) terminal and a reset (R) terminal, and when an interrupt signal is input to the set terminal, a flip-flop that sends an external interrupt signal from the output (Q) terminal to the personal computer side, 1b from the personal computer side A decoder that decodes the control signal and the like that is sent and outputs this as an interrupt acknowledge signal, 2 is a personal computer in which the expansion card 1 is used, and 2a is provided in the personal computer device (existing), and external interrupt When there is, and at the end of the interrupt routine processing, a mask register to which required data is written respectively, 2b is a control unit (existing) which outputs a control signal or the like when writing control of the mask register 2a and writing at the time of external interrupt .

【0007】次に、本発明の動作について説明する。な
お、以下の説明では拡張カード1とパソコン2間のデー
タ伝送等に係るバス方式をISAバス(IBM仕様)を
例として説明する。拡張カード1によりパソコン2に対
し外部割り込みをかける場合、先ず、フリップフロップ
1aのセット(S)端子に図2(イ)に示す割り込み信号
が入力される。同フリップフロップ1aは同割り込み信号
の立ち下がり(T1)に同期して図2(ロ)示す外部割り
込み信号(Hレベル)を出力し(Q端子)、パソコン2
側へ送られる。上記Hレベルとなった外部割り込み信号
によりパソコン2側は外部割り込み状態になり、メイン
ルーチンから割り込みルーチンへ移行する。そして、割
り込みルーチンに入ったら直ちに割り込み禁止処理が行
われる。これは、制御部2bの制御の下、マスクレジスタ
2aに所要データを書き込むことで行われる。この所要デ
ータはパソコンごとで予め定められている。
Next, the operation of the present invention will be described. In the following description, a bus system related to data transmission between the expansion card 1 and the personal computer 2 will be described by taking the ISA bus (IBM specification) as an example. When an external interrupt is applied to the PC 2 by the expansion card 1, first the flip-flop
The interrupt signal shown in FIG. 2A is input to the set (S) terminal of 1a. The flip-flop 1a outputs the external interrupt signal (H level) shown in FIG. 2B in synchronization with the falling edge (T1) of the interrupt signal (Q terminal), and the personal computer 2
Sent to the side. The PC 2 side is brought into the external interrupt state by the external interrupt signal which becomes the H level, and the main routine is shifted to the interrupt routine. Immediately after entering the interrupt routine, interrupt prohibition processing is performed. This is a mask register under the control of the controller 2b.
This is done by writing the required data in 2a. This required data is predetermined for each personal computer.

【0008】上記書き込みで新たな割り込みが禁止され
る。また、この書き込みの際には制御部2bを介し、アド
レス信号(SA 0〜9 の10ビット)と制御信号とが出力さ
れる。制御信号とはライトストローブ(IOW )、バス制
御信号(AEN 、BALE)等である。図1ではこれらを総称
してS1で示す。上記制御信号等S1は拡張カード1側のデ
コーダ1bへ送られ、同デコーダ1bによりデコードされ
る。同デコードされた信号が図2(ハ)に示す割り込み
アクノレッジ信号となる。この割り込みアクノレッジ信
号(ハ)はフリップフロップ1aのリセット(R)端子に
入力し、同信号の立ち下がり(T2)で同フリップフロッ
プ1aをリセットする。このリセットにより、外部割り込
み信号(ロ)はロー(L)に戻り、割り込みの初期状態
に戻る。
A new interrupt is prohibited by the above writing. Further, at the time of this writing, the address signal (10 bits of SA 0 to 9) and the control signal are output via the control unit 2b. The control signals are write strobe (IOW), bus control signals (AEN, BALE), etc. In FIG. 1, these are collectively referred to as S1. The control signal S1 and the like are sent to the decoder 1b on the expansion card 1 side and decoded by the decoder 1b. The decoded signal becomes the interrupt acknowledge signal shown in FIG. The interrupt acknowledge signal (C) is input to the reset (R) terminal of the flip-flop 1a, and the flip-flop 1a is reset at the falling edge (T2) of the signal. By this reset, the external interrupt signal (b) returns to low (L) and returns to the initial state of the interrupt.

【0009】一方、パソコン2側では割り込みルーチン
の処理の最後で再び制御部2bの制御の下、マスクレジス
タ2aに所要データを書き込み、同書き込みで次の割り込
みを許可する処理が行われる。この処理時には制御信号
等は出力されない。上記許可の処理と、前記フリップフ
ロップ1aのリセットで次の割り込みが可能な状態とな
る。以上のように動作することで、例えば、パソコン2
への外部割り込み信号が従来のように長時間ハイレベル
を維持し〔図2(ニ)〕、この間にノイズの混入が有っ
たとしてもフリップフロップ1aのリセット処理によりこ
れらノイズの影響を受けないようになる。また、上述の
ように、パソコン側でも外部割り込みがかかったときに
は次の割り込みに対して一旦禁止処理が行われ、外部信
号に対しマスク状態になる結果、このマスク状態でもノ
イズの影響が防止される。
On the other hand, at the end of the interrupt routine process on the personal computer 2 side, under the control of the control unit 2b again, the required data is written in the mask register 2a, and the process for permitting the next interrupt is performed. No control signal or the like is output during this processing. By the permission process and the reset of the flip-flop 1a, the next interrupt becomes possible. By operating as described above, for example, the personal computer 2
The external interrupt signal to the signal remains high level for a long time as in the conventional case [Fig. 2 (d)], and even if noise is mixed during this period, the reset process of the flip-flop 1a does not affect the noise. Like Also, as described above, when an external interrupt is applied on the personal computer side, the next interrupt is temporarily prohibited and the external signal is masked. As a result, the influence of noise is prevented even in this masked state. .

【0010】[0010]

【発明の効果】以上説明したように本発明によれば、拡
張カード使用によるパソコンへの外部割り込み指令が必
要な期間のみ行われ、その後は初期状態に戻り従来のよ
うな長時間割り込み指令を持続するということがなくな
る。従って、従来、割り込み信号中にノイズが混入し、
これにより多重割り込みという誤動作を起こす問題が解
決されることとなる。また、パソコン側でも外部割り込
みがあったときには次の割り込みを一端禁止する処理
(ソフト処理)が行われるので、これによっても前記ノ
イズ混入による誤動作が防止される。以上から、本発明
は拡張カード使用による外部割り込みの動作の安定化に
寄与しうるものである。
As described above, according to the present invention, the external interrupt command to the personal computer by using the expansion card is issued only for a necessary period, and then the initial state is returned to and the long-time interrupt command as in the past is maintained. There is nothing to do. Therefore, conventionally, noise is mixed in the interrupt signal,
This solves the problem of malfunctions called multiple interrupts. Also, on the personal computer side, when there is an external interrupt, a process (software process) for temporarily prohibiting the next interrupt is performed, which also prevents the malfunction due to the noise mixing. From the above, the present invention can contribute to stabilizing the operation of the external interrupt by using the expansion card.

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

【図1】本発明による外部割り込み信号処理装置の一実
施例を示す要部ブロック図である。
FIG. 1 is a principal block diagram showing an embodiment of an external interrupt signal processing device according to the present invention.

【図2】図1を説明するためのタイムチャートである。FIG. 2 is a time chart for explaining FIG.

【図3】従来の外部割り込み信号処理装置の一例を示す
要部ブロック図である。
FIG. 3 is a principal block diagram showing an example of a conventional external interrupt signal processing device.

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

1 拡張カード 1a フリップフロップ 1b デコーダ 2 パソコン 2a マスクレジスタ 2b 制御部 1 Expansion card 1a Flip-flop 1b Decoder 2 Personal computer 2a Mask register 2b Controller

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 拡張カード使用によるパソコンへの外部
割り込み処理において、割り込み信号によりセットされ
たときにはパソコンに対して所要の外部割り込み信号を
送出するフリップフロップと、前記外部割り込み信号の
入力に基づき、パソコン側より出力されるアドレス信号
及び制御信号とをデコードし、同デコード信号で前記フ
リップフロップをリセットするデコーダとを前記拡張カ
ードに備えてなることを特徴とする外部割り込み信号処
理装置。
1. In an external interrupt process for a personal computer using an expansion card, a flip-flop for transmitting a required external interrupt signal to the personal computer when set by an interrupt signal, and a personal computer based on the input of the external interrupt signal. An external interrupt signal processing device, characterized in that the expansion card is provided with a decoder for decoding an address signal and a control signal output from the side and resetting the flip-flop with the decoded signal.
【請求項2】 前記パソコン側よりのアドレス信号及び
制御信号の出力が、前記外部割り込み信号が入力された
ときには新たな外部割り込みを禁止するための所要デー
タが書き込まれるマスクレジスタと、前記マスクレジス
タの書き込み制御と、前記書き込みの際にアドレス信号
及び制御信号とを出力する制御部とにより行われるよう
にしたことを特徴とする外部割り込み信号処理装置。
2. A mask register in which the output of address signals and control signals from the personal computer side is written with required data for prohibiting a new external interrupt when the external interrupt signal is input, and a mask register of the mask register. An external interrupt signal processing device, wherein write control is performed by a control unit that outputs an address signal and a control signal at the time of the write.
JP3058795A 1995-02-20 1995-02-20 External interrupt signal processor Pending JPH08221279A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3058795A JPH08221279A (en) 1995-02-20 1995-02-20 External interrupt signal processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3058795A JPH08221279A (en) 1995-02-20 1995-02-20 External interrupt signal processor

Publications (1)

Publication Number Publication Date
JPH08221279A true JPH08221279A (en) 1996-08-30

Family

ID=12308004

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3058795A Pending JPH08221279A (en) 1995-02-20 1995-02-20 External interrupt signal processor

Country Status (1)

Country Link
JP (1) JPH08221279A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990055382A (en) * 1997-12-27 1999-07-15 구자홍 Interrupt controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990055382A (en) * 1997-12-27 1999-07-15 구자홍 Interrupt controller

Similar Documents

Publication Publication Date Title
US4737932A (en) Processor
US5093780A (en) Inter-processor transmission system having data link which automatically and periodically reads and writes the transfer data
US6157970A (en) Direct memory access system using time-multiplexing for transferring address, data, and control and a separate control line for serially transmitting encoded DMA channel number
US5454081A (en) Expansion bus type determination apparatus
KR960008543A (en) Integrated circuit microprocessor with programmable memory access interface type and associated method
US5664198A (en) High speed access to PC card memory using interrupts
JPH1055331A (en) Programmable read and write access signal and its method
JPH08221279A (en) External interrupt signal processor
JPH0140366B2 (en)
JP2588514Y2 (en) Communication control device
JP3028998B2 (en) DMA transfer circuit
KR100276263B1 (en) Interface circuit for pc card
KR920008447B1 (en) Memory access control system and its method
JPS6068448A (en) Common method control system of multicomputer system
JPH1091544A (en) Bus control circuit
JPH0364894B2 (en)
JPH0721078A (en) Computer system
JPH0519918A (en) Io bus control system
JPH11328084A (en) Host interface circuit of disk device, and disk device
JPH02144653A (en) Data processor
JPH04260958A (en) Microcomputer
JPH04367950A (en) Access control circuit for ram
JPH0437930A (en) Image processor
JPH01189749A (en) Interruption control method
JPH05143366A (en) Interruption control circuit