JPH06124257A - Serial I / O control circuit - Google Patents
Serial I / O control circuitInfo
- Publication number
- JPH06124257A JPH06124257A JP4298121A JP29812192A JPH06124257A JP H06124257 A JPH06124257 A JP H06124257A JP 4298121 A JP4298121 A JP 4298121A JP 29812192 A JP29812192 A JP 29812192A JP H06124257 A JPH06124257 A JP H06124257A
- Authority
- JP
- Japan
- Prior art keywords
- serial
- output
- bit
- transfer
- active
- 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
- Information Transfer Systems (AREA)
- Computer And Data Communications (AREA)
Abstract
(57)【要約】
【目的】 複数の装置間でのシリアル転送において例え
ばタイママイクロコンピュータが転送クロックとして外
部クロックを用いたとき、シリアル転送完了後他の装置
の通信を可能にする。
【構成】 シリアルI/O制御レジスタに出力端子SO
UTをハイインピーダンスあるいはアクティブに切り換
えるビットを設ける。さらに外部クロックが“H”から
“L”に変化するのを検出して、自動的に出力端子SO
UTをアクティブ状態に戻すビット制御手段を備える。
(57) [Abstract] [Purpose] When serial transfer between a plurality of devices, for example, when a timer microcomputer uses an external clock as a transfer clock, it enables communication with other devices after the serial transfer is completed. [Configuration] Output terminal SO for serial I / O control register
A bit is provided to switch the UT to high impedance or active. Furthermore, when the external clock changes from "H" to "L" is detected, the output terminal SO is automatically
Bit control means for returning the UT to the active state is provided.
Description
【0001】[0001]
【産業上の利用分野】この発明は、シリアル入出力制御
回路に関し、特に、複数の装置間のシリアル転送におい
て、他の装置間の通信を可能にしたシリアル入出力制御
回路に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a serial input / output control circuit, and more particularly to a serial input / output control circuit that enables communication between other devices in serial transfer between a plurality of devices.
【0002】[0002]
【従来の技術】シリアル入出力制御回路(以下、シリア
ルI/O制御回路と称す)は、複数の装置間、例えば、
図5に示すようにタイママイクロコンピュータ51、シ
ステムコントローラ52、オンスクリーンディスプレイ
53、あるいは図示しない電気的に書き込み可能なRO
M(以下、EPROMと称す)等の間でシリアル転送を
行うのに必要な装置である。シリアルI/O制御回路の
転送クロックとして、内部クロックあるいは外部クロッ
クを用いることができる。2. Description of the Related Art A serial input / output control circuit (hereinafter referred to as a serial I / O control circuit) is provided between a plurality of devices, for example,
As shown in FIG. 5, a timer microcomputer 51, a system controller 52, an on-screen display 53, or an electrically writable RO (not shown)
It is a device necessary for serial transfer between M (hereinafter referred to as EPROM) and the like. An internal clock or an external clock can be used as the transfer clock of the serial I / O control circuit.
【0003】図6は、この従来のシリアルI/O制御回
路の動作を示すタイミングチャートである。転送クロッ
クとして内部クロックを用いる場合、転送クロックを8
回カウントすると、転送クロックは“H”の状態で停止
し、シリアルI/Oは、入力及び出力とも1バイトの転
送を終了する。その後内部クロックの9回目の立ち下り
によりシリアルI/Oの出力(以下、SOUTと称す)
端子がハイインピーダンスの状態となる。転送クロック
に外部クロックを用いる場合、転送クロックを8回カウ
ントすると転送クロックは“H”の状態で停止し1バイ
トの転送を終了するが、転送クロックと内部クロックが
同期していないため、出力端子SOUTはハイインピー
ダンスの状態にならない。FIG. 6 is a timing chart showing the operation of this conventional serial I / O control circuit. When using the internal clock as the transfer clock,
When counting the number of times, the transfer clock is stopped in the state of "H", and the serial I / O ends the transfer of 1 byte for both input and output. After that, at the ninth fall of the internal clock, the serial I / O output (hereinafter referred to as SOUT)
The terminal is in the high impedance state. When an external clock is used as the transfer clock, when the transfer clock is counted 8 times, the transfer clock stops in the “H” state and ends the transfer of 1 byte, but the transfer clock and the internal clock are not synchronized, so the output pin SOUT is not in a high impedance state.
【0004】複数の装置間(タイママイクロコンピュー
タ,システムコントローラ,オンスクリーンディスプレ
イ,EPROM等)で通信を行う場合、タイママイクロ
コンピュータがデータ送信後他の装置間の通信を行うた
めタイママイクロコンピュータの出力端子SOUTをハ
イインピーダンスにする必要がある。タイママイクロコ
ンピュータが転送クロックとして外部クロックを用いて
通信するとき、転送終了後、出力端子SOUTがハイイ
ンピーダンスにならない。したがってタイママイクロコ
ンピュータが転送クロックとして、外部クロックを用い
て通信することができない。When a plurality of devices (timer microcomputer, system controller, on-screen display, EPROM, etc.) communicate with each other, the timer microcomputer outputs data to the other devices so that the other devices can communicate with each other. It is necessary to make SOUT high impedance. When the timer microcomputer communicates using the external clock as the transfer clock, the output terminal SOUT does not become high impedance after the transfer is completed. Therefore, the timer microcomputer cannot communicate using the external clock as the transfer clock.
【0005】[0005]
【発明が解決しようとする課題】従来のシリアルI/O
制御回路はシリアルI/Oの転送クロックとして外部ク
ロックを用いた場合、データ転送終了後、出力端子SO
UTがハイインピーダンスの状態にならない。このため
複数の装置間(タイママイクロコンピュータ,システム
コントローラ,オンスクリーンディスプレイ,EPRO
M等)でタイママイクロコンピュータが転送クロックと
して外部クロックを用いた場合、データ転送後他の装置
間での通信を行うことができない。[Problems to be Solved by the Invention] Conventional serial I / O
When the external clock is used as the serial I / O transfer clock, the control circuit outputs the output terminal SO after the data transfer is completed.
The UT does not enter the high impedance state. Therefore, between multiple devices (timer microcomputer, system controller, on-screen display, EPRO
If the timer microcomputer uses an external clock as a transfer clock in (M, etc.), communication between other devices cannot be performed after data transfer.
【0006】この発明は、上記のような問題点を解決す
るためになされたもので、複数の装置間のシリアル転送
においてシリアルI/Oの出力端子をハイインピーダン
スあるいはアクティブにすることで、他の装置間の通信
を可能にするシリアルI/O制御回路を提供することを
目的とする。また、この発明は転送終了後の次の転送要
求に対してシリアルI/Oの出力端子をアクティブにす
ることができるシリアルI/O制御回路を提供すること
を目的とする。The present invention has been made in order to solve the above-mentioned problems, and in serial transfer between a plurality of devices, the output terminal of the serial I / O is set to high impedance or active, so that another An object is to provide a serial I / O control circuit that enables communication between devices. Another object of the present invention is to provide a serial I / O control circuit that can activate the output terminal of the serial I / O for the next transfer request after the transfer is completed.
【0007】[0007]
【課題を解決するための手段】請求項1の発明に係るシ
リアルI/O制御回路は、シリアルI/Oの出力端子S
OUTをハイインピーダンスあるいはアクティブに切り
替えるためのビットを設定するシリアルI/O制御レジ
スタ7を備えたものである。A serial I / O control circuit according to a first aspect of the present invention is a serial I / O output terminal S.
The serial I / O control register 7 for setting a bit for switching OUT to high impedance or active is provided.
【0008】請求項2の発明に係るシリアルI/O制御
回路は、シリアルI/Oの出力端子SOUTをハイイン
ピーダンスあるいはアクティブに切り替えるためのビッ
トを設定するシリアルI/O制御レジスタ7と、このシ
リアルI/O制御レジスタ7の出力により上記シリアル
I/Oの出力端子SOUTをハイインピーダンスあるい
はアクティブにするハイインピーダンス/アクティブ切
換回路6と、外部クロックのレベル変化を検出して上記
シリアルI/O制御レジスタ7のビットを変更し上記シ
リアルI/Oの出力端子SOUTをアクティブ状態に戻
すビット制御手段21とを備えたものである。A serial I / O control circuit according to a second aspect of the present invention includes a serial I / O control register 7 for setting a bit for switching the output terminal SOUT of the serial I / O to high impedance or active, and the serial I / O control register 7. A high impedance / active switching circuit 6 that makes the output terminal SOUT of the serial I / O high impedance or active by the output of the I / O control register 7, and the serial I / O control register that detects a level change of an external clock. The bit control means 21 is provided for changing the 7th bit and returning the output terminal SOUT of the serial I / O to the active state.
【0009】[0009]
【作用】請求項1の発明において、シリアルI/O制御
レジスタ7はシリアルI/Oの出力端子SOUTをハイ
インピーダンスあるいはアクティブに切り換えるための
ビットを設定する。In the invention of claim 1, the serial I / O control register 7 sets a bit for switching the output terminal SOUT of the serial I / O to high impedance or active.
【0010】請求項2の発明においてシリアルI/O制
御レジスタ7はシリアルI/Oの出力端子SOUTをハ
イインピーダンスあるいはアクティブに切り換えるため
のビットを設定し、ハイインピーダンス/アクティブ切
換回路6はシリアルI/O制御レジスタ7の出力により
シリアルI/Oの出力端子SOUTをハイインピーダン
スあるいはアクティブにする。ビット制御手段21は外
部クロックのレベル変化を検出してシリアルI/O制御
レジスタ7のビットを変更しシリアルI/Oの出力端子
SOUTをアクティブ状態に戻す。In the second aspect of the invention, the serial I / O control register 7 sets a bit for switching the output terminal SOUT of the serial I / O to high impedance or active, and the high impedance / active switching circuit 6 uses the serial I / O. The output of the O control register 7 makes the output terminal SOUT of the serial I / O high impedance or active. The bit control means 21 detects the level change of the external clock and changes the bit of the serial I / O control register 7 to return the output terminal SOUT of the serial I / O to the active state.
【0011】[0011]
【実施例】図1はこの発明の一実施例によるシリアルI
/O制御回路の構成を示すブロック図である。図1にお
いて、1は内部クロック入力を分周する分周器、2は分
周器1の出力クロックと外部クロック入力を切り換える
クロック切換回路、3はクロック切換回路3からの転送
クロックをカウントするシリアルI/Oカウンタ、4は
シリアルI/O入力をセットしシフトしていくシリアル
I/Oシフトレジスタ、5はポート入出力と出力端子S
OUTを切り換えるポート入出力/SOUT切換回路、
6はシリアルI/Oの出力端子SOUTをハイインピー
ダンスあるいはアクティブに切り換えるハイインピーダ
ンス/アクティブ切換回路、7は出力端子SOUTをハ
イインピーダンスあるいはアクティブに切り換えるため
のビットを設定するシリアルI/O制御レジスタであ
る。また、21は外部クロックのレベル変化を検出して
シリアルI/O制御レジスタ7のビットを変更しシリア
ルI/Oの出力端子SOUTをアクティブ状態に戻すビ
ット制御手段である。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows a serial I according to an embodiment of the invention.
It is a block diagram which shows the structure of the / O control circuit. In FIG. 1, 1 is a frequency divider that divides the internal clock input, 2 is a clock switching circuit that switches the output clock of the frequency divider 1 and external clock input, and 3 is a serial that counts the transfer clock from the clock switching circuit 3. I / O counter, 4 is a serial I / O shift register that sets and shifts serial I / O input, and 5 is port input / output and output terminal S
Port input / output / SOUT switching circuit for switching OUT,
Reference numeral 6 is a high impedance / active switching circuit that switches the output terminal SOUT of the serial I / O to high impedance or active, and 7 is a serial I / O control register that sets a bit for switching the output terminal SOUT to high impedance or active. . Reference numeral 21 is a bit control means for detecting a level change of the external clock and changing the bit of the serial I / O control register 7 to return the output terminal SOUT of the serial I / O to the active state.
【0012】図2は図1のシリアルI/O制御回路の動
作を示すタイミングチャートである。図1及び図2を参
照してこの実施例の動作について説明する。転送クロッ
クは、内部クロックを分周器1により分周したもの、ま
たは外部クロックのどちらかをクロック切換回路2によ
り選択できる。シリアルI/O制御レジスタ7のビット
SM3を“1”にすると、SOUTポートに、またビッ
トSM3を“0”にすると入出力ポートに設定できる。
以下、ビットSM3が“1”のとき、すなわちSOUT
ポートに設定されているときについて説明する。転送ク
ロックをシリアルI/Oカウンタ3により8回カウント
すると、転送クロックは“H”の状態で停止する。シリ
アルI/Oの出力は転送クロックをシリアルI/Oカウ
ンタ3で8回カウントし1バイトの転送を終了し、また
シリアルI/O入力もシリアルI/Oシフトレジスタ4
で転送クロックを8回カウントすると、1バイトのデー
タ受信を終了する。FIG. 2 is a timing chart showing the operation of the serial I / O control circuit of FIG. The operation of this embodiment will be described with reference to FIGS. The transfer clock can be selected by the clock switching circuit 2 from either the internal clock divided by the frequency divider 1 or the external clock. When the bit SM3 of the serial I / O control register 7 is set to "1", it can be set to the SOUT port, and when the bit SM3 is set to "0", it can be set to the input / output port.
Hereinafter, when the bit SM3 is “1”, that is, SOUT
The following describes when the port is set. When the transfer clock is counted eight times by the serial I / O counter 3, the transfer clock stops in the "H" state. As for the output of the serial I / O, the transfer clock is counted eight times by the serial I / O counter 3 to end the transfer of 1 byte, and the serial I / O input is also input to the serial I / O shift register 4.
When the transfer clock is counted 8 times, the reception of 1-byte data is completed.
【0013】転送クロックが外部クロックの場合、転送
クロックの8回目の“L”から“H”への立ち上がりで
シリアル転送割り込み要求を受ける。そしてビット制御
手段21内の割り込みハンドラが起動し、シリアルI/
O制御レジスタ7のビットSM7を“1”にセットす
る。ビットSM7を“1”にセットすることで出力端子
SOUTをハイインピーダンスにすることができる。外
部クロックが“H”から“L”に立ち下がったことを検
出して、ビットSM7にセットされた“1”を“0”に
クリアすることでアクティブ状態にする。When the transfer clock is an external clock, the serial transfer interrupt request is received at the eighth rise of the transfer clock from "L" to "H". Then, the interrupt handler in the bit control means 21 is activated and the serial I / O
The bit SM7 of the O control register 7 is set to "1". The output terminal SOUT can be set to high impedance by setting the bit SM7 to "1". When it is detected that the external clock has fallen from "H" to "L", "1" set in the bit SM7 is cleared to "0" to make it active.
【0014】図3は、上記シリアルI/O制御レジスタ
7の1ビット分の回路図である。このシリアルI/O制
御レジスタ7の1ビット分の動作を説明する。シリアル
I/O制御レジスタ7の7bit目SM7にデータを書
き込むとき、WRの信号は“H”でRDの信号は“L”
である。逆にデータを読み出すときはWRの信号は
“L”で、RDの信号は“H”である。リセットをかけ
ると、RESET=“L”でWR=“L”,RD=
“L”となり、SM7は“0”となる。動作中は、RE
SET=“H”である。1バイトのデータ転送終了後、
転送クロックは“H”の状態で停止する。WR=
“H”,RD=“L”,SM7=“0”,データバスか
ら“H”の信号が入るとNANDゲート31の出力は
“H”、NANDゲート32の出力は“L”となりSM
7=“1”となる。WR=“L”,RD=“H”でSM
7=“1”のデータがデータバス、そしてSOUTがハ
イインピーダンスになる。次にWR=“H”,RD=
“L”,RESET=“H”,転送クロックが“L”、
データバスから“L”の信号が入ると、SM7が“1”
であるからNANDゲート31の出力は“H”,NAN
Dゲート32の出力は“H”となりSM7が“0”とな
る。WR=“L”,RD=“H”で、SM7=“0”の
データがデータバスへ、そして、出力端子SOUTがア
クティブ状態になる。FIG. 3 is a circuit diagram of one bit of the serial I / O control register 7. The operation of one bit of the serial I / O control register 7 will be described. When writing data to the 7th bit SM7 of the serial I / O control register 7, the WR signal is "H" and the RD signal is "L".
Is. Conversely, when reading data, the WR signal is "L" and the RD signal is "H". After resetting, RESET = “L”, WR = “L”, RD =
It becomes "L" and SM7 becomes "0". During operation, RE
SET = “H”. After the transfer of 1-byte data,
The transfer clock stops in the "H" state. WR =
“H”, RD = “L”, SM7 = “0”, when an “H” signal is input from the data bus, the output of the NAND gate 31 becomes “H” and the output of the NAND gate 32 becomes “L”.
7 = “1”. SM with WR = "L" and RD = "H"
7 = “1” data becomes the data bus, and SOUT becomes high impedance. Next, WR = “H”, RD =
“L”, RESET = “H”, transfer clock is “L”,
When an "L" signal is input from the data bus, SM7 becomes "1".
Therefore, the output of the NAND gate 31 is "H", NAN
The output of the D gate 32 becomes "H" and SM7 becomes "0". When WR = “L” and RD = “H”, SM7 = “0” data is transferred to the data bus, and the output terminal SOUT is activated.
【0015】図4はシリアルI/Oの出力とSOUTの
制御回路である。図4のA点は“H”、B点は“H”と
なっているものとする。シリアルI/O制御レジスタ7
の3ビット目SM3はポートをSOUTポートに設定し
ているため“1”となっている。SM7が“H”になる
とPチャネルトランジスタ41およびNチャネルトラン
ジスタ42は両方ともOFFとなりハイインピーダンス
になる。SM7=“0”のときアクティブ状態となりシ
リアルI/O出力SOUTにはシリアルI/Oシフトレ
ジスタからの送信データが“H”ならば“H”が、また
“L”ならば“L”が出力される。FIG. 4 shows a control circuit for the serial I / O output and SOUT. It is assumed that the point A in FIG. 4 is "H" and the point B is "H". Serial I / O control register 7
The third bit SM3 of "1" is "1" because the port is set to the SOUT port. When SM7 becomes "H", both the P-channel transistor 41 and the N-channel transistor 42 are turned off and become high impedance. When SM7 = "0", it becomes active and the serial I / O output SOUT outputs "H" if the transmission data from the serial I / O shift register is "H" and outputs "L" if it is "L". To be done.
【0016】以上のように上記実施例によればシリアル
I/O制御レジスタに出力端子SOUTをハイインピー
ダンス(Hi−Z)あるいはアクティブに切り換えるビ
ットを設けたのでシリアル転送が完了したとき、シリア
ル転送完了割り込み要求を受けて割り込み処理ルーチン
内で上記ビットをセットしハイインピーダンスにするこ
とができる。また、次の転送要求に対して外部クロック
が“H”から“L”に立ち下がった事を検出して上記ビ
ットをクリアし出力端子SOUTをアクティブ状態にで
きる。これにより複数間のシリアル転送において他の装
置の通信を可能にする。As described above, according to the above embodiment, since the serial I / O control register is provided with the bit for switching the output terminal SOUT to the high impedance (Hi-Z) or active, the serial transfer is completed when the serial transfer is completed. In response to an interrupt request, the above bit can be set in the interrupt processing routine to make it high impedance. Further, it is possible to detect that the external clock has fallen from "H" to "L" in response to the next transfer request, clear the above bits, and make the output terminal SOUT active. This enables communication with other devices in serial transfer between a plurality of devices.
【0017】[0017]
【発明の効果】以上のように請求項1の発明によれば、
シリアル入出力の出力端子をハイインピーダンスあるい
はアクティブに切り換えるためのビットを設定するシリ
アル入出力制御レジスタを設けて構成したので、シリア
ルI/Oの出力端子をハイインピーダンスあるいはアク
ティブにすることができ、これにより他の装置間の通信
が可能となるという効果が得られる。As described above, according to the invention of claim 1,
Since the serial input / output control register for setting the bit for switching the serial input / output output terminal to high impedance or active is provided, the serial I / O output terminal can be set to high impedance or active. With this, it is possible to obtain an effect that communication between other devices becomes possible.
【0018】請求項2の発明によれば、シリアル入出力
の出力端子をハイインピーダンスあるいはアクティブに
切り換えるためのビットを設定するシリアル入出力制御
レジスタと、このシリアル入出力制御レジスタの出力に
より上記シリアル入出力の出力端子をハイインピーダン
スあるいはアクティブにするハイインピーダンス/アク
ティブ切換回路と、外部クロックのレベル変化を検出し
て上記シリアル入出力制御レジスタのビットを変更し上
記入出力の出力端子をアクティブ状態に戻すビット制御
手段とを設けて構成したので、上記効果と同様の効果が
得られ、また、外部クロックのレベル変化を検出するこ
とにより入出力の出力端子をアクティブ状態に戻すこと
ができるという効果が得られる。According to the invention of claim 2, a serial input / output control register for setting a bit for switching the output terminal of the serial input / output to high impedance or active, and the serial input / output control register by the output of the serial input / output control register. A high-impedance / active switching circuit that makes the output terminal of the output high impedance or active, and changes the level of the external clock to change the bit of the serial input / output control register and return the output terminal of the input / output to the active state. Since the bit control means is provided, the same effect as the above effect can be obtained, and the effect that the output terminal of the input / output can be returned to the active state by detecting the level change of the external clock is obtained. To be
【図1】この発明の一実施例によるシリアルI/O制御
回路の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a serial I / O control circuit according to an embodiment of the present invention.
【図2】この実施例の動作を示すタイミングチャートで
ある。FIG. 2 is a timing chart showing the operation of this embodiment.
【図3】図1中のシリアルI/O制御レジスタの7ビッ
ト目に関する制御回路の回路図である。FIG. 3 is a circuit diagram of a control circuit related to the 7th bit of the serial I / O control register in FIG.
【図4】この実施例においてシリアルI/Oの出力とS
OUTの制御回路の回路図である。FIG. 4 shows the serial I / O output and S in this embodiment.
It is a circuit diagram of a control circuit of OUT.
【図5】シリアル転送通信システムの構成を示すブロッ
ク図である。FIG. 5 is a block diagram showing a configuration of a serial transfer communication system.
【図6】従来のシリアルI/O制御回路の動作を示すタ
イミングチャートである。FIG. 6 is a timing chart showing an operation of a conventional serial I / O control circuit.
6 ハイインピーダンス/アクティブ切換回路 7 シリアルI/O制御レジスタ 21 ビット制御手段 6 high impedance / active switching circuit 7 serial I / O control register 21 bit control means
─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───
【手続補正書】[Procedure amendment]
【提出日】平成4年12月14日[Submission date] December 14, 1992
【手続補正1】[Procedure Amendment 1]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0011[Correction target item name] 0011
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【0011】[0011]
【実施例】図1はこの発明の一実施例によるシリアルI
/O制御回路の構成を示すブロック図である。図1にお
いて、1は内部クロック入力を分周する分周器、2は分
周器1の出力クロックと外部クロック入力を切り換える
クロック切換回路、3はクロック切換回路2からの転送
クロックをカウントするシリアルI/Oカウンタ、4は
シリアルI/O入力をセットしシフトしていくシリアル
I/Oシフトレジスタ、5はポート入出力と出力端子S
OUTを切り換えるポート入出力/SOUT切換回路、
6はシリアルI/Oの出力端子SOUTをハイインピー
ダンスあるいはアクティブに切り換えるハイインピーダ
ンス/アクティブ切換回路、7は出力端子SOUTをハ
イインピーダンスあるいはアクティブに切り換えるため
のビットを設定するシリアルI/O制御レジスタであ
る。また、21は外部クロックのレベル変化を検出して
シリアルI/O制御レジスタ7のビットを変更しシリア
ルI/Oの出力端子SOUTをアクティブ状態に戻すビ
ット制御手段である。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows a serial I according to an embodiment of the present invention.
It is a block diagram which shows the structure of the / O control circuit. In FIG. 1, 1 is a frequency divider that divides the internal clock input, 2 is a clock switching circuit that switches the output clock of the frequency divider 1 and external clock input, and 3 is a serial that counts the transfer clock from the clock switching circuit 2. I / O counter, 4 is a serial I / O shift register that sets and shifts serial I / O input, and 5 is port input / output and output terminal S
Port input / output / SOUT switching circuit for switching OUT,
Reference numeral 6 is a high impedance / active switching circuit that switches the output terminal SOUT of the serial I / O to high impedance or active, and 7 is a serial I / O control register that sets a bit for switching the output terminal SOUT to high impedance or active. . Reference numeral 21 is a bit control means for detecting a level change of the external clock and changing the bit of the serial I / O control register 7 to return the output terminal SOUT of the serial I / O to the active state.
【手続補正2】[Procedure Amendment 2]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】0013[Correction target item name] 0013
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【0013】転送クロックが外部クロックの場合、転送
クロックの8回目の“L”から“H”への立ち上がりで
シリアル転送割り込み要求を受ける。そしてビット制御
手段21内の割り込みハンドラが起動し、シリアルI/
O制御レジスタ7のビットSM7を“1”にセットす
る。ビットSM7を“1”にセットすることで出力端子
SOUTをハイインピーダンスにすることができる。次
の転送要求に応じて、外部クロックが“H”から“L”
に立ち下がったことを検出して、ビットSM7にセット
された“1”を“0”にクリアすることでアクティブ状
態にする。When the transfer clock is an external clock, the serial transfer interrupt request is received at the eighth rise of the transfer clock from "L" to "H". Then, the interrupt handler in the bit control means 21 is activated and the serial I / O
The bit SM7 of the O control register 7 is set to "1". The output terminal SOUT can be set to high impedance by setting the bit SM7 to "1". Next
External clock from "H" to "L" in response to the transfer request of
It is detected that the signal has fallen to 0, and the "1" set in the bit SM7 is cleared to "0" to activate it.
【手続補正3】[Procedure 3]
【補正対象書類名】図面[Document name to be corrected] Drawing
【補正対象項目名】図2[Name of item to be corrected] Figure 2
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【図2】 [Fig. 2]
【手続補正4】[Procedure amendment 4]
【補正対象書類名】図面[Document name to be corrected] Drawing
【補正対象項目名】図5[Name of item to be corrected] Figure 5
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【図5】 [Figure 5]
【手続補正5】[Procedure Amendment 5]
【補正対象書類名】図面[Document name to be corrected] Drawing
【補正対象項目名】図6[Name of item to be corrected] Figure 6
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【図6】 [Figure 6]
Claims (2)
る制御を行うシリアル入出力制御回路において、シリア
ル入出力の出力端子をハイインピーダンスあるいはアク
ティブに切り換えるためのビットを設定するシリアル入
出力制御レジスタを設けたことを特徴とするシリアル入
出力制御回路。1. A serial input / output control circuit for controlling serial transfer of data between a plurality of devices, comprising a serial input / output control register for setting a bit for switching an output terminal of serial input / output to high impedance or active. A serial input / output control circuit characterized by being provided.
る制御を行うシリアル入出力制御回路において、シリア
ル入出力の出力端子をハイインピーダンスあるいはアク
ティブに切り換えるためのビットを設定するシリアル入
出力制御レジスタと、このシリアル入出力制御レジスタ
の出力により上記シリアル入出力の出力端子をハイイン
ピーダンスあるいはアクティブにするハイインピーダン
ス/アクティブ切換回路と、外部クロックのレベル変化
を検出して上記シリアル入出力制御レジスタのビットを
変更し上記入出力の出力端子をアクティブ状態に戻すビ
ット制御手段とを設けたことを特徴とするシリアル入出
力制御回路。2. A serial input / output control circuit for controlling serial transfer of data between a plurality of devices, and a serial input / output control register for setting a bit for switching an output terminal of serial input / output to high impedance or active. , A high impedance / active switching circuit that makes the output terminal of the serial input / output high impedance or active by the output of the serial input / output control register, and detects the level change of the external clock to set the bit of the serial input / output control register. A serial input / output control circuit provided with bit control means for changing the output terminal of the input / output to the active state.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4298121A JPH06124257A (en) | 1992-10-09 | 1992-10-09 | Serial I / O control circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4298121A JPH06124257A (en) | 1992-10-09 | 1992-10-09 | Serial I / O control circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH06124257A true JPH06124257A (en) | 1994-05-06 |
Family
ID=17855448
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4298121A Pending JPH06124257A (en) | 1992-10-09 | 1992-10-09 | Serial I / O control circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH06124257A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002208853A (en) * | 2001-01-09 | 2002-07-26 | Mitsubishi Electric Corp | Serial I / O device using timer function |
-
1992
- 1992-10-09 JP JP4298121A patent/JPH06124257A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002208853A (en) * | 2001-01-09 | 2002-07-26 | Mitsubishi Electric Corp | Serial I / O device using timer function |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR900015008A (en) | Data processor | |
| JPH06124257A (en) | Serial I / O control circuit | |
| US5513367A (en) | Multiprocessor system having respective bus interfaces that transfer data at the same time | |
| TWI398778B (en) | Data communication system | |
| US6920577B2 (en) | Clock selection circuit for selecting between an external clock and a clock generated by comparing a count value with a setting value | |
| RU2022345C1 (en) | Interfaces matching device | |
| JP2687324B2 (en) | Reception buffer control method | |
| JP3611049B2 (en) | Internal register circuit | |
| JP2634609B2 (en) | Data transfer device | |
| KR0114239Y1 (en) | Interrupt handler circuit | |
| RU1807495C (en) | Process-to-process interface | |
| JPH0333962A (en) | Serial interface circuit | |
| JP3597744B2 (en) | Interrupt factor signal flag register device | |
| JPH0546105Y2 (en) | ||
| JPS6117012B2 (en) | ||
| EP0171940A1 (en) | A direct memory access device and a method of using the device in a data transfer system | |
| JPH05298266A (en) | Inter-processor communication system for multiprocessor | |
| JPH0422220A (en) | timer circuit | |
| JPH05101016A (en) | Cache snooping controller | |
| JPH0368587B2 (en) | ||
| JPH0475154A (en) | Address setting system for cascade-connected terminal equipment | |
| JP2000339063A (en) | Communication device | |
| JPS62149222A (en) | Digital signal processor | |
| JPH04132097A (en) | Semiconductor integrated circuit | |
| JPH0367351A (en) | Semiconductor device |