JP5588951B2 - Interrupt control circuit - Google Patents

Interrupt control circuit Download PDF

Info

Publication number
JP5588951B2
JP5588951B2 JP2011237423A JP2011237423A JP5588951B2 JP 5588951 B2 JP5588951 B2 JP 5588951B2 JP 2011237423 A JP2011237423 A JP 2011237423A JP 2011237423 A JP2011237423 A JP 2011237423A JP 5588951 B2 JP5588951 B2 JP 5588951B2
Authority
JP
Japan
Prior art keywords
interrupt
signal
unit
loss
lost
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
JP2011237423A
Other languages
Japanese (ja)
Other versions
JP2013097442A (en
Inventor
竜太 田邨
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions Inc
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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2011237423A priority Critical patent/JP5588951B2/en
Publication of JP2013097442A publication Critical patent/JP2013097442A/en
Application granted granted Critical
Publication of JP5588951B2 publication Critical patent/JP5588951B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、割り込み制御回路に関する。   The present invention relates to an interrupt control circuit.

従来から、SoC(System On Chip)ICの内部に配置されるIRQC(Interrupt ReQuest Controller)に用いられる割り込み制御回路として、例えば下記特許文献1に記載のように、割り込み供給側に設けたパルス発生回路と、複数のパルス発生回路を排他制御するためのコントロール信号線と、CPU側に設けた割り込み認識回路、とを備え、CPUと複数の割り込み供給源の間を2本の信号線で接続した割り込み制御回路が知られている。   Conventionally, as an interrupt control circuit used in an IRQC (Interrupt ReQuest Controller) disposed inside a SoC (System On Chip) IC, for example, a pulse generation circuit provided on the interrupt supply side as described in Patent Document 1 below A control signal line for exclusive control of a plurality of pulse generation circuits and an interrupt recognition circuit provided on the CPU side, and an interrupt in which the CPU and a plurality of interrupt supply sources are connected by two signal lines Control circuits are known.

このような割り込み制御回路は、割り込み供給源の1つから割り込みが発生すると、CPUに割り込みを発生させる。また、その割り込み供給源の1つからその供給源独自のパルスが発生し、CPUで当該パルスをカウント、ラッチすることにより、それをCPUが取り込んで何れの供給源からの割り込みであるかを認識する。   Such an interrupt control circuit causes the CPU to generate an interrupt when an interrupt is generated from one of the interrupt supply sources. Also, a unique pulse is generated from one of the interrupt supply sources, and the CPU counts and latches the pulse, so that the CPU captures it and recognizes from which supply source it is an interrupt. To do.

また、1箇所の割り込み供給源から割り込みが発生した場合に、当該割り込みとは異なる別の割り込みが割り込み供給源で発生したとしても、当該先に発生した割り込みに対応する割込処理が終了するまでの間、CPUに割り込みを発生させないように排他制御が行われている。   In addition, when an interrupt is generated from one interrupt supply source, even if another interrupt different from the interrupt is generated at the interrupt supply source, the interrupt processing corresponding to the interrupt that occurred earlier is completed. During this period, exclusive control is performed so that the CPU does not generate an interrupt.

特開平3−75830号公報Japanese Patent Laid-Open No. 3-75830

しかしながら、上記従来の割り込み制御回路では、上記のように排他制御が行われているため、1箇所で割り込みが発生して当該割り込みに対応する割込処理が終了するまでの間に、新たな割り込みが発生したとしても、当該新たな割り込みの発生を検知することができず、また、当該新たな割り込みの発生を検知できなかったことを知ることもできなかった。   However, in the conventional interrupt control circuit, since the exclusive control is performed as described above, a new interrupt is generated between the time when an interrupt is generated at one place and the interrupt processing corresponding to the interrupt is completed. Even if this occurred, it was not possible to detect the occurrence of the new interrupt, and it was impossible to know that the occurrence of the new interrupt could not be detected.

本発明は、このような事情に鑑みてなされたものであり、ある割り込みに対応する割込処理が終了するまでの間に新たな割り込みが発生した場合に、当該新たな割り込みが発生したことを検知することができる割り込み制御回路を提供することを目的とする。   The present invention has been made in view of such circumstances. When a new interrupt is generated before the interrupt processing corresponding to a certain interrupt is completed, the fact that the new interrupt has occurred is described. An object of the present invention is to provide an interrupt control circuit capable of detecting.

本発明に係る割り込み制御回路は、割り込みの発生を示す割込発生信号を受信する割込信号受信部と、前記割込信号受信部によって前記割込発生信号が受信されたとき、割り込みの発生を示す割込発生情報を記憶する割込記憶部と、前記割り込みに対応する処理である割込処理の実行を許可することを示すハイレベルの割込許可信号、又は、前記割込処理の実行を許可しないことを示すローレベルの割込許可信号を受信する許可信号受信部と、前記許可信号受信部によって前記ハイレベルの割込許可信号が受信され、かつ前記割込記憶部に前記割込発生情報が記憶されているとき、前記割込処理の実行を要求する割込処理要求信号を出力する割込処理要求部と、前記割込記憶部に前記割込発生情報が記憶されている状態で、更に新たな前記割込発生信号が前記割込信号受信部によって受信されたとき、前記新たな割込発生信号の紛失を検知する割込紛失検知部と、前記割込紛失検知部によって前記新たな割込発生信号の紛失が検知されたとき、前記新たな割込発生信号の紛失を示す情報を記憶し、前記新たな割込発生信号の紛失を示す情報を記憶している期間、前記新たな割込発生信号の紛失を示すハイレベルの信号を出力する紛失記憶部と、前記許可信号受信部によって受信された前記割込許可信号が一端に入力され、前記一端に入力された前記割込許可信号と他端に入力された信号との論理積に対応する第一論理積信号を出力する第一論理積回路と、前記紛失記憶部から出力された信号と前記第一論理積回路から出力された前記第一論理積信号との論理積に対応する第二論理積信号を出力する論理積回路であり、前記第二論理積信号がローレベルのときは、前記第二論理積信号を前記新たな割込発生信号の紛失がないことを示す割込紛失信号として出力し、前記第二論理積信号がハイレベルのときは、前記第二論理積信号を前記新たな割込発生信号の紛失を示す割込紛失信号として出力する第二論理積回路と、を備える。 An interrupt control circuit according to the present invention includes an interrupt signal receiving unit that receives an interrupt generation signal indicating the occurrence of an interrupt, and generates an interrupt when the interrupt signal reception unit receives the interrupt generation signal. An interrupt storage unit for storing the interrupt generation information shown, and a high-level interrupt permission signal indicating that the execution of the interrupt process that is a process corresponding to the interrupt is permitted, or the execution of the interrupt process. A permission signal receiving unit that receives a low-level interrupt permission signal indicating that permission is not permitted, and the permission signal receiving unit receives the high-level interrupt permission signal, and the interrupt storage unit generates the interrupt. When information is stored, an interrupt process request unit that outputs an interrupt process request signal that requests execution of the interrupt process, and the interrupt generation information is stored in the interrupt storage unit , The new discount When the evolution signal is received by said interrupt signal receiving unit, and an interrupt lost detecting section for detecting the loss of the new interrupt generation signal, loss of the new interrupt generation signal by said interrupt lost detection unit Is detected, the information indicating the loss of the new interrupt generation signal is stored, and the information indicating the loss of the new interrupt generation signal is stored for a period of time during which the information indicating the loss of the new interrupt generation signal is stored. The lost storage unit that outputs a high level signal indicating that the interrupt enable signal received by the enable signal receiver is input to one end, the interrupt enable signal input to the one end, and the other end A first logical product circuit that outputs a first logical product signal corresponding to a logical product of the received signal, the signal output from the lost storage unit, and the first logical product output from the first logical product circuit. Second AND corresponding to the logical AND with the signal And outputs the second logical product signal as an interrupt lost signal indicating that the new interrupt generation signal is not lost when the second logical product signal is at a low level. And a second AND circuit that outputs the second AND signal as an interrupt lost signal indicating the loss of the new interrupt generation signal when the second AND signal is at a high level .

この構成によれば、割込記憶部に割込発生情報が記憶されている状態で、更に新たな割込発生信号が割込信号受信部によって受信されたとき、割込紛失検知部によって当該新たな割込発生信号の紛失が検知される。そして、割込紛失検知部によって当該新たな割込発生信号の紛失が検知されたとき、紛失記憶部によって新たな割込発生信号の紛失を示す情報が記憶されている期間、紛失記憶部によって当該新たな割込発生信号の紛失を示すハイレベルの信号が出力される。 According to this configuration, when a new interrupt generation signal is received by the interrupt signal receiving unit in a state where the interrupt generation information is stored in the interrupt storage unit, the new loss detection unit detects the new interrupt generation information. Loss of the interrupt generation signal is detected. When the loss of the new interrupt occurrence signal is detected by the lost loss detection unit, the loss storage unit stores the information indicating the loss of the new interrupt occurrence signal during the period in which information indicating the loss of the new interrupt occurrence signal is stored. A high level signal indicating the loss of a new interrupt generation signal is output.

このため、当該出力されたハイレベルの信号によって紛失したことが示された新たな割込発生信号に対応する割り込みが、ある割り込みに対応する割込処理が終了するまでの間に発生していたことを検知することができ、当該ハイレベルの信号に対する対処を当該期間における任意のタイミングで実施することができる。
許可信号受信部によって受信された割込許可信号が割込処理の実行を許可しないことを示す場合、割込処理要求部が割込処理の実行を要求することはない。つまり、この場合、割込処理が実行されないので、割込処理が終了するまでの間に新たな割り込みが発生することはない。
この構成によれば、割込許可信号が割込処理の実行を許可しないことを示す場合に、割込処理が終了するまでの間に新たな割り込みが発生することがないことに合わせて、新たな割込発生信号の紛失を示すハイレベルの割込紛失信号の出力を禁止することができる。
For this reason, an interrupt corresponding to a new interrupt generation signal indicated to be lost by the output high level signal was generated until the interrupt processing corresponding to a certain interrupt is completed. This can be detected , and the high-level signal can be dealt with at an arbitrary timing in the period.
When the interrupt permission signal received by the permission signal receiving unit indicates that the execution of the interrupt process is not permitted, the interrupt process requesting unit does not request the execution of the interrupt process. That is, in this case, the interrupt process is not executed, so that no new interrupt is generated until the interrupt process ends.
According to this configuration, when the interrupt permission signal indicates that execution of the interrupt process is not permitted, a new interrupt is not generated until the interrupt process is completed. It is possible to prohibit the output of a high-level interrupt loss signal indicating the loss of an interrupt generation signal.

また、前記割込発生信号の紛失の検知を禁止することを示すハイレベルの紛失検知禁止信号、又は、前記割込発生信号の紛失の検知を許可することを示すローレベルの紛失検知禁止信号を受信し、受信した前記紛失検知禁止信号の論理否定を示す信号を、前記第一論理積回路の前記他端へ出力する検知禁止受信部を更に備えることが好ましい。 Further, a high level loss detection prohibition signal indicating prohibition of detection of loss of the interrupt generation signal , or a low level loss detection prohibition signal indicating permission of detection of loss of the interrupt generation signal. It is preferable to further include a detection prohibition receiving unit that receives and outputs a signal indicating the logical negation of the received loss detection prohibition signal to the other end of the first AND circuit .

この構成によれば、検知禁止受信部にハイレベルの紛失検知禁止信号を受信させるか否かによって、第二論理積回路によるハイレベルの割込紛失信号の出力を禁止するか否かを切り替えることができる。 According to this configuration, whether to prohibit the output of the high-level interrupt loss signal by the second AND circuit is switched depending on whether the detection prohibition receiving unit receives the high-level loss detection prohibition signal. Can do.

本発明によれば、ある割り込みに対応する割込処理が終了するまでの間に新たな割り込みが発生した場合に、当該新たな割り込みが発生したことを検知することができる割り込み制御回路を提供することが可能になる。   According to the present invention, there is provided an interrupt control circuit capable of detecting that a new interrupt has occurred when a new interrupt occurs before the interrupt processing corresponding to a certain interrupt is completed. It becomes possible.

本発明に係る割り込み制御回路を備えた複合機の構成の一例を示す構成図。1 is a configuration diagram illustrating an example of a configuration of a multifunction machine including an interrupt control circuit according to the present invention. 複合機の電気的構成の一例を示すブロック図。1 is a block diagram illustrating an example of an electrical configuration of a multifunction machine. 割り込み制御回路の一例を示す回路図。The circuit diagram which shows an example of an interrupt control circuit.

以下、本発明に係る割り込み制御回路を備えた、例えば、コピー、プリンタ、スキャナ及びファクシミリの機能を有する複合機を図面に基づいて説明する。   DESCRIPTION OF THE PREFERRED EMBODIMENTS A multifunction device having an interrupt control circuit according to the present invention and having functions of, for example, a copy, a printer, a scanner, and a facsimile will be described below with reference to the drawings.

図1に示すように、複合機1は、本体部100、原稿読取部200、原稿給送部300、操作部400、及び用紙後処理部500を備えている。   As shown in FIG. 1, the multifunction machine 1 includes a main body unit 100, a document reading unit 200, a document feeding unit 300, an operation unit 400, and a paper post-processing unit 500.

原稿給送部300は、原稿載置部301、給紙ローラ303、原稿搬送部305及び原稿排出部307を備えている。   The document feeding unit 300 includes a document placement unit 301, a paper feed roller 303, a document transport unit 305, and a document discharge unit 307.

給紙ローラ303は、原稿載置部301にセットされた原稿を1枚ずつ繰り出す。原稿搬送部305は、繰り出された原稿を原稿読取部200に搬送する。原稿は、原稿読取部200で読み取られて原稿排出部307に排出される。   The paper feed roller 303 feeds the original set on the original placement unit 301 one by one. The document transport unit 305 transports the fed document to the document reading unit 200. The document is read by the document reading unit 200 and discharged to the document discharge unit 307.

原稿読取部200は、CCD(Charge Coupled Device)センサ及び露光ランプ等を搭載したキャリッジ201、ガラス等の透明部材により構成された原稿台203、及び原稿読取スリット205を備えている。   The document reading unit 200 includes a carriage 201 on which a CCD (Charge Coupled Device) sensor and an exposure lamp are mounted, a document table 203 formed of a transparent member such as glass, and a document reading slit 205.

原稿台203に載置された原稿を読み取る場合、キャリッジ201を原稿台203の長手方向に移動させながらCCDセンサにより原稿を読み取る。これに対して、原稿給送部300から給送された原稿を読み取る場合、キャリッジ201を原稿読取スリット205と対向する位置に移動させて、原稿給送部300から送られてきた原稿を、原稿読取スリット205を通してCCDセンサにより読み取る。CCDセンサは読み取った原稿を画像データとして出力する。   When reading a document placed on the document table 203, the document is read by the CCD sensor while moving the carriage 201 in the longitudinal direction of the document table 203. On the other hand, when reading a document fed from the document feeding unit 300, the carriage 201 is moved to a position facing the document reading slit 205, and the document fed from the document feeding unit 300 is scanned. Reading is performed by the CCD sensor through the reading slit 205. The CCD sensor outputs the read original as image data.

本体部100は、用紙貯留部101、画像形成部103及び定着部105を備えている。   The main body 100 includes a paper storage unit 101, an image forming unit 103, and a fixing unit 105.

用紙貯留部101は、本体部100の最下部に配置され、用紙の束を貯留する用紙トレイ107を備えている。用紙トレイ107に貯留された用紙の束において、最上位の用紙がピックアップローラ109の駆動により、用紙搬送部111へ向けて繰り出される。用紙は、用紙搬送部111を通って、画像形成部103へ搬送される。   The paper storage unit 101 includes a paper tray 107 that is disposed at the lowermost part of the main body unit 100 and stores a bundle of paper. In the stack of sheets stored in the sheet tray 107, the uppermost sheet is fed out toward the sheet conveying unit 111 by driving the pickup roller 109. The sheet is conveyed to the image forming unit 103 through the sheet conveying unit 111.

画像形成部103は、搬送されてきた用紙にトナー画像を形成する。画像形成部103は、感光体ドラム113、露光部115、現像部117及び転写部119を備えている。   The image forming unit 103 forms a toner image on the conveyed paper. The image forming unit 103 includes a photosensitive drum 113, an exposure unit 115, a developing unit 117, and a transfer unit 119.

露光部115は、画像データ(原稿読取部200から出力された画像データ、パソコンから送信された画像データ、ファクシミリ受信の画像データ等)に対応する光を生成し、一様に帯電された感光体ドラム113の周面に照射する。これにより、感光体ドラム113の周面には画像データに対応する静電潜像が形成される。   The exposure unit 115 generates light corresponding to image data (image data output from the document reading unit 200, image data transmitted from a personal computer, image data received by facsimile, etc.), and is uniformly charged photoconductor. Irradiate the peripheral surface of the drum 113. As a result, an electrostatic latent image corresponding to the image data is formed on the peripheral surface of the photosensitive drum 113.

この状態で感光体ドラム113の周面に現像部117からトナーを供給することにより、感光体ドラム113の周面には、画像データに対応するトナー画像が形成される。このトナー画像は、転写部119によって上記の用紙貯留部101から搬送されてきた用紙に転写される。   In this state, toner is supplied from the developing unit 117 to the circumferential surface of the photosensitive drum 113, so that a toner image corresponding to the image data is formed on the circumferential surface of the photosensitive drum 113. This toner image is transferred by the transfer unit 119 to the sheet conveyed from the sheet storage unit 101.

トナー画像が転写された用紙は、定着部105に送られる。定着部105において、トナー画像と用紙に熱と圧力が加えられて、トナー画像を用紙に定着させる。これにより、用紙への画像の印刷が完了する。この印刷済用紙に対して後処理がされる場合、印刷済用紙は本体部100の用紙排出口121から用紙後処理部500へ送られる。これに対して後処理がされない場合、印刷済用紙は排紙トレイ123に排紙される。   The sheet on which the toner image is transferred is sent to the fixing unit 105. In the fixing unit 105, heat and pressure are applied to the toner image and the paper to fix the toner image on the paper. Thereby, the printing of the image on the paper is completed. When post-processing is performed on the printed paper, the printed paper is sent from the paper discharge port 121 of the main body 100 to the paper post-processing unit 500. On the other hand, when no post-processing is performed, the printed paper is discharged to the paper discharge tray 123.

用紙後処理部500では、印刷済用紙に対して、ソート、ステープル、パンチ、中綴じ等の後処理がされる。用紙後処理部500は、用紙搬入口501、用紙搬送部503、用紙搬出口505及びスタックトレイ507等を備える。用紙搬送部503は用紙排出口121から用紙搬入口501に搬入された印刷済用紙を順次搬送し、後処理がされた印刷済用紙を用紙搬出口505からスタックトレイ507へ搬出する。スタックトレイ507は用紙搬出口505から搬出された上記用紙の集積枚数に応じて矢印方向に上下動可能な構成を有する。   The paper post-processing unit 500 performs post-processing such as sorting, stapling, punching, and saddle stitching on the printed paper. The paper post-processing unit 500 includes a paper carry-in port 501, a paper transport unit 503, a paper carry-out port 505, a stack tray 507, and the like. The paper transport unit 503 sequentially transports the printed paper carried into the paper carry-in port 501 from the paper discharge port 121, and carries out the post-processed printed paper from the paper carry-out port 505 to the stack tray 507. The stack tray 507 has a configuration capable of moving up and down in the direction of the arrow in accordance with the number of sheets stacked from the paper exit 505.

操作部400は、操作キー部401と表示部403を備える。表示部403はタッチパネル機能を有しており、ソフトキーを含む画面が表示される。ユーザは画面を見ながらソフトキーを操作することによって、コピー等の機能の実行に必要な設定等をする。   The operation unit 400 includes an operation key unit 401 and a display unit 403. The display unit 403 has a touch panel function, and displays a screen including soft keys. The user operates the soft keys while viewing the screen to make settings necessary for executing functions such as copying.

操作キー部401は、ハードキーからなる操作キーを備えており、具体的にはヘルプキー405、スタートキー407、テンキー409及び機能切換キー411等を備える。   The operation key unit 401 includes operation keys including hard keys, and specifically includes a help key 405, a start key 407, a ten key 409, a function switching key 411, and the like.

ヘルプキー405は、ヘルプ画面を表示部403に表示させるキーである。ヘルプ画面とはスキャナ、ファクシミリ、プリンタ、コピー等の機能に関する操作方法が表示された画面である。スタートキー407は、コピー、ファクシミリ送信等の動作を開始させるキーである。テンキー409は、コピー部数、ファクシミリ番号等の数字を入力するキーである。機能切換キー411は、コピーキー及び送信キー等を備えており、コピー機能、送信機能等を相互に切り替えるキーである。コピーキーを操作すれば、コピーの初期画面が表示部403に表示される。送信キーを操作すれば、ファクシミリ送信及びメール送信の初期画面が表示部403に表示される。   A help key 405 is a key for displaying a help screen on the display unit 403. The help screen is a screen on which operation methods relating to functions such as a scanner, a facsimile, a printer, and a copy are displayed. A start key 407 is a key for starting operations such as copying and facsimile transmission. A numeric keypad 409 is a key for inputting numbers such as the number of copies and a facsimile number. The function switching key 411 includes a copy key, a transmission key, and the like, and is a key for switching between a copy function, a transmission function, and the like. When the copy key is operated, an initial copy screen is displayed on the display unit 403. When the transmission key is operated, an initial screen for facsimile transmission and mail transmission is displayed on the display unit 403.

続いて、複合機1の電気的構成について説明する。図2に示すように、複合機1は、本体部100、原稿読取部200、原稿給送部300、操作部400、用紙後処理部500、USBメモリー等の記憶媒体6を複合機1に接続するための外部インターフェイス(外部I/F)600、通信部700、及び制御部2が、バスによって接続された構成を有する。   Next, the electrical configuration of the multifunction machine 1 will be described. As shown in FIG. 2, the multifunction device 1 connects a main body 100, a document reading unit 200, a document feeding unit 300, an operation unit 400, a sheet post-processing unit 500, and a storage medium 6 such as a USB memory to the multifunction device 1. The external interface (external I / F) 600, the communication unit 700, and the control unit 2 are connected by a bus.

制御部2は、ROM(Read Only Memory)21、RAM(Random Access Memory)22、CPU(Central Processing Unit)23、及び、割り込み制御回路24がバスによって接続されたマイクロコンピュータとして構成されている。   The control unit 2 is configured as a microcomputer in which a ROM (Read Only Memory) 21, a RAM (Random Access Memory) 22, a CPU (Central Processing Unit) 23, and an interrupt control circuit 24 are connected by a bus.

CPU23は、RAM22を作業領域として利用しつつ、ROM21に記憶されている制御プログラムを実行することによって、装置各部100,200,300,400,500,600,700に必要な制御を行う。   The CPU 23 performs necessary control for each unit 100, 200, 300, 400, 500, 600, 700 by executing the control program stored in the ROM 21 while using the RAM 22 as a work area.

割り込み制御回路24は、装置各部100,200,300,400,500,600,700から割り込みの発生を示す割込信号を受信し、当該割込信号によって示される割り込みに対応する処理(割込処理)の実行要求を、CPU23に向けて出力する制御を行う。   The interrupt control circuit 24 receives an interrupt signal indicating the occurrence of an interrupt from each unit 100, 200, 300, 400, 500, 600, 700, and performs a process corresponding to the interrupt indicated by the interrupt signal (interrupt process). ) Is output to the CPU 23.

