JPS6073722A - Control circuit of timer output - Google Patents
Control circuit of timer outputInfo
- Publication number
- JPS6073722A JPS6073722A JP58180540A JP18054083A JPS6073722A JP S6073722 A JPS6073722 A JP S6073722A JP 58180540 A JP58180540 A JP 58180540A JP 18054083 A JP18054083 A JP 18054083A JP S6073722 A JPS6073722 A JP S6073722A
- Authority
- JP
- Japan
- Prior art keywords
- output
- timer
- signal
- timer control
- gate circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Electric Clocks (AREA)
Abstract
Description
【発明の詳細な説明】
〔発明の技術分野〕
本発明は、プロセッサユニットと周辺デバイスとで構成
されるコンピュータシステムに用いて好適なタイマ出力
制御回路に関する。DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a timer output control circuit suitable for use in a computer system composed of a processor unit and peripheral devices.
近年、半導体技術の進歩により、マイクロプロセッサを
核とし、数個の周辺制御用LSIを介し1周辺デバイス
を接続するだけで、高いパフォーマンスを持つコンピュ
ータシステムヲ構築できる様になった。In recent years, advances in semiconductor technology have made it possible to construct computer systems with high performance by using a microprocessor as the core and connecting one peripheral device through several peripheral control LSIs.
上記周辺制御用LSIの1つに、制御中枢となるマイク
ロプロセッサに対し、カウント及びタイマ機能を付加す
る目的で使用されるプログラマブルなタイマコントロー
ラが存在する。マイクロプロセッサは、このタイマコン
トロール用LSIにより生成される信号をシステムに接
続される周辺デバイスの一部制御信号として使用してい
る。タイマ制御用LSIは、内部にレジスタ及びカウン
タを備え、マイクロプロセッサにより動作モード等パラ
メータが設定されることにより、所望のタイマ機能を実
現するものである。One of the above-mentioned peripheral control LSIs is a programmable timer controller used for the purpose of adding counting and timer functions to a microprocessor serving as a control center. The microprocessor uses the signals generated by this timer control LSI as some control signals for peripheral devices connected to the system. The timer control LSI has an internal register and a counter, and implements a desired timer function by setting parameters such as an operation mode by a microprocessor.
ところで1通常、上記タイマコントロール用LSIには
、八−ドウエア的なパワーオンクリア入力が存在しない
。従って、初期化についても内蔵レジスタに対し、パラ
メータのセツティングを行なうことで実行していたもの
である。By the way, 1. Usually, the above-mentioned timer control LSI does not have a power-on clear input like eight-doware. Therefore, initialization was also performed by setting parameters in the built-in registers.
従がってタイマコントロール用LSIは初期化される以
前に不要な不確定信号を出力してしまうことがあり、シ
ステムに接続される周辺デバイスの動作に支障をきたす
ことがあった。Therefore, the timer control LSI may output an unnecessary uncertain signal before being initialized, which may interfere with the operation of peripheral devices connected to the system.
本発明は、上記欠点に鑑みてなされたものであり、タイ
マコントロール用LSIから初期化以前に生成出力され
る不要な信号の伝播を初期化終了まで禁止することによ
り1周辺デバイスの動作を保証するタイマ出力副軸回路
を提供することを目的とする。The present invention has been made in view of the above drawbacks, and guarantees the operation of one peripheral device by prohibiting the propagation of unnecessary signals generated and output from a timer control LSI before initialization until the end of initialization. The purpose is to provide a timer output sub-axis circuit.
本発明は、上記目的を実現するため、タイマコントロー
ル用LSI内蔵のレジスタに初期化のだめのパラメータ
設定が終了するまで、同LSIによって生成出力される
信号の周辺デバイスへの送出を禁止する様にしたもので
ある。In order to achieve the above object, the present invention prohibits the sending of signals generated and output by the timer control LSI to peripheral devices until initialization parameter settings are completed in the register built into the timer control LSI. It is something.
このため、システムへの電源投入時発生されるパワーO
Nクリア信号及びプロセッサユニットにより設定される
特定データに基づき0N10FFするフリップフロップ
と、タイマ制御用LSIにより生成出力される信号を得
、上記フリップフロップが示す値に基づき周辺デバイス
に対する信号送出を禁止するゲートを付加した。For this reason, the power O generated when the system is powered on is
A flip-flop that performs 0N10FF based on the N clear signal and specific data set by the processor unit, and a gate that obtains a signal generated and output by the timer control LSI and prohibits signal transmission to peripheral devices based on the value indicated by the flip-flop. Added.
このことにより1周辺デバイスに対し初期化(タイマコ
ントロール用■JSI)以前の信号の送出はなくなるた
め、周辺デバイスの誤動作を防ぐことができる。This eliminates the need to send a signal to one peripheral device before initialization (JSI for timer control), thereby preventing malfunctions of the peripheral device.
以下1図面を使用して本発明実施例の構成動作につき詳
述する。The configuration and operation of the embodiment of the present invention will be explained in detail below using one drawing.
対比の意味で従来例を第1図に1本発明実施例を第2図
に示す。図において、11は制御中枢となるマイクロプ
ロセッサ、12はこのマイクロプロセラ−9″11によ
りパラメータ設定がなされることにより所定のタイマカ
ウントを行なうタイマコントローラ用LSIである。こ
のタイマカウント用LS112にて生成出力される信号
はドライバ回路13を介して外部周辺デバイス(図示せ
ず)へ送出される。For comparison, a conventional example is shown in FIG. 1, and an embodiment of the present invention is shown in FIG. 2. In the figure, 11 is a microprocessor serving as a control center, and 12 is a timer controller LSI that performs a predetermined timer count by setting parameters by this microprocessor 9''11.Generated by this timer count LS112. The output signal is sent to an external peripheral device (not shown) via the driver circuit 13.
本発明実施例では、上記構成に更にフリップフロップ1
4.ゲート回路15が付加される。In the embodiment of the present invention, a flip-flop 1 is added to the above configuration.
4. A gate circuit 15 is added.
上記フリップフロップ14はライン101を介し、シス
テムの電源投入時発生するパワーONクリア信号が、又
、上記プロセッサユニット11によりライン102を介
し特定データが供給され、その出力はライン105を介
してゲート回路15の一方の入力端子へ供給される。The flip-flop 14 is supplied with a power ON clear signal generated when the system is powered on via a line 101, and specific data is supplied by the processor unit 11 via a line 102, and its output is sent via a line 105 to a gate circuit. 15 is supplied to one input terminal.
ゲート回路15の他方の入力端子へは上記タイマコント
ローラ用L8Ix2により生成出力される信号がライン
ZOSを介して供給されている。ゲート回路15にて論
理積条件のとられた出力は、ドライバ回路13.ライン
104を介し1図示されない外部周辺デバイスへ接続さ
れる。A signal generated and output by the timer controller L8Ix2 is supplied to the other input terminal of the gate circuit 15 via the line ZOS. The output of the gate circuit 15 subjected to the AND condition is sent to the driver circuit 13 . Connected via line 104 to one external peripheral device, not shown.
以下1本発明実施例の動作につき詳述する。The operation of one embodiment of the present invention will be described in detail below.
まず、システムに電源が投入されると、パワーONクリ
ア信号が発生し、この信号に基づきマイクロプロセッサ
11及び各種ロジックが初期化される。ここで、フリッ
プフロップ14が初期化されることにより、その出力は
ライン105を介しゲート回路15を付勢し、タイマコ
ントロール用L S I x xによって生成出力され
る信号の送出を禁止する様に作用する。同時に、マイク
ロプロセッサixが初期化され、従がって、ファームウ
ェア(マイクロプロセッサが実行するプログラム)は初
期ルーチンから実行されることになる。First, when the system is powered on, a power ON clear signal is generated, and the microprocessor 11 and various logics are initialized based on this signal. Here, by initializing the flip-flop 14, its output energizes the gate circuit 15 via the line 105, so as to prohibit the sending of the signal generated and output by the timer control LSI x x. act. At the same time, the microprocessor ix is initialized, so that the firmware (the program executed by the microprocessor) is executed from an initial routine.
通常、ファームウェアの初期ルーチンの中に、タイマコ
ントロール用L8112内蔵のレジスタに対するパラメ
ータ設定のためのルーテンが含まれているが、このルー
テンが実行されるまでは、いくらかの時間がかかること
になる。従がって、この間、タイマコントロール用LS
I12は、システムにとって不要な信号を生成し。Normally, the initial routine of the firmware includes a routine for setting parameters for the register built into the timer control L8112, but it will take some time until this routine is executed. Therefore, during this time, the timer control LS
I12 generates signals unnecessary to the system.
出力してしまうことになる。しかしながら本発明におい
て、この信号はゲート回路15により出力が禁止される
ため1周辺デバイスへ送られることはない。従がって周
辺デバイスの動作は保証される。It will end up being output. However, in the present invention, this signal is prohibited from being output by the gate circuit 15, so it is not sent to one peripheral device. Therefore, the operation of peripheral devices is guaranteed.
ファームウェアの初期ルーチンの処理(マイクロプロセ
ッサ11が実行)が進んで、タイマコントロール用LS
Ir2が持つレジスタに対してパラメータの初期設定が
終了すると、タイマコントロール用LSI12から出力
される不要な信号はなくなる。この後、マイクロプロセ
ッサ11はファームウェアに従がい、フリップフロップ
14をセット状態とする。このことにより、今までゲー
ト回路15によって禁止されていたタイマコントロール
用LS112出力を解放し、そのままドライバ回路13
を介し周辺デバイスへ送出する様にする。As the firmware initial routine processing (executed by the microprocessor 11) progresses, the timer control LS
When the initial setting of parameters for the register held by Ir2 is completed, unnecessary signals output from the timer control LSI 12 disappear. Thereafter, the microprocessor 11 follows the firmware and sets the flip-flop 14. As a result, the timer control LS112 output, which was previously prohibited by the gate circuit 15, is released, and the driver circuit 13
Send it to the peripheral device via .
以降は通常動作で、タイマコントロール用L8IJJに
より生成出力される信号をそのまま周辺デバイスへ送出
し、入出力動作を正常に行なわせることができる。Thereafter, in normal operation, the signals generated and output by the timer control L8IJJ are sent as they are to the peripheral devices, so that input/output operations can be performed normally.
尚1本発明実施例においては、タイマコントロール用L
SIのみを例示し、初期化されるまで出力信号を禁止す
る場合についてのみ述べたが1本発明は他のICあるい
はLSIで、ハードウェア的なりリア入力の存在しない
ものについても同様の方法にて応用可能である。Note that in the embodiment of the present invention, the timer control L
Although only the SI has been exemplified and the output signal is prohibited until it is initialized, the present invention can be applied to other ICs or LSIs that do not have hardware or rear inputs in a similar manner. It is applicable.
以上説明の如く本発明によれば、タイマコントロール用
LSIから初期化以前に生成出力される不要な信号の伝
播を禁止できるため、上記信号に起因して生ずる周辺デ
バイスの誤動作を防止することが出来、信頼性の高いコ
ンピュータシステムを提供できるものである。As described above, according to the present invention, it is possible to prohibit the propagation of unnecessary signals generated and output from the timer control LSI before initialization, and therefore it is possible to prevent malfunctions of peripheral devices caused by the above signals. , it is possible to provide a highly reliable computer system.
$1図は従来例、第2図は本発明実施例を示すブロック
甲である。
11・・・マイクロプロセッサ、12・・・タイマコン
トロール用LSI、zJ・・・ドライバ回路。
14・・・ゲート回路、15・・・フリップフロップ。
出願人代理人 弁理士 鈴 江 武 彦第1図Figure $1 is a conventional example, and Figure 2 is a block A showing an embodiment of the present invention. 11... Microprocessor, 12... LSI for timer control, zJ... Driver circuit. 14...Gate circuit, 15...Flip-flop. Applicant's agent Patent attorney Takehiko Suzue Figure 1
Claims (1)
ュータシステムにおいて、上記プロセッサユニットによ
りパラメータ設定がなされることにより、タイムカウン
トを行なうタイマコントロール用LSIと、システムの
電源投入時到来するクリア信号及び上記プロセッサユニ
ットによる特定データの設定により0N10FFするソ
リツブフロップと、このフリップフロップ出力により、
上記タイマコントロール用LSIによって生成出力され
る信号の送出を禁止するゲート回路と、このゲート回路
出力を得、得られる信号を上記周辺デバイスに対し送出
するドライバ回路とから成ることを特徴とするタイマ出
力制御回路。In a computer system consisting of a processor unit and peripheral devices, the processor unit sets parameters to control a timer control LSI that performs time counting, and the clear signal that arrives when the system is powered on and the identification by the processor unit. With the solitubflop that turns 0N10FF depending on the data setting and the output of this flipflop,
A timer output comprising: a gate circuit that prohibits sending out the signal generated and output by the timer control LSI; and a driver circuit that obtains the output of the gate circuit and sends the obtained signal to the peripheral device. control circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58180540A JPS6073722A (en) | 1983-09-30 | 1983-09-30 | Control circuit of timer output |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58180540A JPS6073722A (en) | 1983-09-30 | 1983-09-30 | Control circuit of timer output |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6073722A true JPS6073722A (en) | 1985-04-25 |
Family
ID=16085052
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP58180540A Pending JPS6073722A (en) | 1983-09-30 | 1983-09-30 | Control circuit of timer output |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6073722A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6210752A (en) * | 1985-07-09 | 1987-01-19 | Mitsubishi Electric Corp | Data transmission equipment |
-
1983
- 1983-09-30 JP JP58180540A patent/JPS6073722A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6210752A (en) * | 1985-07-09 | 1987-01-19 | Mitsubishi Electric Corp | Data transmission equipment |
JPH0424738B2 (en) * | 1985-07-09 | 1992-04-27 | Mitsubishi Denki Kk |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR920004288B1 (en) | Method and apparatus in a data processor for selectively disabling a power-down instruction | |
JP3678759B2 (en) | Apparatus for generating an interrupt and method for generating an interrupt | |
JPS6073722A (en) | Control circuit of timer output | |
JP2871749B2 (en) | Coprocessor bus switching circuit | |
JPH04338835A (en) | Interruption control circuit | |
JP2928418B2 (en) | Semiconductor integrated circuit | |
JP2978278B2 (en) | Terminal function setting circuit | |
JP3310482B2 (en) | Microcomputer | |
JPS63191245A (en) | Resetting control system for device being in runaway state | |
JPS62205441A (en) | Microcomputer | |
JPH0644209B2 (en) | Bus converter | |
JP2003122600A (en) | Watch dog timer device | |
JPS6362013B2 (en) | ||
KR920003491Y1 (en) | Printers data omission protection circuit | |
JPH0531773B2 (en) | ||
JPS6347842A (en) | Interrupting system for extension input/output device | |
JP2664109B2 (en) | Real-time port | |
JPH0575521A (en) | Hit processor for mobile object radio telephone set | |
JPS59168550A (en) | Information processor | |
JPS6276817A (en) | Programmable logic array | |
JPS6195453A (en) | Microprocessor | |
JPH04109397A (en) | Interruption control circuit | |
JPH0149968B2 (en) | ||
JPH01184545A (en) | Microprocessor | |
JPH0496188A (en) | Single chip microcomputer |