JPH0559549U - Microcomputer - Google Patents

Microcomputer

Info

Publication number
JPH0559549U
JPH0559549U JP174292U JP174292U JPH0559549U JP H0559549 U JPH0559549 U JP H0559549U JP 174292 U JP174292 U JP 174292U JP 174292 U JP174292 U JP 174292U JP H0559549 U JPH0559549 U JP H0559549U
Authority
JP
Japan
Prior art keywords
dtmf
microcomputer
circuit
software
frequency
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
JP174292U
Other languages
Japanese (ja)
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP174292U priority Critical patent/JPH0559549U/en
Publication of JPH0559549U publication Critical patent/JPH0559549U/en
Pending legal-status Critical Current

Links

Landscapes

  • Microcomputers (AREA)

Abstract

(57)【要約】 【構成】マイコンは、マイコンの外部に設けられたキー
スキャン回路より入力された周波数情報信号を、DTM
F発生回路を起動させるための信号に変換するキー入力
情報処理回路を有する。 【効果】DTMF発生周波数選択制御に必要なソフトウ
エアの開発負荷の低減と、処理時間を短縮する。
(57) [Summary] [Structure] The microcomputer receives the frequency information signal input from the key scan circuit provided outside the microcomputer from the DTM.
It has a key input information processing circuit for converting into a signal for activating the F generation circuit. [Effect] The development load of software required for DTMF generation frequency selective control is reduced and the processing time is shortened.

Description

【考案の詳細な説明】[Detailed description of the device]

【0001】[0001]

【産業上の利用分野】[Industrial applications]

本考案は、DTMF発生機能を有するマイコンに係り、ソフトウエア処理の簡 易化に適用して有効な技術に関する。 The present invention relates to a microcomputer having a DTMF generating function, and relates to a technique effectively applied to simplification of software processing.

【0002】[0002]

【従来の技術】[Prior Art]

マイコン内蔵DTMF(Dual Tone Multiple Frequency)発生機能の発生周波 数選択制御は、マイコン外部に設けられたキースキャン回路等からマイコンへ入 力される情報信号で行っている。 The generation frequency selection control of the DTMF (Dual Tone Multiple Frequency) generation function built in the microcomputer is performed by the information signal input to the microcomputer from the key scan circuit or the like provided outside the microcomputer.

【0003】 従来のDTMF発生機能を有するマイコンは、I/Oポート(このポートは DTMF発生機能専用のポートではなく、汎用のポートである。)にキースキャ ン回路を接続し、このキースキャン回路に周波数情報を入力する。この入力され た情報は、ソフトウエアによって次の様に処理される。まず、I/Oポートのデ ータを読み、この情報を、マイコンの持つ記憶回路(メモリ,レジスタ等)に取 り込む。次に、この情報で指定された周波数を判別し、その周波数を発生させる 為に、DTMF発生機能を起動する。この一連の動作によりDTMF出力ピンよ り指定された周波数の波形を出力することを可能にしている。A conventional microcomputer having a DTMF generation function connects a key scan circuit to an I / O port (this port is not a port dedicated to the DTMF generation function but a general-purpose port), and is connected to this key scan circuit. Enter the frequency information. This input information is processed by the software as follows. First, the I / O port data is read and this information is taken into the memory circuit (memory, register, etc.) of the microcomputer. Next, the frequency designated by this information is discriminated, and the DTMF generating function is activated to generate that frequency. This series of operations makes it possible to output the waveform of the specified frequency from the DTMF output pin.

【0004】[0004]

【考案が解決しようとする課題】[Problems to be solved by the device]

このように、従来技術では、マイコンの外部に接続したキースキャン回路より 、周波数情報を取り込み、それをソフトウエアによって処理し、さらにソフトウ エアによってDTMF発生機能を起動し、DTMF波形を出力している。ところ が、この一連の動作の大部分はソフトウエアに依存している為、膨大な量のDTMF 発生機能処理プログラムが必要となる。この為、ソフトウエアの開発に時間がか かり、また、ROMの膨大な量のプログラム領域が必要になり、総合的にソフト ウエアの負荷が重くなってしまう。 As described above, in the conventional technology, the frequency information is fetched from the key scan circuit connected to the outside of the microcomputer, the frequency information is processed by the software, and the DTMF generating function is activated by the software to output the DTMF waveform. .. However, since a large part of this series of operations depends on software, a huge amount of DTMF generation function processing program is required. For this reason, it takes time to develop the software, and a huge amount of program area of the ROM is required, so that the load of the software becomes heavy overall.

