JPS60238964A - Controller of data holding circuit - Google Patents

Controller of data holding circuit

Info

Publication number
JPS60238964A
JPS60238964A JP59095013A JP9501384A JPS60238964A JP S60238964 A JPS60238964 A JP S60238964A JP 59095013 A JP59095013 A JP 59095013A JP 9501384 A JP9501384 A JP 9501384A JP S60238964 A JPS60238964 A JP S60238964A
Authority
JP
Japan
Prior art keywords
data
output
data holding
holding circuit
held
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
JP59095013A
Other languages
Japanese (ja)
Inventor
Isao Obata
功 小幡
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP59095013A priority Critical patent/JPS60238964A/en
Publication of JPS60238964A publication Critical patent/JPS60238964A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/22Handling requests for interconnection or transfer for access to input/output bus using successive scanning, e.g. polling

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To obtain the controller of the data holding circuit which uses a microcomputer having a small number of input/output ports by using a time- division output signal for supplying a digit signal of a display body even as the output signal for data hold control of the data holding circuit. CONSTITUTION:A scanning signal output from an output port A supplies the digit signal of the display body 2 through a driving circuit 12 to supply a data holding command to data holding circuits 3-6. When data is held at the fall of a scanning signal, data of output ports D at falls of pulses of respective A-1- A-4 are held by the data holding circuits. Data (0, 1, 0, 1) of the output port D are held at the fall timing of A-1. Similarly, data (1, 0, 1, 0) of the output port D are held at the fall timing of A-2, data (0, 0, 0, 1) of the output port D are held at the fall timing of A-3, and data (1, 1, 0, 0) of the output port D are held at the fall timing of A-4.

Description

【発明の詳細な説明】 産業上の利用分野 本発明はマイクロコンピュータを用いたデータ保持回路
の制御装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a data holding circuit control device using a microcomputer.

従来例の構成とその問題点 近年、マイクロコンピュータの周辺には、データ出力や
入力を保持するため、外部データ保持回路が頻繁に使用
されている。また、入出力を拡張2べ一1′ する目的で1時分割信号を用いて入力の読み込みや多け
た数字表示体等の装置を制量する方法が用いられている
Conventional configuration and its problems In recent years, external data holding circuits have been frequently used around microcomputers to hold data output and input. Furthermore, for the purpose of expanding input/output, a method is used in which one time-division signal is used to read input and control devices such as large-digit numeric displays.

以下に従来のデータ保持回路の制(財)装置について説
明する。
A conventional data holding circuit control device will be explained below.

第1図は従来のデータ保持回路の制御装置のブロック図
である。1に、4ビツトの1チツプマイクロコンピユー
タで、内部にRAM、ROM、CPU。
FIG. 1 is a block diagram of a conventional data holding circuit control device. 1 is a 4-bit 1-chip microcomputer with internal RAM, ROM, and CPU.