続いて、割り込み制御回路24の構成について詳述する。例えば、図3に示すように、割り込み制御回路24は、割込信号受信部31、割込記憶部32、許可信号受信部33、割込処理要求部34、割込紛失検知部35、検知禁止受信部36、及び紛失信号出力部37を備えている。   Next, the configuration of the interrupt control circuit 24 will be described in detail. For example, as shown in FIG. 3, the interrupt control circuit 24 includes an interrupt signal receiving unit 31, an interrupt storage unit 32, a permission signal receiving unit 33, an interrupt processing request unit 34, an interrupt loss detection unit 35, and a detection prohibition. A receiving unit 36 and a lost signal output unit 37 are provided.

また、割り込み制御回路24は、割込クリア信号受信部41、及び紛失クリア信号受信部42を備えている。割込クリア信号受信部41は、後述のDフリップフロップ回路322に記憶されている割込発生フラグの値を「0」に設定(クリア)させるか否かの指示を示す割込クリア信号を受信するための入力端子である。紛失クリア信号受信部42は、後述のDフリップフロップ回路382に記憶されている割込紛失フラグの値を「0」に設定(クリア)させるか否かの指示を示す紛失クリア信号を受信するための入力端子である。尚、割込クリア信号受信部41及び紛失クリア信号受信部42は、コネクタや、ICの信号ピン、又は、配線パターンであってもよい。   The interrupt control circuit 24 includes an interrupt clear signal receiving unit 41 and a lost clear signal receiving unit 42. The interrupt clear signal receiving unit 41 receives an interrupt clear signal indicating an instruction as to whether or not to set (clear) the value of an interrupt generation flag stored in a D flip-flop circuit 322 described later to “0”. This is an input terminal. The lost clear signal receiving unit 42 receives a lost clear signal indicating an instruction as to whether or not to set (clear) the value of an interrupt lost flag stored in a D flip-flop circuit 382, which will be described later, to “0”. Input terminal. The interrupt clear signal receiving unit 41 and the lost clear signal receiving unit 42 may be connectors, IC signal pins, or wiring patterns.