【0005】 また、ソフトウエアによって処理している為に、キースキャン回路に情報を入 力してから、DTMF発生機能が起動し指定した周波数の波形が出力されるまで ある程度の処理時間が必要であるという問題点があった。Further, since the processing is performed by software, a certain amount of processing time is required from the input of information to the key scan circuit to the activation of the DTMF generation function and the output of the waveform of the specified frequency. There was a problem.

【0006】[0006]

【課題を解決するための手段】[Means for Solving the Problems]

本願において開示される考案の概要を説明すれば以下のとおりである。すなわ ち、外部に接続されたキースキャン回路から入力された情報信号をハードウエア によって処理し、直接DTMF発生機能を起動させる機能を有する。 The outline of the device disclosed in the present application is as follows. That is, it has a function of processing an information signal input from an externally connected key scan circuit by hardware and directly activating a DTMF generating function.

【0007】 また、このハードウエアの方式は特に制限されない。The hardware system is not particularly limited.

【0008】[0008]

【作用】[Action]

上記手段によれば、キースキャン回路から入力された情報から直接ハードウエ アによってDTMF発生機能を起動する為、ソフトウエアの処理が不要となり、 ソフトウエアの負荷低減となる。また、情報処理がハードウエアで行なわれる為 、ソフトウエアによる処理時間が無くなり、反応速度が速くなる。 According to the above means, the DTMF generating function is directly activated by the hardware from the information input from the key scan circuit, so that the processing of software is unnecessary and the load of software is reduced. Moreover, since the information processing is performed by hardware, the processing time by software is eliminated, and the reaction speed becomes faster.

【0009】[0009]

【実施例】【Example】

実施例1 図1に本考案の1実施例を示す。本例ではDTMF用のキー入力専用ピンR1 〜R4,C1〜C4を有し、このピンより周波数情報を入力する場合を示す。 Embodiment 1 FIG. 1 shows an embodiment of the present invention. In this example, DTMF key input dedicated pins R1 to R4 and C1 to C4 are provided, and the case of inputting frequency information from these pins is shown.

【0010】 マイクロコンピュータ1の外部に設けられたキースキャン回路2は、DTMF 用のキー入力専用ピンに接続される。The key scan circuit 2 provided outside the microcomputer 1 is connected to a key input dedicated pin for DTMF.

【0011】 キースキャン回路2に、DTMF発生周波数情報を入力する。この入力された 情報はキー入力専用ピンR1〜R4,C1〜C4を通ってキー入力情報処理回路 5に入力される、この情報は、キー入力情報処理回路5において、DTMF発生 回路6を起動させる周波数情報に変換され、DTMF発生回路6へ伝達される。 DTMF発生回路6はこの周波数情報に従った周波数の波形を二つのピンTONER ,TONECより出力する。DTMF generation frequency information is input to the key scan circuit 2. This input information is input to the key input information processing circuit 5 through the key input dedicated pins R1 to R4 and C1 to C4. This information activates the DTMF generating circuit 6 in the key input information processing circuit 5. It is converted into frequency information and transmitted to the DTMF generating circuit 6. The DTMF generating circuit 6 outputs the waveform of the frequency according to this frequency information from the two pins TONER and TONEC.

【0012】 実施例2 実施例1では、DTMF用のキー入力専用ピンを有するマイコンの例を示した が、DTMF用のキー入力専用ピンを設けると、マイコンのピン数が増加し、 DTMFを使用しない場合に、ピンの使用効率を悪くしてしまう。これを解決す る為に、DTMF用のキー入力ピンと汎用I/Oポートピンをマルチプレクスし て使用する例を、図2に示す。Second Embodiment In the first embodiment, an example of a microcomputer having a key input dedicated pin for DTMF has been shown. However, if the key input dedicated pin for DTMF is provided, the number of pins of the microcomputer increases and the DTMF is used. If not, the efficiency of pin usage will deteriorate. To solve this problem, Fig. 2 shows an example in which the key input pin for DTMF and the general-purpose I / O port pin are multiplexed and used.

