JPH0451621A - Data reading out method - Google Patents

Data reading out method

Info

Publication number
JPH0451621A
JPH0451621A JP2160318A JP16031890A JPH0451621A JP H0451621 A JPH0451621 A JP H0451621A JP 2160318 A JP2160318 A JP 2160318A JP 16031890 A JP16031890 A JP 16031890A JP H0451621 A JPH0451621 A JP H0451621A
Authority
JP
Japan
Prior art keywords
processor
timing signal
read
data
register
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
JP2160318A
Other languages
Japanese (ja)
Inventor
Yoshitaka Eguchi
江口 義隆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2160318A priority Critical patent/JPH0451621A/en
Publication of JPH0451621A publication Critical patent/JPH0451621A/en
Pending legal-status Critical Current

Links

Landscapes

  • Monitoring And Testing Of Transmission In General (AREA)

Abstract

PURPOSE:To prevent the deterioration of the processing capability of a processor by transmitting a reset releasing signal to a register from the processor, releasing resetting, transmitting a read timing signal synchronized with a write timing signal and reading data written by means of the write timing signal. CONSTITUTION:The processor 2 transmits the read timing signal synchronized with the write timing signal to the processor 2 after resetting is released and the data written by the write timing signal is read out. Consequently, changed data can be read without fail even if interruption is not used when data is changed. Namely, the processor 2 can read changing data even if interruption is not used. Thus, the deterioration of the processing capability of the processor 2 can be reduced.

Description

【発明の詳細な説明】 〔概 要〕 レジスタに書き込んだ変化するデータを、プロセッサに
て読み出す装置における、データ読み出し方法に関し、 プロセッサの処理能力の低下の少ないデータ読み出し方
法の提供を目的とし、 プロセッサより該レジスタに対し、リセット解除信号を
送りリセットを解除すると共に、書込みタイミング信号
に同期した読み出しタイミング信号を送り、該書込みタ
イミング信号にて書き込んだデータを読み出すように構
成する。
[Detailed Description of the Invention] [Summary] The present invention relates to a data reading method in a device in which changing data written in a register is read out by a processor. The configuration is such that a reset release signal is sent to the register to release the reset, a read timing signal synchronized with the write timing signal is sent, and data written using the write timing signal is read.

〔産業上の利用分野〕[Industrial application field]

本発明は、無線受信機の受信レベルを監視する監視装置
の如く、レジスタに書き込んだ変化する受信レベルのデ
ータを、プロセッサにて読み出す装置における、データ
読み出し方法の改良に関する。
The present invention relates to an improvement in a data reading method in a device, such as a monitoring device that monitors the reception level of a radio receiver, in which a processor reads out data of a changing reception level written in a register.

〔従来の技術〕[Conventional technology]

従来は、変化するデータを一定周期の書込みタイミング
信号にてレジスタに書込み、データが変化した時点でレ
ジスタは割り込み信号をプロセ・ンサに送り、プロセッ
サが読み出すようにしていた。
Conventionally, changing data was written to a register using a write timing signal of a fixed cycle, and when the data changed, the register sent an interrupt signal to a processor so that the processor could read the data.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、従来のデータ読み出し方法では、データ
が頻繁に変化する場合は、頻繁に割り込みが発生し、プ
ロセッサの処理能力を著しく低下させる問題点がある。
However, the conventional data reading method has a problem in that when data changes frequently, interrupts occur frequently, which significantly reduces the processing performance of the processor.

本発明は、レジスタに書き込んだ頻繁に変化するデータ
を読み出すのにプロセッサの処理能力の低下の少ないデ
ータ読み出し方法の提供を目的としている。
SUMMARY OF THE INVENTION An object of the present invention is to provide a data reading method that reduces the reduction in processor processing ability when reading frequently changing data written in a register.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明の原理ブロック図である。 FIG. 1 is a block diagram of the principle of the present invention.

第1図に示す如く、レジスタ1に書き込んだ変化するデ
ータをプロセッサ2にて読み出す装置において、 該プロセッサ2より該レジスタ1に対し、リセット解除
信号を送りリセットを解除すると共に、書込みタイミン
グ信号に同期した読み出しタイミング信号を送り、該書
込みタイミング信号にて書き込んだデータを読み出す。
As shown in FIG. 1, in a device in which changing data written in a register 1 is read out by a processor 2, the processor 2 sends a reset release signal to the register 1 to release the reset, and synchronizes with the write timing signal. The read timing signal is sent, and the written data is read out using the write timing signal.