割込信号受信部31は、装置各部100,200,300,400,500,600,700から出力された割込発生信号を受信するための入力端子である。尚、以下では、割込発生信号は、ハイレベル又はローレベルの2つのレベルを示す信号であり、ハイレベルの場合に割り込みの発生を示し、ローレベルの場合に割り込みが発生していないことを示すものとして説明する。また、割込信号受信部31は、コネクタや、ICの信号ピン、又は、配線パターンであってもよい。   The interrupt signal receiving unit 31 is an input terminal for receiving an interrupt generation signal output from each unit 100, 200, 300, 400, 500, 600, 700. In the following, the interrupt generation signal is a signal indicating two levels of high level or low level, indicating that an interrupt has occurred when it is at a high level, and that no interrupt has occurred when it is at a low level. It will be described as shown. Further, the interrupt signal receiving unit 31 may be a connector, an IC signal pin, or a wiring pattern.

割込記憶部32は、割込信号受信部31によって受信された割込発生信号のレベルに応じた、割り込みが発生したか否かを示す割込発生フラグ(割込発生情報)を記憶し、記憶している割込発生フラグの値に対応するレベルの信号を割込紛失検知部35に向けて出力する。   The interrupt storage unit 32 stores an interrupt generation flag (interrupt generation information) indicating whether or not an interrupt has occurred according to the level of the interrupt generation signal received by the interrupt signal reception unit 31. A signal having a level corresponding to the value of the stored interrupt generation flag is output to the interrupt loss detection unit 35.