【0013】 ユーザーは、マイクロコンピュータ1に内蔵されているDTMF発生回路6を 使用しない場合、ソフトウエアによって、R1〜R4,C1〜C4ピンを汎用I /Oポートに切り換えて使用することができる。また、DTMF発生回路6を使 用する場合には、DTMF用のキー入力ピンに切り換えることができる。この切 り換え機能はCPU4よりポート切換回路3へ出力されている切換制御信号によ り行なう。When the user does not use the DTMF generating circuit 6 built in the microcomputer 1, the user can switch the R1 to R4 and C1 to C4 pins to general-purpose I / O ports and use them by software. When the DTMF generating circuit 6 is used, it can be switched to the key input pin for DTMF. This switching function is performed by a switching control signal output from the CPU 4 to the port switching circuit 3.

【0014】 ユーザーがポートをDTMF用のキー入力にて使用している場合の動作は、実 施例1と同じである。実施例1と比べると、この方式は、一連のプログラムのな かで、ユーザーは、必要な時だけ、この8本のピンをDTMF用のキー入力ピン として使用し、その他の場合には、汎用I/Oポートとして使用できる為、ポー トの使用効率が向上する。The operation when the user is using the port for key input for DTMF is the same as in the first embodiment. Compared with the first embodiment, this method uses a set of eight pins as key input pins for DTMF only when necessary in a series of programs, and in other cases, the general purpose Since it can be used as an I / O port, port usage efficiency is improved.

【0015】 実施例3 実施例1、及び、実施例2では、DTMF発生回路6はハードウエアでしか起 動することができないが、ソフトウエアでもDTMF発生回路6を起動できる例 を図3に示す。本例は実施例2と同様に、ポートを汎用ポートとDTMF用のキ ー入力ピンに切り換えることが可能である。Third Embodiment In the first and second embodiments, the DTMF generating circuit 6 can be activated only by hardware, but an example in which the DTMF generating circuit 6 can be activated by software is shown in FIG. .. In this example, the port can be switched to a general-purpose port or a key input pin for DTMF as in the second embodiment.

【0016】 ユーザーは、まずソフトウエアによって、R1〜R4,C1〜C4ピンをDTMF 用のキー入力ピンに切り換える。次に、DTMF発生回路6をハードウエアで起 動するか、ソフトウエアで起動するかによって切換回路7を設定する。この切換 回路7の設定はソフトウエアによって行なう。The user first switches the R1 to R4 and C1 to C4 pins to the DTMF key input pins by software. Next, the switching circuit 7 is set depending on whether the DTMF generating circuit 6 is activated by hardware or software. This switching circuit 7 is set by software.

【0017】 この切換回路7をハードウエアで起動するほうに切り換えた場合、実施例1、 及び、実施例2と同様の動作を行ない、DTMF発生回路6にはキー入力情報処 理回路5からの情報信号が入力される。また、ソフトウエアで起動するほうに切 り換えた場合、従来の場合と同様の動作を行なう。すなわち、DTMF発生回路 6にはソフトウエアによって設定された情報がCPU4より入力される。When the switching circuit 7 is switched to be activated by hardware, the same operation as in the first and second embodiments is performed, and the DTMF generating circuit 6 receives the data from the key input information processing circuit 5. An information signal is input. In addition, when switching to the one started by software, the same operation as in the conventional case is performed. That is, the information set by the software is input from the CPU 4 to the DTMF generating circuit 6.

【0018】 この方式は、DTMF発生回路6をソフトウエアでも起動できる為、例えば、 ハードウエアでDTMF発生回路6を起動した後、ソフトウエア割込み等によっ て、DTMFの設定(周波数値等)を自由に変更できる。という利点があり、応 用範囲が拡がる。In this method, since the DTMF generating circuit 6 can be activated by software, for example, after the DTMF generating circuit 6 is activated by hardware, the DTMF setting (frequency value etc.) can be set by a software interrupt or the like. You can change it freely. The advantage is that the range of application is expanded.

【0019】[0019]

【考案の効果】[Effect of the device]

本願によって開示される考案によって得られる効果を簡単に説明すれば下記の とおりである。即ち、DTMF発生回路内蔵マイコンにおいて、DTMF発生機 能の周波数選択制御に必要なソフトウエア処理の簡易化が図れ、また、DTMF 発生周波数情報の入力からDTMF波形出力までの高速化が図れるという効果が ある。 The effects obtained by the device disclosed in the present application will be briefly described as follows. That is, in the microcomputer with a built-in DTMF generation circuit, the software processing required for frequency selection control of the DTMF generation function can be simplified, and the speed from input of DTMF generation frequency information to DTMF waveform output can be increased. is there.

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