入出力ボートを内蔵している。2は、7セグメント表示
素子よりなる4桁の表示体である。3,4゜6.6は4
ビツトのデータ保持回路である。7゜8.9.10は前
記データ保持回路で保持される4ビツトのデータにより
制御される外部装置の駆動回路である。11.12は表
示体の駆動回路である。A−Dは出力ポートで1人はス
キャン信号出力、B[7セグメントのデータ出力、 c
Vf、データ保持回路3,4,5.6のデータ保持のタ
イミングを与えるクロックパルス信号出力%D id 
4ビツトのデータ出力をそれぞれ出力するように構成さ
れている。
It has a built-in input/output board. 2 is a 4-digit display consisting of 7-segment display elements. 3,4°6.6 is 4
This is a bit data holding circuit. 7.8.9.10 is a drive circuit for an external device controlled by the 4-bit data held in the data holding circuit. 11 and 12 are display drive circuits. A-D are output ports, one outputs scan signals, B [7 segment data output, c
Vf, clock pulse signal output %D id giving timing for data retention of data retention circuits 3, 4, 5.6
They are configured to each output 4-bit data output.

3・・− 以上のように構成された従来のデータ保持回路の制(財
)装置について、以下その動作について説明する。まず
、表示体制御部について説明する。人出力ボートからは
1時分割で表示体2の桁を指定しているスキャン信号が
出力され、駆動回路12を経て1表示体2へ入力されて
いる。このパルスがハイレベルのタイミングで入力され
たB出力ポートの7セグメントのデータにより指定され
る表示素子が発光する。次に、データ保持回路側脚部に
ついて説明する。C出力ポートの出力は、データ保持回
路3,4,5.6にデータ保持のタイミングを与えるも
ので、必要に応じて、ハイレベル、6るいはローレベル
となるクロックパルス出力である。データ保持回路3,
4,5,6は、C出力ポートからのパルスの立上り%あ
るいは立下りで。
3.- The operation of the conventional data holding circuit control device configured as described above will be explained below. First, the display control section will be explained. A scan signal specifying the digit of the display body 2 is output from the human output boat in one time division, and is inputted to the one display body 2 via the drive circuit 12. The display element specified by the 7-segment data of the B output port that is input at the timing when this pulse is at a high level emits light. Next, the data holding circuit side leg will be explained. The output of the C output port provides data retention timing to the data retention circuits 3, 4, and 5.6, and is a clock pulse output that becomes high level, 6, or low level as required. data holding circuit 3,
4, 5, and 6 are the rising % or falling % of the pulse from the C output port.

D出力ボートからの4ビツトのデータを保持するもので
、それぞれ外部装置の駆動回路7 、8 、9゜10を
制御している。
It holds 4 bits of data from the D output port and controls the drive circuits 7, 8, 9 and 10 of external devices, respectively.

第2図は、データ保持回路3,4,5.6にデータ保持
のタイミングを与えるC出力ポートからのクロックパル
ス出力C−1、C−2、C−3。
FIG. 2 shows clock pulse outputs C-1, C-2, and C-3 from the C output port that provide data retention timing to the data retention circuits 3, 4, and 5.6.

C3−4とD出力ボートからのデータ出力D−1゜D−
2、D−3、D−4の関係を示すタイミングチャートの
1例である。タロツクパルスの立下りでデータが保持さ
れる場合には、クロックパルス出力C−1の立下りの時
のD出力ボートのデータ(o、o、o、1)がデータ保
持回路3で保持される。同様にクロックパルス出力c−
2,C−3゜c−4のそれぞれの立下りの時のデータ(
1,1゜0.0)、(1,0,1、O)、(0,1,0
゜1)がデータ保持回路4,5.6で保持されることに
なる。
Data output D-1゜D- from C3-4 and D output boat
2 is an example of a timing chart showing the relationship between D-2, D-3, and D-4. When data is held at the falling edge of the clock pulse, the data (o, o, o, 1) of the D output boat at the falling edge of the clock pulse output C-1 is held in the data holding circuit 3. Similarly, clock pulse output c-
Data at each falling edge of 2, C-3°c-4 (
1,1゜0.0), (1,0,1,O), (0,1,0
1) is held in the data holding circuits 4, 5.6.

しかしながら、上記のような構成では、出力ホートラ多
数必要とするので、出力ポートの不足、あるいは1回路
が煩雑になる等の問題点を有していた。
However, in the above configuration, since a large number of output ports are required, there are problems such as a shortage of output ports or one circuit becoming complicated.

発明の目的 本発明は、上記従来の問題点を解消するもので。Purpose of invention The present invention solves the above-mentioned conventional problems.

表示体の桁信号を与える時分割出力信号をデータ保持回
路のデータ保持制御用出力信号と共用する5ぺ、/ ことにより、少ない入出力ボートで構成されるマイクロ
コンピュータによるデータ保持回路の制御fi1装置を
提供することを目的とする。
The time division output signal that gives the digit signal of the display body is shared with the output signal for data retention control of the data retention circuit. The purpose is to provide

発明の構成 本発明は、入力の読み込みを時分割で行ない。Composition of the invention The present invention reads input in a time-sharing manner.

多桁表示体等の外部装置を時分割で制御する時分割出力
信号と、外部のデータ保持回路へのデータ出力信号と、
その外部のデータ保持回路への保持のタイミングを与え
る保持制御用出力信号とを発生するマイクロコンピュー
タを備え、前記時分割出力信号と保持制御用出力信号と
を共用することにより、少ない入出力ボートで構成でき
るようにしたものである。
A time division output signal that controls an external device such as a multi-digit display in a time division manner, a data output signal to an external data holding circuit,
It is equipped with a microcomputer that generates a retention control output signal that gives the retention timing to the external data retention circuit, and by sharing the time division output signal and the retention control output signal, fewer input/output ports can be used. It is designed to be configurable.

実施例の説明 第3図は、本発明の実施例であるマイクロコンピュータ
によるデータ保持回路の制御装置のブロック図である。
DESCRIPTION OF EMBODIMENTS FIG. 3 is a block diagram of a control device for a data holding circuit using a microcomputer, which is an embodiment of the present invention.

第3図において%1は4ビツト1チツプマイクロコンビ
ユータテ、内部vcRAM、ROM、OPυ。
In FIG. 3, %1 is a 4-bit 1-chip microcontroller, internal VCRAM, ROM, and OPυ.

入出力ボートを内蔵している。2は7セグメント6・\
 ゛ 表示素子よりなる4桁の表示体である。3,4゜5.6
は%4ビットのデータ保持回路である。7゜8.9.1
0は、データ保持回路により保持される4ビツトのデー
タで制御される外部装置(例:モータ1表示体、プラン
ジャー)の駆動回路である。A、B、Dはマイクロコン
ピュータの出力ポートである。人出力ポートハ1表示体
2を時分割で制御するスキャン信号出力であると同時に
データ保持回路3,4,5.6にデータ保持のタイミン
グを与えるクロックパルス出力である。B出力ボートは
7セグメント表示用のデータ信号出力。
It has a built-in input/output board. 2 is 7 segments 6・\
゛It is a 4-digit display body consisting of display elements. 3,4°5.6
is a %4-bit data holding circuit. 7゜8.9.1
0 is a drive circuit for an external device (eg, motor 1 display, plunger) controlled by 4-bit data held by the data holding circuit. A, B, and D are output ports of the microcomputer. The human output port 1 is a scan signal output that controls the display 2 in a time-division manner, and at the same time is a clock pulse output that gives data retention timing to the data retention circuits 3, 4, 5.6. The B output port outputs data signals for 7-segment display.

D出力ポートは、データ保持回路で保持されるデータ信
号出力をそれぞれ出力するように構成されている。
The D output ports are configured to respectively output data signal outputs held by the data holding circuit.

以上のように構成された本実施例のマイクロコンピュー
タによるデータ保持回路の制御装置について、以下その
動作を説明する。
The operation of the microcomputer-based data holding circuit control device of this embodiment configured as described above will be described below.

まず1人出力ボートからのスキャン信号出力は駆動回路
12を経て、表示体2の桁信号を与え。
First, the scan signal output from the single-person output boat passes through the drive circuit 12 and provides a digit signal for the display 2.

かつ、データ保持回路3,4,5.6にデータ保7I\
−゛ 持指令を与える。
And data holding circuits 3, 4, 5.6 have data holding circuits 7I\
−Give a holding command.

第4図は1人出力ポートからのスキャン信号出力A−1
、A−2、A−3、A−4とD出力ポートのデータ出力
D−1、D−2、D−3、D−4の関係を示すタイミン
グチャートである。スキャン信号の立下りでデータが保
持される場合には、A−1、A−2、A−3、ム−4の
それぞれのパルスの立下りの時のD出力ポートのデータ
が、データ保持回路で保持される。人−1の立下りのタ
イミングでは、D出力ボートのデータ(0,1゜0.1
)が保持される。同様に人−2の立下りのタイミングで
U、D出力ポートのデータ(1,0゜1、o)が% A
−3の立下りのタイミングでは。
Figure 4 shows the scan signal output A-1 from the single output port.
, A-2, A-3, A-4 and data outputs D-1, D-2, D-3, D-4 of the D output port. When data is held at the falling edge of the scan signal, the data at the D output port at the falling edge of each pulse of A-1, A-2, A-3, and Mu-4 is stored in the data holding circuit. is retained. At the falling timing of person-1, the data of the D output boat (0,1°0.1
) is retained. Similarly, at the falling timing of person-2, the data (1,0°1,o) of the U and D output ports becomes %A.
At the timing of the fall of -3.

D出力ボートのデータ(o、o、o、1)が、ム−4の
立下りのタイミングでは、D出力ポートのデータ(1,
1,o、O)がそれぞれ保持される。
The data (o, o, o, 1) of the D output port becomes the data (1, o, o, 1) of the D output port at the falling timing of mu-4.
1, o, O) are respectively retained.

このようにして、保持されたデータ保持回路の出力によ
り、第3図の外部装置の駆動回路7,8゜9.1oを制
(財)している。
In this way, the output of the held data holding circuit controls the drive circuits 7, 8, 9.1o of the external device shown in FIG.

以上のように1本実施例によれば、表示体の桁信号を与
える時分割されたスキャン信号出力と外部データ保持回
路にデータ保持のタイミングを与えるクロックパルス出
力を共用することにより、少ない入出力ボートで外部デ
ータ保持回路の側脚装置を構成でき、非常に有益である
As described above, according to this embodiment, by sharing the time-divided scan signal output that provides the display digit signal and the clock pulse output that provides the data retention timing to the external data retention circuit, input/output can be reduced. It is very advantageous to be able to configure the side legs of an external data retention circuit on the boat.

発明の効果 本発明は、時分割で外部装置を制菌する出力信号と、外
部データ保持回路のデータ保持のタイミングを与える制
御用出力信号を共用することにより、より少ない入出力
ポートで構成されるマイクロコンピュータによる外部デ
ータ保持回路の制(財)装置を提供できるものである。
Effects of the Invention The present invention is configured with fewer input/output ports by sharing an output signal that sterilizes an external device in a time-sharing manner and a control output signal that provides timing for data retention in an external data retention circuit. It is possible to provide a control device for an external data holding circuit using a microcomputer.

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

第1図は従来のデータ保持回路の制御装置のブロック図
、第2図は従来例の動作説明のためのタイミング波形図
、第3図は本発明の一実施例であるデータ保持回路の制
御装置のブロック図、第4図は本発明の動作説明のため
のタイミング波形図である。 1・・・・・・マイクロコンピュータ、2・・・・・・
表示体。 9・\− 3,4,5,6・・・・・・データ保持回路、7,8,
9゜1o・・・・・・外部装置の駆動回路、11.12
・・・・・・表示体の駆動回路。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名第1
図 第2図 @3図 第4図 の ρ−4 ]、 1
Fig. 1 is a block diagram of a conventional control device for a data holding circuit, Fig. 2 is a timing waveform diagram for explaining the operation of the conventional example, and Fig. 3 is a control device for a data holding circuit which is an embodiment of the present invention. FIG. 4 is a timing waveform diagram for explaining the operation of the present invention. 1...Microcomputer, 2...
Display body. 9・\− 3, 4, 5, 6... Data holding circuit, 7, 8,
9゜1o... External device drive circuit, 11.12
...Display drive circuit. Name of agent: Patent attorney Toshio Nakao and 1 other person No. 1
Figure 2 @ 3 Figure 4 ρ-4 ], 1