例えば、割込信号受信部31によって受信された割込発生信号がハイレベルである場合、割込記憶部32は、ハイレベルに応じた、割り込みの発生を示す例えば値が「1」の割込発生フラグを記憶し、記憶している割込発生フラグの値「1」に対応するハイレベルの信号を割込紛失検知部35に向けて出力する。尚、以下では、割込発生フラグは、値が「1」の場合に割り込みの発生を示すものとし、値が「0」の場合に割り込みが発生していないことを示すものとする。   For example, when the interrupt generation signal received by the interrupt signal receiving unit 31 is at a high level, the interrupt storage unit 32 indicates an interrupt with a value “1” indicating the occurrence of an interrupt according to the high level. The generation flag is stored, and a high level signal corresponding to the stored interrupt generation flag value “1” is output to the interrupt loss detection unit 35. In the following description, the interrupt generation flag indicates that an interrupt has occurred when the value is “1”, and indicates that no interrupt has occurred when the value is “0”.

具体的には、割込記憶部32は、例えば、図3に示すように、論理和回路321、及びDフリップフロップ回路322を備えている。   Specifically, the interrupt storage unit 32 includes, for example, an OR circuit 321 and a D flip-flop circuit 322 as shown in FIG.

論理和回路321は、割込信号受信部31によって受信された割込発生信号がハイレベルである場合、Dフリップフロップ回路322のD端子に向けてハイレベルの信号を出力する。   The OR circuit 321 outputs a high-level signal toward the D terminal of the D flip-flop circuit 322 when the interrupt generation signal received by the interrupt signal receiving unit 31 is at a high level.

Dフリップフロップ回路322のクロック端子には、例えば図略の発振回路によって生成されたクロック信号CLKが入力される。尚、クロック信号CLKの周期は、割込発生信号のパルス幅よりも短くされている。Dフリップフロップ回路322は、論理和回路321から入力された信号のレベルに応じた値を、クロック信号CLKのポジティブエッジ(立ち上がりエッジ)と同期して、割込発生フラグとして記憶する。Dフリップフロップ回路322は、当該記憶している割込発生フラグの値に対応するレベルの信号を割込紛失検知部35、論理和回路321及び後述の割込処理要求部34に向けて出力する。   For example, a clock signal CLK generated by an oscillation circuit (not shown) is input to the clock terminal of the D flip-flop circuit 322. Note that the cycle of the clock signal CLK is shorter than the pulse width of the interrupt generation signal. The D flip-flop circuit 322 stores a value corresponding to the level of the signal input from the OR circuit 321 as an interrupt generation flag in synchronization with the positive edge (rising edge) of the clock signal CLK. The D flip-flop circuit 322 outputs a signal of a level corresponding to the value of the stored interrupt generation flag to the interrupt loss detection unit 35, the OR circuit 321 and an interrupt processing request unit 34 described later. .

Dフリップフロップ回路322の出力信号は、論理和回路321を介してフィードバックされてDフリップフロップ回路322のD端子に入力される。その結果、Dフリップフロップ回路322の割込発生フラグの値が一旦「1」になると、割込発生信号のレベルにかかわらず、割込発生フラグの値が「1」に保持される。   The output signal of the D flip-flop circuit 322 is fed back via the OR circuit 321 and input to the D terminal of the D flip-flop circuit 322. As a result, once the value of the interrupt generation flag of the D flip-flop circuit 322 becomes “1”, the value of the interrupt generation flag is held at “1” regardless of the level of the interrupt generation signal.

Dフリップフロップ回路322には、記憶している割込発生フラグの値を「0」に設定(クリア)するためのクリア端子が設けられている。具体的には、CPU23によって割込処理の実行が終了した場合等に、割込クリア信号受信部41によって、割込発生フラグの削除を指示することを示すローレベルの割込クリア信号が受信され、当該ローレベルの割込クリア信号が当該クリア端子に入力されると、Dフリップフロップ回路322は、記憶している割込発生フラグの値を「0」に設定する。   The D flip-flop circuit 322 is provided with a clear terminal for setting (clearing) the value of the stored interrupt generation flag to “0”. Specifically, when the CPU 23 finishes executing the interrupt process, the interrupt clear signal receiving unit 41 receives a low-level interrupt clear signal indicating that the interrupt generation flag is instructed to be deleted. When the low-level interrupt clear signal is input to the clear terminal, the D flip-flop circuit 322 sets the value of the stored interrupt generation flag to “0”.

許可信号受信部33は、割込処理の実行を許可するか否かを示す割込許可信号を受信するための入力端子である。尚、以下では、割込許可信号は、ハイレベル又はローレベルの2つのレベルを示す信号であり、ハイレベルの場合に割込処理の実行を許可することを示し、ローレベルの場合に割込処理の実行を禁止することを示すものとして説明する。また、許可信号受信部33は、コネクタや、ICの信号ピン、又は、配線パターンであってもよい。   The permission signal receiving unit 33 is an input terminal for receiving an interrupt permission signal indicating whether or not to permit execution of an interrupt process. In the following, the interrupt permission signal is a signal indicating two levels of high level or low level, and indicates that interrupt processing is permitted when it is high level, and interrupt signal when it is low level. Description will be made assuming that execution of the process is prohibited. Further, the permission signal receiving unit 33 may be a connector, an IC signal pin, or a wiring pattern.

割込処理要求部34は、許可信号受信部33によって割込処理の実行を許可することを示すハイレベルの割込許可信号が受信され、かつ割込記憶部32に割り込みの発生を示す値が「1」の割込発生フラグが記憶されているときに、割込処理の実行を要求するハイレベルの割込処理要求信号を出力する。   The interrupt processing request unit 34 receives a high-level interrupt permission signal indicating that execution of the interrupt processing is permitted by the permission signal reception unit 33, and the interrupt storage unit 32 has a value indicating the occurrence of an interrupt. When the interrupt generation flag of “1” is stored, a high level interrupt processing request signal for requesting execution of the interrupt processing is output.

尚、以下では、割込処理要求信号は、ハイレベル又はローレベルの2つのレベルを示す信号であり、ハイレベルの場合に割込処理の実行を要求することを示し、ローレベルの場合に割込処理の実行を要求しないことを示すものとして説明する。   In the following, the interrupt processing request signal is a signal indicating two levels, high level and low level, and indicates that execution of interrupt processing is requested when the level is high, and interrupted when the level is low. In the following description, it is assumed that execution of the loading process is not requested.

具体的には、割込処理要求部34は、許可信号受信部33によって受信された割込許可信号と、割込記憶部32から出力された信号、つまり、割込記憶部32に記憶されている割込発生フラグの値に対応するレベルの信号と、の論理積に対応する信号を、割込処理要求信号として出力する論理積回路によって構成されている。   Specifically, the interrupt processing request unit 34 stores the interrupt permission signal received by the permission signal receiving unit 33 and the signal output from the interrupt storage unit 32, that is, stored in the interrupt storage unit 32. And a signal corresponding to the logical product of the signal corresponding to the value of the interrupt generation flag and an interrupt processing request signal.

例えば、割込処理要求部34は、許可信号受信部33によって受信された割込許可信号がハイレベルの信号であり、かつ、割込記憶部32に値が「1」の割込発生フラグが記憶されており、割込記憶部32から出力された信号が当該割込発生フラグの値に対応したハイレベルの信号である場合に、当該2つの信号の論理積に対応するハイレベルの信号を、割込処理要求信号として出力する。   For example, the interrupt processing request unit 34 is a signal whose interrupt permission signal received by the permission signal receiving unit 33 is a high level, and an interrupt generation flag whose value is “1” is stored in the interrupt storage unit 32. If the signal output from the interrupt storage unit 32 is a high level signal corresponding to the value of the interrupt generation flag, a high level signal corresponding to the logical product of the two signals is stored. And output as an interrupt processing request signal.