〔作 用〕[For production]

本発明によれば、リセットを解除した後、プロセッサ2
は、書込みタイミング信号に同期した読み出しタイミン
グ信号をレジスタ1に送り、該書込みタイミング信号に
て書き込んだデータを読み出すので、データが変化した
時割り込みを用いなくとも、変化したデータを必ず読み
出すことが出来る。
According to the present invention, after releasing the reset, the processor 2
sends a read timing signal synchronized with the write timing signal to register 1 and reads the written data using the write timing signal, so when data changes, the changed data can always be read without using an interrupt. .

即ち、プロセッサ2は、割り込みを用いなくとも、変化
するデータを読み出すことが出来るので、処理能力の低
下が非常に少なくなる。
That is, since the processor 2 can read changing data without using an interrupt, there is very little reduction in processing performance.

〔実施例〕〔Example〕

第2図は本発明の実施例の監視装置の要部のブロック図
、第3図は第2図の各部のタイムチャートである。
FIG. 2 is a block diagram of main parts of a monitoring device according to an embodiment of the present invention, and FIG. 3 is a time chart of each part of FIG. 2.

プロセッサ2は、第3図(A)に示す如く最初に、レジ
スタ5に、データバス6よりリセット解除信号を、書込
み信号にて書込み、リセット解除信号をレベル監視部3
.レジスタ1.カウンタ4に送りリセットを解除する。
As shown in FIG. 3(A), the processor 2 first writes a reset release signal to the register 5 from the data bus 6 as a write signal, and sends the reset release signal to the level monitoring unit 3.
.. Register 1. Send it to counter 4 and cancel the reset.

すると、クロックをカウントするカウンタ4よりは、第
3図(B)に示す如く立ち上がり時間を過ぎた後はクロ
ックに同期した周期Tの書込みタイミング信号を発生し
レジスタ1に加える。
Then, the counter 4 that counts the clock generates a write timing signal with a period T synchronized with the clock after the rise time as shown in FIG. 3(B) and adds it to the register 1.

レベル監視部3は、変化の激しい、無線受信機の受信レ
ベルを入力しており、受信レベルのデータは、上記の書
込みタイミング信号にてレジスタ1に書き込まれる。
The level monitoring section 3 receives the rapidly changing reception level of the wireless receiver as input, and the reception level data is written into the register 1 using the above-mentioned write timing signal.

プロセッサ2でも、リセット解除信号をレジスタ5に書
き込むと同時に、内部のソフトタイマを起動し、第3図
(C)に示す如き、カウンタ4の出力の書込みタイミン
グ信号の周期Tと同じ周期で読み出しタイミング信号を
発生し、レジスタ1に送りレジスタ1に書き込まれたデ
ータを読み出す。
In the processor 2 as well, at the same time as writing the reset release signal to the register 5, the internal soft timer is started, and the read timing is set at the same cycle as the cycle T of the write timing signal of the output of the counter 4, as shown in FIG. 3(C). Generates a signal, sends it to register 1, and reads the data written in register 1.

第3図(C)の最初の読み出しタイミング信号ではリセ
ット中の例えば“0,0”のデータを読み出すが、以後
は書込みタイミング信号にてレジスタ1に書き込んだデ
ータを、同じ周期の読み出しタイミング信号にて読み出
す。
The first read timing signal in FIG. 3(C) reads out data, for example, "0, 0" during resetting, but from then on, the data written to register 1 by the write timing signal is sent to the read timing signal of the same cycle. and read it out.

このように書込みタイミング信号と読み出しタイミング
信号の周期が同じであれば、レジスタ1に書き込んだ変
化したデータは必ず読み出すことが出来るので、データ
が変化した時割り込みをかけプロセッサ2が読み出すよ
うにする必要がなくなる。
If the period of the write timing signal and the read timing signal are the same in this way, the changed data written to register 1 can be read without fail, so it is necessary to issue an interrupt when the data changes so that processor 2 reads it. disappears.