Claims (1)

【特許請求の範囲】 入力の読み込みを時分割で行ない、多桁表示体等の外部
装置を時分割で制御する時分割出力信号と、外部のデー
タ保持回路へのデータ出力信号と。 その外部のデータ保持回路へ保持のタイミングを与える
保持制御用出力信号とを発生するマイクロコンピュータ
を備え、前記時分割出力信号と保持制御用出力信号とを
共用することを特徴とするデータ保持回路の制御装置。
[Claims] A time-division output signal for reading input in a time-division manner and controlling an external device such as a multi-digit display in a time-division manner, and a data output signal to an external data holding circuit. A data holding circuit comprising: a microcomputer that generates a holding control output signal that gives holding timing to an external data holding circuit; and the data holding circuit shares the time division output signal and the holding control output signal. Control device.
JP59095013A 1984-05-11 1984-05-11 Controller of data holding circuit Pending JPS60238964A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59095013A JPS60238964A (en) 1984-05-11 1984-05-11 Controller of data holding circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59095013A JPS60238964A (en) 1984-05-11 1984-05-11 Controller of data holding circuit

Publications (1)

Publication Number Publication Date
JPS60238964A true JPS60238964A (en) 1985-11-27

Family

ID=14126095

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59095013A Pending JPS60238964A (en) 1984-05-11 1984-05-11 Controller of data holding circuit