一方、割込処理要求部34は、許可信号受信部33によって受信された割込許可信号と割込記憶部32から出力された信号のうちの、少なくとも何れか一つの信号がローレベルである場合は、当該2つの信号の論理積に対応するローレベルの信号を、割込処理要求信号として出力する。   On the other hand, when the interrupt processing request unit 34 is at least one of the interrupt permission signal received by the permission signal receiving unit 33 and the signal output from the interrupt storage unit 32 is at a low level. Outputs a low level signal corresponding to the logical product of the two signals as an interrupt processing request signal.

割込紛失検知部35は、割込記憶部32に割り込みの発生を示す値が「1」の割込発生フラグが記憶されている状態で、更に新たな割込発生信号が割込信号受信部31によって受信されたとき、当該新たな割込発生信号の紛失を検知したことを示すハイレベルの紛失検知信号を紛失信号出力部37に向けて出力する。   The interrupt loss detection unit 35 is a state in which an interrupt generation flag whose value indicating the occurrence of an interrupt is “1” is stored in the interrupt storage unit 32, and a new interrupt generation signal is transmitted to the interrupt signal reception unit. When it is received by 31, a high level loss detection signal indicating that the loss of the new interrupt occurrence signal has been detected is output to the loss signal output unit 37.

尚、以下では、紛失検知信号は、ハイレベル又はローレベルの2つのレベルを示す信号であり、ハイレベルの場合に新たな割込発生信号の紛失を検知したことを示し、ローレベルの場合に新たな割込発生信号の紛失を検知していないことを示すものとして説明する。   In the following, the loss detection signal is a signal indicating two levels of high level or low level. When the loss detection signal is high level, it indicates that the loss of a new interrupt occurrence signal has been detected. A description will be given assuming that the loss of a new interrupt occurrence signal is not detected.

具体的には、割込紛失検知部35は、割込信号受信部31によって受信された割込発生信号と、割込記憶部32から出力された信号、つまり、割込記憶部32に記憶されている割込発生フラグの値に対応するレベルの信号と、の論理積に対応する信号を、紛失検知信号として出力する論理積回路によって構成されている。   Specifically, the interrupt loss detection unit 35 is stored in the interrupt generation signal received by the interrupt signal reception unit 31 and the signal output from the interrupt storage unit 32, that is, in the interrupt storage unit 32. And a signal corresponding to the logical product of the signal corresponding to the value of the interrupt generation flag, and a logical product circuit that outputs the signal as a loss detection signal.

例えば、割込紛失検知部35は、割込記憶部32に値が「1」の割込発生フラグが記憶されており、割込記憶部32から出力された信号が当該割込発生フラグの値に対応したハイレベルの信号である場合に、割込信号受信部31によってハイレベルの割込発生信号が受信されると、当該2つの信号の論理積に対応するハイレベルの信号を、紛失検知信号として出力する。   For example, the interrupt loss detection unit 35 stores an interrupt generation flag whose value is “1” in the interrupt storage unit 32, and the signal output from the interrupt storage unit 32 is the value of the interrupt generation flag. If a high-level interrupt generation signal is received by the interrupt signal receiving unit 31 and the high-level signal corresponding to the logical product of the two signals is lost, Output as a signal.

一方、割込紛失検知部35は、割込記憶部32から出力された信号と割込信号受信部31によって受信された割込発生信号のうちの、少なくとも何れか一つの信号がローレベルである場合は、当該2つの信号の論理積に対応するローレベルの信号を、紛失検知信号として出力する。   On the other hand, the interrupt loss detection unit 35 has at least one of the signal output from the interrupt storage unit 32 and the interrupt generation signal received by the interrupt signal reception unit 31 at a low level. In this case, a low level signal corresponding to the logical product of the two signals is output as a loss detection signal.

検知禁止受信部36は、割込発生信号の紛失の検知を禁止するか否かを示す紛失検知禁止信号を受信する。尚、以下では、紛失検知禁止信号は、ハイレベル又はローレベルの2つのレベルを示す信号であり、ハイレベルの場合に割込発生信号の紛失の検知を禁止することを示し、ローレベルの場合に割込発生信号の紛失の検知を許可することを示すものとして説明する。   The detection prohibition receiving unit 36 receives a loss detection prohibition signal indicating whether or not to detect the loss of the interrupt generation signal. In the following, the loss detection prohibition signal is a signal indicating two levels, a high level and a low level. When the loss detection prohibition signal is high, it indicates that detection of the loss of the interrupt generation signal is prohibited. Will be described as indicating that the detection of the loss of the interrupt generation signal is permitted.

具体的には、検知禁止受信部36は、紛失検知禁止信号を受信するための入力端子361、及び、入力端子361で受信した信号の論理否定を示す信号を出力する論理否定回路362を備えている。   Specifically, the detection prohibition receiving unit 36 includes an input terminal 361 for receiving a loss detection prohibition signal, and a logic negation circuit 362 that outputs a signal indicating the logical negation of the signal received at the input terminal 361. Yes.

つまり、検知禁止受信部36は、入力端子361によってハイレベルを示す紛失検知禁止信号が受信された場合には、論理否定回路362によってローレベルを示す信号を紛失信号出力禁止部39に向けて出力し、入力端子361によってローレベルを示す紛失検知禁止信号が受信された場合には、論理否定回路362によってハイレベルを示す信号を紛失信号出力禁止部39に向けて出力する。尚、入力端子361は、コネクタや、ICの信号ピン、又は、配線パターンであってもよい。   That is, when the loss detection prohibition signal indicating the high level is received by the input terminal 361, the detection prohibition reception unit 36 outputs the signal indicating the low level to the loss signal output prohibition unit 39 by the logic negation circuit 362. When a loss detection prohibiting signal indicating a low level is received by the input terminal 361, a signal indicating a high level is output to the lost signal output prohibiting unit 39 by the logic negation circuit 362. The input terminal 361 may be a connector, an IC signal pin, or a wiring pattern.

紛失信号出力部37は、割込紛失検知部35から出力された紛失検知信号、許可信号受信部33によって受信された割込許可信号、及び、検知禁止受信部36から出力された紛失検知禁止信号の論理否定を示す信号のレベルに応じて、新たな割込発生信号の紛失を示すか否かを示す割込紛失信号を出力する。   The lost signal output unit 37 includes a loss detection signal output from the interrupt loss detection unit 35, an interrupt permission signal received by the permission signal reception unit 33, and a loss detection prohibition signal output from the detection prohibition reception unit 36. In response to the level of the signal indicating the logical negation of, an interrupt lost signal indicating whether or not a new interrupt occurrence signal is lost is output.

尚、以下では、割込紛失信号は、ハイレベル又はローレベルの2つのレベルを示す信号であり、ハイレベルの場合に新たな割込発生信号の紛失を示し、ローレベルの場合に新たな割込発生信号の紛失がないことを示すものとして説明する。   In the following description, the lost interrupt signal is a signal indicating two levels of high level or low level. When it is high level, it indicates that a new interrupt occurrence signal is lost, and when it is low level, it indicates a new interrupt level. In the following description, it is assumed that there is no loss of the occurrence signal.

具体的には、紛失信号出力部37は、紛失記憶部38、及び紛失信号出力禁止部39を備えている。   Specifically, the lost signal output unit 37 includes a lost storage unit 38 and a lost signal output prohibiting unit 39.

紛失記憶部38は、割込紛失検知部35によって出力された紛失検知信号のレベルに応じた、新たな割込発生信号を紛失したか否かを示す割込紛失フラグ(新たな割込発生信号の紛失を示す情報)を記憶し、記憶している割込紛失フラグに対応するレベルの信号を紛失信号出力禁止部39に向けて出力する。   The lost storage unit 38 includes an interrupt lost flag (new interrupt generation signal) indicating whether or not a new interrupt generation signal has been lost in accordance with the level of the loss detection signal output by the interrupt loss detection unit 35. Is stored), and a signal at a level corresponding to the stored interrupt lost flag is output to the lost signal output prohibiting unit 39.

例えば、割込紛失検知部35によって出力された紛失検知信号がハイレベルである場合、紛失記憶部38は、ハイレベルに応じた、新たな割込発生信号の紛失を示す例えば値が「1」の割込紛失フラグを記憶し、記憶している割込紛失フラグの値「1」に対応するハイレベルの信号を紛失信号出力禁止部39に向けて出力する。尚、以下では、割込紛失フラグは、値が「1」の場合に新たな割込発生信号の紛失を示すものとし、値が「0」の場合に新たな割込発生信号を紛失していないことを示すものとする。   For example, if the loss detection signal output by the interrupt loss detection unit 35 is at a high level, the loss storage unit 38 indicates, for example, a value “1” indicating the loss of a new interrupt occurrence signal according to the high level. The interrupt lost flag is stored, and a high level signal corresponding to the stored interrupt lost flag value “1” is output to the lost signal output prohibiting unit 39. In the following, it is assumed that the lost interrupt flag indicates that a new interrupt occurrence signal is lost when the value is “1”, and that a new interrupt occurrence signal is lost when the value is “0”. It shall be shown that there is not.