よってプロセッサ2の処理能力の低下を非常に少なくす
ることが出来る。
Therefore, a decrease in the processing ability of the processor 2 can be greatly reduced.

〔発明の効果〕〔Effect of the invention〕

以上詳細に説明せる如く本発明によれば、レジスタに書
き込まれた変化するデータを読み出すのに、割り込みを
かけずに読み出すことが出来るので、プロセッサの処理
能力の低下を非常に少なくすることが出来る効果がある
As explained in detail above, according to the present invention, changing data written in a register can be read without interrupting, so that a decrease in processing performance of the processor can be greatly reduced. effective.

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

第1図は本発明の原理ブロック図、 第2図は本発明の実施例の監視装置の要部のブロック図
、 第3図は第2図の各部のタイムチャートである。 図において、 1.5はレジスタ、 2はプロセッサ、 3はレベル監視部、 4はカウンタを示す。 本発明の原理ブロック口 第 1 図 本発明の芙艷の監覗装覆の要部のブロック図案2.囚
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is a block diagram of main parts of a monitoring device according to an embodiment of the present invention, and FIG. 3 is a time chart of each part of FIG. 2. In the figure, 1.5 is a register, 2 is a processor, 3 is a level monitoring unit, and 4 is a counter. Principle of the present invention Block diagram No. 1 Block diagram of the main part of the surveillance cover of the fubari of the present invention 2. prisoner

Claims (1)

【特許請求の範囲】[Claims] レジスタ(1)に書き込んだ変化するデータをプロセッ
サ(2)にて読み出す装置において、該プロセッサ(2
)より該レジスタ(1)に対し、リセット解除信号を送
りリセットを解除すると共に、書込みタイミング信号に
同期した読み出しタイミング信号を送り、該書込みタイ
ミング信号にて書き込んだデータを読み出すことを特徴
とするデータ読み出し方法。
In a device for reading changing data written in a register (1) by a processor (2), the processor (2)
) sends a reset release signal to the register (1) to release the reset, and also sends a read timing signal synchronized with the write timing signal, and reads the written data using the write timing signal. Reading method.
JP2160318A 1990-06-19 1990-06-19 Data reading out method Pending JPH0451621A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2160318A JPH0451621A (en) 1990-06-19 1990-06-19 Data reading out method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2160318A JPH0451621A (en) 1990-06-19 1990-06-19 Data reading out method

Publications (1)

Publication Number Publication Date
JPH0451621A true JPH0451621A (en) 1992-02-20

Family

ID=15712363

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2160318A Pending JPH0451621A (en) 1990-06-19 1990-06-19 Data reading out method

Country Status (1)

Country Link
JP (1) JPH0451621A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010028393A (en) * 2008-07-17 2010-02-04 Sanyo Electric Co Ltd Receiver

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010028393A (en) * 2008-07-17 2010-02-04 Sanyo Electric Co Ltd Receiver

Similar Documents

Publication Publication Date Title
JP2002135257A (en) Data processor for serial communication
JPH0451621A (en) Data reading out method
JP2624388B2 (en) DMA device
JP2716203B2 (en) Information processing device
JP4387488B2 (en) Overflow protection circuit and image transmission apparatus using the same
JP3548943B2 (en) Interrupt control method
JP2003263404A (en) Serial communication system and microcomputer using the same
JPH0131225B2 (en)
JP2837698B2 (en) Direct memory access controller
JPH076049A (en) Interruption synchronization system for multiple processors
JPH0458340A (en) Processor monitor circuit
JPH0812573B2 (en) Communication device
JPH03273415A (en) Microprocessor
JPH02259845A (en) Processor
JPH10326194A (en) Interruption control system
JPH05233485A (en) Transmission control system
JP2003204458A (en) Video data transmitter
JPH0573484A (en) Information processing system
JPS60211559A (en) Common memory control system
JPH052637A (en) Memory control system
JPH10190672A (en) Cell processing circuit
JPH04145511A (en) System for synchronizing time in information processor
JPH0248762A (en) Computer system
JPS62150454A (en) Direct memory access system
JP2000339219A (en) Information processor, penalty time counting method and recording medium