Country Status (1)

Country Link
JP (1) JPS60238964A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0163146U (en) * 1987-10-14 1989-04-24

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0163146U (en) * 1987-10-14 1989-04-24

Similar Documents

Publication Publication Date Title
DE69416896T2 (en) Display control system
JPH11144499A5 (en)
US4868414A (en) Scan-path self-testing circuit for logic units
EP0077844A1 (en) Pacemaker utilizing microprocessor DMA for generating output pulse sequences
JPS60238964A (en) Controller of data holding circuit
CA2022586A1 (en) Scan converter control circuit having memories and address generator for generating zigzag address signal supplied to the memories
US5013985A (en) Microcomputer with motor controller circuit
US4638247A (en) Integrated circuit for converting a drive signal of three or more voltage levels to two voltage levels
US4225847A (en) Display circuit
KR100230966B1 (en) Control device and method of Mars display system
JPS59185389A (en) System of controlling display and key input circuit
JPS6486261A (en) Memory circuit
JP2612636B2 (en) Input/Output Terminal Unit
JP2730240B2 (en) Microcomputer system
JPS61245225A (en) Output device for mixture of dynamic and static signals
JPS6474588A (en) Display device
JPH0351928A (en) System reset circuit
JPH0561439A (en) Led dynamic lighting system
JPS58215785A (en) Magnetic bubble memory device
JPH0378655B2 (en)
KR890005639A (en) Control circuit of vending machine
JPS6438818A (en) Key input device
JPS635387A (en) Display controller
JPS59109905A (en) Control system
JPS5846029B2 (en) display circuit