具体的には、紛失記憶部38は、例えば、図3に示すように、論理和回路381、Dフリップフロップ回路382を備えている。   Specifically, the lost storage unit 38 includes, for example, a logical sum circuit 381 and a D flip-flop circuit 382 as shown in FIG.

論理和回路381は、割込紛失検知部35によって出力された紛失検知信号がハイレベルである場合、Dフリップフロップ回路382のD端子に向けてハイレベルの信号を出力する。   The logical sum circuit 381 outputs a high level signal toward the D terminal of the D flip-flop circuit 382 when the loss detection signal output by the interrupt loss detection unit 35 is at a high level.

Dフリップフロップ回路382のクロック端子には、例えば図略の発振回路によって生成されたクロック信号CLKが入力される。尚、クロック信号CLKの周期は、割込発生信号のパルス幅よりも短くされている。Dフリップフロップ回路382は、論理和回路381から入力された信号のレベルに応じた値を、クロック信号CLKのポジティブエッジ(立ち上がりエッジ)と同期して、割込紛失フラグとして記憶する。Dフリップフロップ回路382は、当該記憶している割込紛失フラグの値に対応するレベルの信号を紛失信号出力禁止部39、及び論理和回路381に向けて出力する。   For example, a clock signal CLK generated by an oscillation circuit (not shown) is input to the clock terminal of the D flip-flop circuit 382. Note that the cycle of the clock signal CLK is shorter than the pulse width of the interrupt generation signal. The D flip-flop circuit 382 stores a value corresponding to the level of the signal input from the OR circuit 381 as an interrupt loss flag in synchronization with the positive edge (rising edge) of the clock signal CLK. The D flip-flop circuit 382 outputs a signal of a level corresponding to the stored value of the lost interrupt flag to the lost signal output prohibiting unit 39 and the OR circuit 381.

Dフリップフロップ回路382の出力信号は、論理和回路381を介してフィードバックされてDフリップフロップ回路382のD端子に入力される。その結果、Dフリップフロップ回路382の割込紛失フラグの値が一旦「1」になると、紛失検知信号のレベルにかかわらず、割込紛失フラグの値が「1」に保持される。   The output signal of the D flip-flop circuit 382 is fed back via the OR circuit 381 and input to the D terminal of the D flip-flop circuit 382. As a result, once the interrupt lost flag value of the D flip-flop circuit 382 becomes “1”, the interrupt lost flag value is held at “1” regardless of the level of the loss detection signal.

Dフリップフロップ回路382には、記憶している割込紛失フラグの値を「0」に設定(クリア)するためのクリア端子が設けられている。具体的には、CPU23によって割込処理の実行が終了した場合等に、紛失クリア信号受信部42によって、割込紛失フラグの削除を指示することを示すローレベルの紛失クリア信号が受信され、当該ローレベルの紛失クリア信号が当該クリア端子に入力されると、Dフリップフロップ回路382は、記憶している割込発生フラグの値を「0」に設定する。   The D flip-flop circuit 382 is provided with a clear terminal for setting (clearing) the value of the stored interrupt lost flag to “0”. Specifically, when the CPU 23 finishes executing the interrupt process, the lost clear signal receiving unit 42 receives a low-level lost clear signal indicating that the loss of interrupt flag is instructed. When the low level lost clear signal is input to the clear terminal, the D flip-flop circuit 382 sets the value of the stored interrupt generation flag to “0”.

紛失信号出力禁止部39は、検知禁止受信部36によって割込発生信号の紛失の検知を禁止することを示すハイレベルの紛失検知禁止信号が受信されたとき、割込紛失信号をローレベルにして出力する。これにより、紛失信号出力部37から新たな割込発生信号の紛失を示すハイレベルの割込紛失信号が出力されることを禁止する。また、紛失信号出力禁止部39は、許可信号受信部33によって割込処理の実行を許可しないことを示すローレベルの割込許可信号が受信されたときも、割込紛失信号をローレベルにして出力する。これにより、紛失信号出力部37からハイレベルの割込紛失信号が出力されることを禁止する。   The lost signal output prohibition unit 39 sets the lost loss signal to a low level when the detection prohibition reception unit 36 receives a high level loss detection prohibition signal indicating that the detection of the loss of the interrupt occurrence signal is prohibited. Output. This prohibits the loss signal output unit 37 from outputting a high-level interrupt loss signal indicating the loss of a new interrupt occurrence signal. The lost signal output prohibiting unit 39 also sets the interrupt lost signal to low level when the permission signal receiving unit 33 receives a low level interrupt permission signal indicating that execution of interrupt processing is not permitted. Output. This prohibits the loss signal output unit 37 from outputting a high-level interrupt loss signal.

具体的には、紛失信号出力禁止部39は、2つの論理積回路391,392を備えて構成されている。   Specifically, the lost signal output prohibiting unit 39 includes two logical product circuits 391 and 392.

論理積回路391は、許可信号受信部33によって受信された割込許可信号と、検知禁止受信部36から出力された信号と、の論理積に対応する信号を、論理積回路392に向けて出力する。   The logical product circuit 391 outputs a signal corresponding to the logical product of the interrupt permission signal received by the permission signal reception unit 33 and the signal output from the detection prohibition reception unit 36 to the logical product circuit 392. To do.

論理積回路392は、紛失記憶部38から出力された信号と、論理積回路391から出力された信号と、の論理積に対応する信号を、割込紛失信号として出力する。   The logical product circuit 392 outputs a signal corresponding to the logical product of the signal output from the lost storage unit 38 and the signal output from the logical product circuit 391 as an interrupt lost signal.

例えば、論理積回路391は、許可信号受信部33によって受信された割込許可信号がハイレベルの信号であり、検知禁止受信部36の入力端子361にハイレベルの紛失検知禁止信号が入力されることによって、論理否定回路362からローレベルを示す信号が出力された場合に、当該2つの信号の論理積に対応するローレベルの信号を、論理積回路392に向けて出力する。   For example, in the AND circuit 391, the interrupt permission signal received by the permission signal receiving unit 33 is a high level signal, and a high level loss detection prohibiting signal is input to the input terminal 361 of the detection prohibiting receiving unit 36. Thus, when a signal indicating a low level is output from the logical negation circuit 362, a low level signal corresponding to the logical product of the two signals is output to the logical product circuit 392.

また、論理積回路391は、許可信号受信部33によって受信された割込許可信号がローレベルの信号である場合には、検知禁止受信部36から出力された信号がハイレベルであるかローレベルであるかによらず、当該2つの信号の論理積に対応するローレベルの信号を、論理積回路392に向けて出力する。   The AND circuit 391 determines whether the signal output from the detection prohibition receiving unit 36 is high level or low level when the interrupt permission signal received by the permission signal receiving unit 33 is a low level signal. Regardless of whether or not, a low level signal corresponding to the logical product of the two signals is output to the logical product circuit 392.

このように、論理積回路391からローレベルの信号が出力されると、論理積回路392は、紛失記憶部38から出力された信号のレベルがハイレベルであるかローレベルであるかによらず、当該2つの信号の論理積に対応するローレベルの信号を、割込紛失信号として出力する。   As described above, when a low level signal is output from the AND circuit 391, the AND circuit 392 does not depend on whether the level of the signal output from the lost storage unit 38 is high level or low level. A low level signal corresponding to the logical product of the two signals is output as an interrupt lost signal.

つまり、本実施形態の構成によれば、検知禁止受信部36にハイレベルの紛失検知禁止信号を受信させるか否かによって、紛失信号出力部37による割込紛失信号の出力を禁止するか否かを切り替えることができる。また、許可信号受信部33にローレベルの割込許可信号を受信させるか否かによっても、紛失信号出力部37による割込紛失信号の出力を禁止するか否かを切り替えることができる。   That is, according to the configuration of the present embodiment, whether or not the lost signal output unit 37 prohibits the output of the lost interrupt signal depending on whether or not the detection prohibition receiving unit 36 receives a high level loss detection prohibition signal. Can be switched. Further, whether or not the lost signal output unit 37 prohibits the output of the lost interrupt signal can also be switched depending on whether or not the permission signal receiving unit 33 receives a low-level interrupt enable signal.