【図1】請求項1の一実施例に係るDTMF発生周波数
情報をハードウエアにより処理する機能、及び、請求項
2の一実施例に係るDTMFの周波数情報を入力する専
用ピンを有するマイコンのブロック図である。
1 is a block of a microcomputer having a function of processing DTMF generated frequency information according to an embodiment of claim 1 by hardware, and a dedicated pin for inputting DTMF frequency information according to an embodiment of claim 2; It is a figure.

【図2】図1で示した実施例に加えて、DTMFの周波
数情報を入力する専用ピンと汎用I/Oポートピンをマ
ルチプレクスしたマイコンのブロック図である。
2 is a block diagram of a microcomputer in which dedicated pins for inputting frequency information of DTMF and general-purpose I / O port pins are multiplexed in addition to the embodiment shown in FIG.

【図3】図2で示した実施例に加えて、DTMF発生回
路の起動をソフトウエアでも可能にしたマイコンのブロ
ック図である。
FIG. 3 is a block diagram of a microcomputer in which the DTMF generating circuit can be activated by software in addition to the embodiment shown in FIG.

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

1…マイクロコンピュータ、2…キースキャン回路、3
…ポート切換回路、4…CPU、5…キー入力情報処理
回路、6…DTMF発生回路、7…切換回路。
1 ... Microcomputer, 2 ... Key scan circuit, 3
... port switching circuit, 4 ... CPU, 5 ... key input information processing circuit, 6 ... DTMF generating circuit, 7 ... switching circuit.

Claims (2)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】マイコンに内蔵するDTMF発生機能の周
波数選択に際し、DTMFの周波数情報をハードウエア
によって処理し、指定された周波数の波形を出力する機
能を有することを特徴とするマイコン。
1. A microcomputer having a function of processing frequency information of DTMF by hardware and outputting a waveform of a designated frequency when selecting a frequency of a DTMF generating function incorporated in the microcomputer.
【請求項2】DTMFの周波数情報を入力する専用ピン
を有することを特徴とするマイコン。
2. A microcomputer having a dedicated pin for inputting frequency information of DTMF.
JP174292U 1992-01-22 1992-01-22 Microcomputer Pending JPH0559549U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP174292U JPH0559549U (en) 1992-01-22 1992-01-22 Microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP174292U JPH0559549U (en) 1992-01-22 1992-01-22 Microcomputer

Publications (1)

Publication Number Publication Date
JPH0559549U true JPH0559549U (en) 1993-08-06

Family

ID=11510024

Family Applications (1)

Application Number Title Priority Date Filing Date
JP174292U Pending JPH0559549U (en) 1992-01-22 1992-01-22 Microcomputer

Country Status (1)

Country Link
JP (1) JPH0559549U (en)

Similar Documents

Publication Publication Date Title
JPS5936857A (en) Processor unit
JPH02226336A (en) Digital signal processing device
US6249858B1 (en) Information processing apparatus having a CPU and an auxiliary arithmetic unit for achieving high-speed operation
JPH0559549U (en) Microcomputer
JPH0431625Y2 (en)
JPS6167148A (en) Microcomputer
US5018092A (en) Stack-type arithmetic circuit
JPS60129856A (en) Memory control circuit
RU1829034C (en) Device for testing computing unit controlled by programs
SU1737440A1 (en) Device for software processing of digital data
JPH05314277A (en) Port control circuit
JPH02105951A (en) Address data generating circuit and digital signal processor incorporating same
JP3341164B2 (en) Programmable controller
JPS585845A (en) Microprocessor
JP3110072B2 (en) Pre-normalization circuit
JPH0683618A (en) Flag control circuit
JPH0445866B2 (en)
KR0163905B1 (en) Forced input device of arithmetic logic unit
JP2919841B2 (en) Testing method for data processing equipment
JPH0219870Y2 (en)
JPH0719243B2 (en) Microcomputer
JPS6367604A (en) Process signal converter
JPH0769727B2 (en) Multi-point analog input processor
JPS6158074A (en) Microcomputer
JPS61264442A (en) Compiler