許可信号受信部33によって受信された割込許可信号が割込処理の実行を許可しないことを示すローレベルである場合は、割込処理要求部34が割込処理の実行を要求することを示すハイレベルの割込処理要求信号を出力しない。つまり、この場合、割込処理が実行されないので、割込処理が終了するまでの間に新たな割り込みが発生することはない。   If the interrupt permission signal received by the permission signal receiving unit 33 is at a low level indicating that execution of the interrupt process is not permitted, it indicates that the interrupt process requesting unit 34 requests execution of the interrupt process. Does not output a high-level interrupt processing request signal. That is, in this case, the interrupt process is not executed, so that no new interrupt is generated until the interrupt process ends.

したがって、本実施形態の構成によれば、割込許可信号が割込処理の実行を許可しないことを示す場合に、割込処理が終了するまでの間に新たな割り込みが発生することがないことに合わせて、紛失信号出力部37によって新たな割込発生信号の紛失を示すハイレベルの割込紛失信号が出力されることを禁止することができる。   Therefore, according to the configuration of the present embodiment, when the interrupt permission signal indicates that the execution of the interrupt process is not permitted, no new interrupt is generated until the interrupt process is completed. Accordingly, it is possible to prohibit the loss signal output unit 37 from outputting a high-level interrupt loss signal indicating the loss of a new interrupt occurrence signal.

尚、紛失信号出力禁止部39は、論理積回路391を備えることなく、論理積回路392のみを備えるように構成し、当該論理積回路392には、紛失記憶部38から出力された信号と、検知禁止受信部36から出力された信号と、が入力されるように構成してもよい。当該構成であっても、検知禁止受信部36にローレベルの紛失検知禁止信号を受信させるか否かによって、紛失信号出力部37による割込紛失信号の出力を禁止するか否かを切り替えることができる。   The lost signal output prohibiting unit 39 is configured to include only the AND circuit 392 without including the AND circuit 391. The AND circuit 392 includes the signal output from the lost storage unit 38, and The signal output from the detection prohibition receiving unit 36 may be input. Even in this configuration, it is possible to switch whether to prohibit the output of the lost lost signal by the lost signal output unit 37 depending on whether or not the detection prohibited receiving unit 36 receives the low level lost detection prohibited signal. it can.

また、紛失信号出力部37は、紛失信号出力禁止部39を備えることなく、紛失記憶部38のみを備えるように構成し、当該紛失記憶部38から出力される割込紛失フラグの値に対応するレベルの信号をそのまま、紛失信号出力部37から出力される割込紛失信号として出力するように構成してもよい。   In addition, the lost signal output unit 37 is configured to include only the lost storage unit 38 without including the lost signal output prohibiting unit 39, and corresponds to the value of the interrupt lost flag output from the lost storage unit 38. The level signal may be output as it is as an interrupt lost signal output from the lost signal output unit 37.

当該構成では、割込紛失検知部35によって新たな割込発生信号の紛失が検知され、紛失記憶部38によって新たな割込発生信号の紛失を示す値が「1」の割込紛失フラグが記憶されている期間、紛失信号出力部37によって新たな割込発生信号の紛失を示すハイレベルの割込紛失信号が出力される。このため、当該割込紛失信号に対する対処を、CPU23は、当該期間における任意のタイミングで実施することができる。   In this configuration, the lost loss detection unit 35 detects the loss of a new interrupt occurrence signal, and the loss storage unit 38 stores an interrupt loss flag whose value indicating the loss of the new interrupt occurrence signal is “1”. During this period, the lost signal output unit 37 outputs a high-level interrupt lost signal indicating the loss of a new interrupt occurrence signal. For this reason, the CPU 23 can deal with the interruption loss signal at an arbitrary timing in the period.

更に、紛失信号出力部37は、紛失記憶部38及び紛失信号出力禁止部39を備えることなく、割込紛失検知部35から出力された紛失検知信号をそのまま、紛失信号出力部37から出力される割込紛失信号として出力するように構成してもよい。   Further, the lost signal output unit 37 does not include the lost storage unit 38 and the lost signal output prohibition unit 39, and outputs the lost detection signal output from the lost interrupt detection unit 35 as it is from the lost signal output unit 37. You may comprise so that it may output as an interruption loss signal.

当該構成では、割込記憶部32に割り込みの発生を示す値が「1」の割込発生フラグが記憶されている状態で、更に新たな割込発生信号が割込信号受信部31によって受信されたとき、割込紛失検知部35によって当該新たな割込発生信号の紛失が検知される。そして、割込紛失検知部35によって当該新たな割込発生信号の紛失の検知を示すハイレベルの紛失検知信号が出力されたとき、当該ハイレベルの信号が新たな割込発生信号の紛失を示すハイレベルの割込紛失信号として、そのまま出力される。   In this configuration, a new interrupt generation signal is received by the interrupt signal reception unit 31 while the interrupt generation flag whose value indicating the occurrence of an interrupt is “1” is stored in the interrupt storage unit 32. When this happens, the lost loss detection unit 35 detects the loss of the new interrupt occurrence signal. Then, when the high level loss detection signal indicating the detection of the loss of the new interrupt generation signal is output by the interrupt loss detection unit 35, the high level signal indicates the loss of the new interrupt generation signal. It is output as it is as a high-level interrupt loss signal.

このため、当該出力された割込紛失信号によって紛失したことが示された新たな割込発生信号に対応する割り込みが、ある割り込みに対応する割込処理が終了するまでの間に発生していたことを検知することができる。   For this reason, an interrupt corresponding to a new interrupt generation signal indicated as lost due to the output lost interrupt signal was generated until the interrupt processing corresponding to a certain interrupt ended. Can be detected.

尚、本発明は上記実施の形態の構成に限られず種々の変形が可能である。例えば、上記実施形態では、本発明に係る制御装置を複合機1に適用する例について説明したが、これに限らず、本発明に係る割り込み制御回路は、カラー画像形成用のカラープリンタや、スキャナ装置、ファクシミリ装置、プリンタ装置及びコピー装置等の画像形成装置に適用してもよい。   The present invention is not limited to the configuration of the above embodiment, and various modifications can be made. For example, in the above-described embodiment, an example in which the control device according to the present invention is applied to the multifunction device 1 has been described. However, the present invention is not limited to this, and the interrupt control circuit according to the present invention may be a color printer or scanner for color image formation. The present invention may be applied to image forming apparatuses such as apparatuses, facsimile apparatuses, printer apparatuses, and copying apparatuses.

また、上記実施形態において図1乃至図3に示した構成及び設定は単なる一例に過ぎず、本発明を当該実施形態に限定する趣旨ではない。例えば、各種信号がハイレベル又はローレベルである場合に示される情報が、上記実施形態とは反対の意味を示すように構成してもよい。そして、各種信号の論理レベルの意味付けに応じて、割り込み制御回路24と同様の機能が得られるように、割り込み制御回路24の構成を変更してもよい。   In the above embodiment, the configurations and settings shown in FIGS. 1 to 3 are merely examples, and the present invention is not limited to the embodiment. For example, information indicated when various signals are at a high level or a low level may be configured to have a meaning opposite to that in the above embodiment. Then, the configuration of the interrupt control circuit 24 may be changed so that the same function as that of the interrupt control circuit 24 is obtained according to the meaning of the logic level of various signals.

具体的には、例えば、紛失信号出力禁止部39に入力される紛失検知禁止信号がハイレベルの場合に割込発生信号の紛失の検知を許可することを示し、ローレベルの場合に割込発生信号の紛失の検知を禁止することを示すように構成してもよい。そして、これに合わせて、当該紛失検知禁止信号の論理否定を示す信号を出力する論理否定回路(NOT回路)を論理否定回路362(図3)と入力端子361(図3)との間に設けるように構成する、又は、これと等価な構成として、論理否定回路362(図3)を削除するように構成してもよい。   Specifically, for example, when the loss detection prohibition signal input to the lost signal output prohibition unit 39 is at a high level, it indicates that the detection of the loss of the interrupt generation signal is permitted. You may comprise so that the detection of the loss of a signal may be prohibited. In accordance with this, a logic negation circuit (NOT circuit) that outputs a signal indicating the logic negation of the loss detection prohibition signal is provided between the logic negation circuit 362 (FIG. 3) and the input terminal 361 (FIG. 3). Alternatively, the logical negation circuit 362 (FIG. 3) may be deleted as an equivalent configuration.

1 複合機
2 制御部
21 ROM
22 RAM
23 CPU
24 割り込み制御回路
31 割込信号受信部
32 割込記憶部
321 論理和回路
322 Dフリップフロップ回路
33 許可信号受信部
34 割込処理要求部
35 割込紛失検知部
36 検知禁止受信部
361 入力端子
362 論理否定回路
37 紛失信号出力部
38 紛失記憶部
381 論理和回路
382 Dフリップフロップ回路
39 紛失信号出力禁止部
391 論理積回路
392 論理積回路
41 割込クリア信号受信部
42 紛失クリア信号受信部
1 MFP 2 Controller 21 ROM
22 RAM
23 CPU
24 interrupt control circuit 31 interrupt signal receiving unit 32 interrupt storage unit 321 logical sum circuit 322 D flip-flop circuit 33 permission signal receiving unit 34 interrupt processing requesting unit 35 interrupt lost detection unit 36 detection prohibition receiving unit 361 input terminal 362 Logical negation circuit 37 Loss signal output unit 38 Loss storage unit 381 Logical sum circuit 382 D flip-flop circuit 39 Loss signal output prohibition unit 391 AND circuit 392 AND circuit 41 Interrupt clear signal reception unit 42 Loss clear signal reception unit

Claims (2)

割り込みの発生を示す割込発生信号を受信する割込信号受信部と、
前記割込信号受信部によって前記割込発生信号が受信されたとき、割り込みの発生を示す割込発生情報を記憶する割込記憶部と、
前記割り込みに対応する処理である割込処理の実行を許可することを示すハイレベルの割込許可信号、又は、前記割込処理の実行を許可しないことを示すローレベルの割込許可信号を受信する許可信号受信部と、
前記許可信号受信部によって前記ハイレベルの割込許可信号が受信され、かつ前記割込記憶部に前記割込発生情報が記憶されているとき、前記割込処理の実行を要求する割込処理要求信号を出力する割込処理要求部と、
前記割込記憶部に前記割込発生情報が記憶されている状態で、更に新たな前記割込発生信号が前記割込信号受信部によって受信されたとき、前記新たな割込発生信号の紛失を検知する割込紛失検知部と、
前記割込紛失検知部によって前記新たな割込発生信号の紛失が検知されたとき、前記新たな割込発生信号の紛失を示す情報を記憶し、前記新たな割込発生信号の紛失を示す情報を記憶している期間、前記新たな割込発生信号の紛失を示すハイレベルの信号を出力する紛失記憶部と、
前記許可信号受信部によって受信された前記割込許可信号が一端に入力され、前記一端に入力された前記割込許可信号と他端に入力された信号との論理積に対応する第一論理積信号を出力する第一論理積回路と、
前記紛失記憶部から出力された信号と前記第一論理積回路から出力された前記第一論理積信号との論理積に対応する第二論理積信号を出力する論理積回路であり、前記第二論理積信号がローレベルのときは、前記第二論理積信号を前記新たな割込発生信号の紛失がないことを示す割込紛失信号として出力し、前記第二論理積信号がハイレベルのときは、前記第二論理積信号を前記新たな割込発生信号の紛失を示す割込紛失信号として出力する第二論理積回路と、
を備える割り込み制御回路。
An interrupt signal receiver for receiving an interrupt generation signal indicating the occurrence of an interrupt;
When the interrupt signal is received by the interrupt signal receiver, an interrupt storage unit that stores interrupt generation information indicating the occurrence of an interrupt;
Receives a high-level interrupt permission signal indicating that the execution of the interrupt process corresponding to the interrupt is permitted or a low-level interrupt permission signal indicating that the execution of the interrupt process is not permitted. An enabling signal receiving unit,
An interrupt processing request for requesting execution of the interrupt processing when the high-level interrupt permission signal is received by the permission signal receiving unit and the interrupt generation information is stored in the interrupt storage unit An interrupt processing request unit for outputting a signal;
When the interrupt generation information is stored in the interrupt storage unit and a new interrupt generation signal is received by the interrupt signal reception unit, the new interrupt generation signal is lost. An interrupt loss detection unit to detect,
When loss of the new interrupt occurrence signal is detected by the lost loss detection unit, information indicating the loss of the new interrupt occurrence signal is stored, and information indicating the loss of the new interrupt occurrence signal is stored. A lost storage unit that outputs a high-level signal indicating the loss of the new interrupt generation signal,
The interrupt permission signal received by the permission signal receiving unit is input to one end, and a first logical product corresponding to a logical product of the interrupt permission signal input to the one end and a signal input to the other end A first AND circuit for outputting a signal;
An AND circuit that outputs a second AND signal corresponding to an AND of the signal output from the lost storage unit and the first AND signal output from the first AND circuit; When the logical product signal is at a low level, the second logical product signal is output as an interrupt lost signal indicating that the new interrupt generation signal is not lost, and when the second logical product signal is at a high level A second AND circuit that outputs the second AND signal as an interrupt lost signal indicating the loss of the new interrupt generation signal;
An interrupt control circuit comprising:
前記割込発生信号の紛失の検知を禁止することを示すハイレベルの紛失検知禁止信号、又は、前記割込発生信号の紛失の検知を許可することを示すローレベルの紛失検知禁止信号を受信し、受信した前記紛失検知禁止信号の論理否定を示す信号を、前記第一論理積回路の前記他端へ出力する検知禁止受信部を更に備える請求項1に記載の割り込み制御回路。 High loss detection prohibition signal indicating to prohibit detection of loss of the interrupt generation signal, or receives the missing detection prohibiting signal of a low level indicating the permission of the detection of the loss of the interrupt generation signal , the interrupt control circuit according to the signal indicating the logical negation of the lost detection prohibition signal received, the Motomeko 1 further comprising a detection prohibition receiver to be output to the other end of said first aND circuit.
JP2011237423A 2011-10-28 2011-10-28 Interrupt control circuit Expired - Fee Related JP5588951B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011237423A JP5588951B2 (en) 2011-10-28 2011-10-28 Interrupt control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011237423A JP5588951B2 (en) 2011-10-28 2011-10-28 Interrupt control circuit

Publications (2)

Publication Number Publication Date
JP2013097442A JP2013097442A (en) 2013-05-20
JP5588951B2 true JP5588951B2 (en) 2014-09-10

Family

ID=48619351

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011237423A Expired - Fee Related JP5588951B2 (en) 2011-10-28 2011-10-28 Interrupt control circuit

Country Status (1)

Country Link
JP (1) JP5588951B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102500914B1 (en) * 2014-10-24 2023-02-17 스미토모 파마 가부시키가이샤 Production method for nerve tissue
EP3868873A1 (en) * 2014-10-24 2021-08-25 Sumitomo Dainippon Pharma Co., Ltd. Production method for retinal tissue

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0743653B2 (en) * 1990-07-25 1995-05-15 株式会社東芝 Interrupt controller
JPH05120031A (en) * 1991-10-30 1993-05-18 Nec Ic Microcomput Syst Ltd Micro computer
JP2001075819A (en) * 1999-09-02 2001-03-23 Nec Eng Ltd Interruption request control circuit
JP2006155048A (en) * 2004-11-26 2006-06-15 Matsushita Electric Ind Co Ltd Interrupt controller
JP2007219837A (en) * 2006-02-16 2007-08-30 Kyocera Mita Corp Interrupt control method, arithmetic unit, and image processor

Also Published As

Publication number Publication date
JP2013097442A (en) 2013-05-20

Similar Documents

Publication Publication Date Title
JP5051052B2 (en) Image forming apparatus
JP5847560B2 (en) PRINT CONTROL DEVICE, ITS CONTROL METHOD, AND PROGRAM
CN109327639B (en) Image forming apparatus with a toner supply device
JP2009246970A (en) Device for forming image and accounting method
JP5588951B2 (en) Interrupt control circuit
US8305623B2 (en) Image forming apparatus provided with function of detecting errors in printing process
JP6081426B2 (en) Image forming apparatus and blank paper output confirmation method
JP2008230760A (en) Inserter apparatus, printing device and printing system
JP2008246812A (en) Image forming system
JP5370550B2 (en) Image forming apparatus, program, and method executed in image forming apparatus
JP7077789B2 (en) Image forming device
JP6561947B2 (en) Image forming apparatus
US9773199B2 (en) Image forming apparatus and non-transitory computer-readable recording medium storing test print page insertion program
JP5558417B2 (en) Information processing apparatus and information processing method
JP2008292921A (en) Image forming apparatus
US20120201548A1 (en) Image forming apparatus, control method therefor and storage medium
JP6225865B2 (en) Image forming apparatus and cassette open / close detection method
WO2022030277A1 (en) Image formation device
JP2008173878A (en) Image forming apparatus
CN111787175B (en) Information processing apparatus
US11323587B2 (en) Image forming apparatus with a common output scanner output path and printer output path, wherein the output scanned sheet is in a position different from the printed page in the same common output area
JP6038852B2 (en) Image forming apparatus
JP5747965B2 (en) Image forming apparatus, program, and method executed in image forming apparatus
JP6365343B2 (en) Billing management apparatus and billing management method
JP5934264B2 (en) Image forming apparatus and image forming method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130924

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140411

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140415

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140609

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140701

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140728

R150 Certificate of patent or registration of utility model

Ref document number: 5588951

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees