JP2003131766A - Information-processing system - Google Patents

Information-processing system

Info

Publication number
JP2003131766A
JP2003131766A JP2001323410A JP2001323410A JP2003131766A JP 2003131766 A JP2003131766 A JP 2003131766A JP 2001323410 A JP2001323410 A JP 2001323410A JP 2001323410 A JP2001323410 A JP 2001323410A JP 2003131766 A JP2003131766 A JP 2003131766A
Authority
JP
Japan
Prior art keywords
saving mode
power saving
return
cpu
interrupt signal
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.)
Granted
Application number
JP2001323410A
Other languages
Japanese (ja)
Other versions
JP3983026B2 (en
Inventor
Shozo Moriya
正三 森谷
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2001323410A priority Critical patent/JP3983026B2/en
Publication of JP2003131766A publication Critical patent/JP2003131766A/en
Application granted granted Critical
Publication of JP3983026B2 publication Critical patent/JP3983026B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

PROBLEM TO BE SOLVED: To control the order for shifting/returning to/from the power-saving mode between a CPU and a peripheral equipment. SOLUTION: A register 13141 which is accessible from the CPU via a system bus is provided in the control circuit of the peripheral equipment. After the CPU makes access to the resister 13141, it shits to the power-saving mode, and after a peripheral control circuit receives the access from the CPU, it shifts the peripheral equipment to the power-saving mode by a timer 13145 after a prescribed period of time passes. Similarly, after a prescribed returning signal is inputted, it returns the peripheral equipment to the original state by a timer 13146 after a prescribed period of time passes. In this case, the CPU returns by a delayed signal generated by delaying a return signal 193 by a prescribed time with a delayed circuit. Timer-setting time and so on are set by the CPU in the registers 13142 and 13143 connected to the system bus. The order for shifting/returning is controlled by the magnitude of the time.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は,情報処理装置にお
ける省電力化に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to power saving in an information processing device.

【0002】[0002]

【従来の技術】近年,携帯可能な小型コンピュータ等の
普及にともない,バッテリー寿命の延長のため,CPU
及びその周辺装置を含む情報処理装置の省電力化が重要
な課題となっている。情報処理装置の一般的な省電力化
方法としては,CPUがキー入力の待ち状態のように特
に仕事をしていない状態が所定時間継続したアイドル状
態が検知されると,CPUを省電力モードへ移行させる
ものがある。この省電力モードは,所定の割り込み信号
の入力を待つ待機状態(インタラプト待機状態)であ
り,割り込み信号を検知してもとの状態へ復帰するため
に必要最小限の回路(部品)以外への電力供給は停止し
ている状態である。この省電力モード時の消費電力を最
小限とすることを目的として,特開平7−121259
号公報には,CPUのアイドル状態を検知すると,CP
Uがインタラプト待機状態(省電力モード)に移行する
とともに,CPUへのクロック信号の停止や,その他周
辺装置(ハードディスクドライブ等)の省電力モードへ
の移行(制御回路の停止等)を行うものが提案されてい
る。これにより,情報処理装置全体としてより消費電力
の少ない状態とすることが可能となる。ところで,CP
Uを省電力モードへ移行させるとともに,ROMやRA
M等の周辺装置も同時に回路停止等の省電力モードへ移
行させ,より省電力化を図ろうとする場合には,CPU
の省電力モードへの移行が完了するまで,ROMやRA
Mへアクセスできることを保証する必要がある。そうで
ないと,CPUは省電力モードへ移行中にもROM,R
AM等の周辺装置へアクセスするため,正常に省電力モ
ードへ移行できないからである。さらに,周辺装置間に
おいても,例えば,省電力モードへ移行時に,他の周辺
装置であるRAMにアクセスする周辺装置がある等,省
電力モードへの移行の順序を考慮しなければならない場
合がある。以上のことは,省電力モードからもとの状態
へ復帰する場合も同様である。例えば,ROMやRAM
へのアクセスが保証される前にCPUが復帰して処理を
再開すると,正常な動作を保証できないといった問題が
生じる。特に,近年の情報処理装置では,高速化のため
にCPUや周辺装置の制御回路にPLL(Phase Locked
Loop)回路を内臓し,同位相のクロックに同期して動
作させるものが多く,この問題が顕著となる。即ち,P
LLはクロック入力が開始されてから出力が安定するま
でにms単位の長い時間が必要であるため,PLLのク
ロック出力によって動作する周辺装置に対し,クロック
出力が安定するまでにアクセスした場合には正常な動作
を保証できないことになる。
2. Description of the Related Art In recent years, CPUs have been used to extend battery life with the spread of portable small computers.
In addition, power saving of information processing devices including peripheral devices has become an important issue. As a general power saving method of the information processing apparatus, when an idle state in which the CPU is not in a particular work state such as a key input waiting state for a predetermined time is detected, the CPU is set to the power saving mode. There is something to move. This power saving mode is a standby state (interrupt standby state) waiting for the input of a predetermined interrupt signal, and even if the interrupt signal is detected, the circuit other than the minimum necessary circuits (parts) is necessary to return to the original state. The power supply is stopped. For the purpose of minimizing the power consumption in the power saving mode, Japanese Patent Laid-Open No. 7-121259
When the idle state of the CPU is detected in the publication, the CP
While U shifts to the interrupt standby state (power saving mode), it also stops the clock signal to the CPU and shifts other peripheral devices (hard disk drive, etc.) to the power saving mode (stops the control circuit, etc.). Proposed. As a result, the information processing apparatus as a whole can be in a state where the power consumption is lower. By the way, CP
U and power saving mode, ROM and RA
When trying to save more power by shifting peripheral devices such as M to power saving mode such as circuit stop at the same time, CPU
ROM and RA until the transition to the power saving mode
We need to ensure that we can access M. Otherwise, the CPU is in ROM, R even while shifting to the power saving mode.
This is because the peripheral device such as the AM is accessed, so that the power saving mode cannot be normally performed. Further, even between peripheral devices, there is a case where it is necessary to consider the order of transition to the power saving mode, for example, when there is a peripheral device that accesses a RAM that is another peripheral device when shifting to the power saving mode. . The above is the same when returning from the power saving mode to the original state. For example, ROM or RAM
If the CPU recovers and resumes the processing before the access is guaranteed, there arises a problem that the normal operation cannot be guaranteed. In particular, in recent information processing devices, PLLs (Phase Locked
Loop) circuit is built in and many operate in synchronization with the clock of the same phase, and this problem becomes remarkable. That is, P
The LL requires a long time of ms unit from the start of the clock input until the output is stable. Therefore, when the peripheral device operating by the clock output of the PLL is accessed before the stable clock output, Normal operation cannot be guaranteed.

【0003】[0003]

【発明が解決しようとする課題】しかしながら,前記公
報に示される技術には,CPU及び周辺装置相互間にお
ける省電力モードへの移行及びもとの状態への復帰の順
序を制御する手段を有しておらず,前記ROMやRAM
等の周辺装置も省電力モードへ移行させる場合や,前記
PLLを用いて動作するものである場合には,省電力モ
ードへの移行及びもとの状態への復帰を正常に行えない
という問題点があった。また,前記公報に示される技術
では,CPUがアイドル状態であること示す信号を周辺
装置側へ出力するために,CPUに既存のバス等のイン
ターフェースとは別途に出力線等を設ける必要があり,
システム構成の変更に柔軟に対応できるというCPUの
特徴が失われるという問題点もあった。従って,本発明
は上記事情に鑑みてなされたものであり,その目的とす
るところは,CPU及び周辺装置相互間における省電力
モードへの移行及びもとの状態への復帰の順序を制御で
きるとともに,システム構成の変更に柔軟に対応できる
情報処理装置を提供することにある。
However, the technique disclosed in the above publication has means for controlling the sequence of transition to the power saving mode and return to the original state between the CPU and peripheral devices. Not mentioned above, ROM or RAM
When peripheral devices such as the above are also shifted to the power saving mode or operate using the PLL, there is a problem that the shift to the power saving mode and the return to the original state cannot be normally performed. was there. Further, in the technique disclosed in the above publication, in order to output a signal indicating that the CPU is in the idle state to the peripheral device side, it is necessary to provide the CPU with an output line or the like separately from an interface such as an existing bus.
There is also a problem that the characteristic of the CPU that can flexibly deal with the change of the system configuration is lost. Therefore, the present invention has been made in view of the above circumstances, and it is an object of the present invention to control the sequence of transition to the power saving mode and return to the original state between the CPU and peripheral devices. The purpose is to provide an information processing device that can flexibly respond to changes in the system configuration.

【0004】[0004]

【課題を解決するための手段】上記目的を達成するため
に第1の発明は,所定の条件下で省電力モードに移行す
る機能を有するCPUと,1又は複数の周辺装置と,前
記CPUと所定のバスを介して接続され,前記CPUの
前記省電力モードへの移行に対応させて前記周辺装置を
前記省電力モードへ移行させるよう制御する周辺装置制
御手段と,を具備する情報処理装置において,前記周辺
装置制御手段が,前記バスを介して前記CPUから前記
省電力モードへ移行する旨を表す所定のアクセスがあっ
た後,所定の省電力モード移行時間の経過後に,対応す
る前記周辺装置を前記省電力モードへ移行させてなるこ
とを特徴とする情報処理装置である。これにより,前記
省電力モード移行時間をCPUが省電力モードへ移行す
るのに要する時間以上とすれば,CPUが省電力モード
へ移行する際にアクセスが必要となるROMやRAM等
の周辺装置についても,CPUからのアクセス(通知)
に応じて省電力モードへ移行させることができる。もち
ろん,前記CPUから前記アクセスを行わないようにす
れば,CPUに連動させて省電力モードへ移行させたく
ない周辺装置についても対応できる。また,CPUから
周辺装置になされるアクセス(通知)が,CPUに標準
的に設けられるバスを介して行われるので,特別な信号
線等を設ける必要がなく,システム構成の変更に柔軟に
対応できるというCPUの特徴を損なうこともない。ま
た,前記省電力モード移行時間を,周辺装置それぞれに
ついて適当に設定すれば,周辺装置相互間における省電
力モードへの移行順序についても制御できることとな
る。
In order to achieve the above object, a first invention is a CPU having a function of shifting to a power saving mode under a predetermined condition, one or a plurality of peripheral devices, and the CPU. An information processing apparatus comprising: a peripheral device control unit that is connected via a predetermined bus and that controls the peripheral device to shift to the power saving mode in response to the shift of the CPU to the power saving mode. , The peripheral device control means corresponds to the peripheral device after a predetermined access indicating the transition to the power saving mode from the CPU via the bus and a lapse of a predetermined power saving mode transition time. In the power saving mode. Accordingly, if the power saving mode shift time is set to be longer than the time required for the CPU to shift to the power save mode, the peripheral devices such as ROM and RAM that need to be accessed when the CPU shifts to the power save mode. Access from CPU (notification)
It is possible to shift to the power saving mode according to the above. Of course, if the access is not performed from the CPU, it is possible to deal with peripheral devices that do not want to shift to the power saving mode in conjunction with the CPU. Further, since the access (notification) from the CPU to the peripheral device is performed via the bus provided as standard in the CPU, it is not necessary to provide a special signal line or the like, and the system configuration can be flexibly changed. This does not impair the characteristics of the CPU. Further, if the power saving mode transition time is set appropriately for each peripheral device, the order of transition to the power saving mode between the peripheral devices can also be controlled.

【0005】また,前記周辺装置制御手段が,前記CP
Uから前記アクセスがなされる省電力モード移行制御レ
ジスタを具備するものや,前記周辺装置それぞれについ
ての前記省電力モード移行時間を前記バスを介して設定
できるよう設けられた省電力モード移行タイマ設定レジ
スタを具備するものも考えられる。これにより,システ
ム構成の変更等により,前記省電力モード移行時間を変
更する必要が生じた場合でも,CPU等から前記省電力
移行タイマ設定レジスタの時間情報を変更するだけで容
易に対応可能となる。
Further, the peripheral device control means is characterized by the CP
A power-saving mode shift timer setting register provided with a power-saving mode shift control register that is accessed from U, and a power-saving mode shift timer setting register that can set the power-saving mode shift time for each of the peripheral devices via the bus. It is also possible to have those equipped with. As a result, even if it is necessary to change the power saving mode transition time due to a change in system configuration or the like, it can be easily dealt with by simply changing the time information of the power saving transition timer setting register from the CPU or the like. .

【0006】また,第2の発明は,所定の省電力モード
に移行した状態である場合に,所定の復帰割込み信号の
入力に基づいて前記省電力モードから復帰する機能を有
するCPUと,1又は複数の周辺装置と,前記CPUと
所定のバスを介して接続され,前記CPUの前記省電力
モードからの復帰に対応させて前記周辺装置を前記省電
力モードから復帰させるよう制御する周辺装置制御手段
と,を具備する情報処理装置において,前記復帰割込み
信号を所定の復帰割込み信号遅延時間だけ遅延させた遅
延割込み信号を出力する割込み信号遅延手段を具備し,
前記CPUが,前記遅延割込み信号の入力に応じて前記
省電力モードから復帰するよう構成されてなることを特
徴とする情報処理装置である。これにより,前記復帰割
込み信号遅延時間を,CPUが省電力モードから復帰す
る際にアクセスするROMやRAM等の周辺装置の復帰
に要する時間以上とすれば,CPUを正常に復帰させる
ことができる。また,前記復帰割込み信号遅延時間を前
記バスを介して設定できるよう設けられた割込み遅延タ
イマ設定レジスタを具備するものも考えられる。
A second aspect of the present invention is a CPU having a function of returning from the power saving mode based on the input of a predetermined return interrupt signal when the power saving mode is entered, and 1 or Peripheral device control means connected to a plurality of peripheral devices and the CPU via a predetermined bus, and controlling the peripheral devices to return from the power saving mode in response to the return of the CPU from the power saving mode. And an interrupt signal delay means for outputting a delayed interrupt signal obtained by delaying the restore interrupt signal by a predetermined restore interrupt signal delay time,
The information processing apparatus is characterized in that the CPU is configured to return from the power saving mode in response to the input of the delayed interrupt signal. Accordingly, if the return interrupt signal delay time is equal to or longer than the time required to restore peripheral devices such as ROM and RAM accessed when the CPU returns from the power saving mode, the CPU can be restored normally. It is also conceivable to include an interrupt delay timer setting register provided so that the return interrupt signal delay time can be set via the bus.

【0007】また,第3の発明は,CPU及び1又は複
数の周辺装置と,前記CPUと所定のバスを介して接続
され,前記周辺装置が所定の省電力モードに移行した状
態である場合に,所定の復帰割込み信号の入力に基づい
て前記周辺装置を前記省電力モードから復帰させるよう
制御する周辺装置制御手段と,を具備する情報処理装置
において,前記周辺装置制御手段が,前記復帰割込み信
号の入力後,所定の省電力モード復帰時間の経過後に,
対応する前記周辺装置を前記省電力モードから復帰させ
るよう構成されてなることを特徴とする情報処理装置で
ある。これにより,前記省電力モード復帰時間を,周辺
装置それぞれについて適当に設定すれば,周辺装置相互
間における省電力モードからの復帰順序について制御で
きることとなる。
A third aspect of the present invention is a case where the CPU and one or more peripheral devices are connected to the CPU through a predetermined bus, and the peripheral devices are in a predetermined power saving mode. An information processing device comprising: peripheral device control means for controlling the peripheral device to recover from the power saving mode based on the input of a predetermined recovery interrupt signal, wherein the peripheral device control means includes the recovery interrupt signal. After inputting, and after the elapse of the predetermined power saving mode recovery time,
The information processing apparatus is configured to return the corresponding peripheral device from the power saving mode. As a result, if the power saving mode return time is set appropriately for each peripheral device, the order of returning from the power saving mode among the peripheral devices can be controlled.

【0008】また,前記周辺装置それぞれについての前
記省電力モード復帰時間を前記バスを介して設定できる
よう設けられた省電力モード復帰タイマ設定レジスタを
具備するものも考えられる。これにより,システム構成
の変更等により,周辺装置相互間における省電力モード
からの復帰順序等に変更が生じた場合でも,CPU等か
ら前記省電力復帰タイマ設定レジスタの時間情報を変更
するだけで容易に対応可能となる。
It is also conceivable to provide a power-saving mode return timer setting register provided so that the power-saving mode return time for each of the peripheral devices can be set via the bus. As a result, even if the order of recovery from the power saving mode between peripheral devices changes due to changes in the system configuration or the like, it is easy to change the time information in the power saving recovery timer setting register from the CPU or the like. Will be available.

【0009】また,前記周辺装置制御手段による前記省
電力モード復帰信号に応じた前記省電力モードからの復
帰を実行させない復帰割込みマスク命令を,前記バスを
介して設定できるよう設けられた復帰割込みマスクレジ
スタと,前記省電力モード復帰信号にかかわらず,前記
周辺装置制御手段によって対応する前記周辺装置を前記
省電力モードから強制的に復帰させる強制復帰命令を,
前記バスを介して設定できるよう設けられた省電力モー
ド強制復帰レジスタと,を前記周辺装置それぞれについ
て具備するものも考えられる。これにより,前記復帰割
込みマスク命令を設定することで,CPUと連動させて
省電力モードから復帰させたくない周辺装置にも対応で
き,前記強制復帰命令によって,任意のタイミングで周
辺装置を省電力モードから復帰させることができる。
A return interrupt mask instruction is provided so that a return interrupt mask instruction that does not cause a return from the power saving mode in response to the power saving mode return signal by the peripheral device control means can be set via the bus. A register and a forced return instruction for forcibly returning the corresponding peripheral device from the power saving mode by the peripheral device control means regardless of the power saving mode return signal,
It is also conceivable that each of the peripheral devices is provided with a power saving mode forcible return register provided so as to be set through the bus. Thus, by setting the restoration interrupt mask instruction, it is possible to deal with a peripheral device which does not want to be restored from the power saving mode in cooperation with the CPU, and the forced restoration instruction causes the peripheral device to be in the power saving mode at any timing. Can be recovered from.

【0010】また,前記周辺装置それぞれについて所定
の条件下で所定の内部割込み信号を発生させる内部割込
み信号発生手段と,前記内部割込み信号及び外部から入
力される外部割込み信号のいずれかが入力された際に前
記復帰割込み信号を発生させる復帰割込み信号生成手段
と,を具備するものも考えられる。これにより,省電力
モードからの復帰のトリガーを,外部からの割込み信号
だけでなく,周辺装置の条件によって発生させることが
可能となる。例えば,外部装置との通信インターフェー
スである周辺装置において,外部装置からの通信入力が
発生した場合に,前記内部割込み信号を発生させて省電
力モードから復帰させるといったことが可能となる。
Further, an internal interrupt signal generating means for generating a predetermined internal interrupt signal for each of the peripheral devices under a predetermined condition, and either the internal interrupt signal or an external interrupt signal inputted from the outside are inputted. A recovery interrupt signal generating means for generating the recovery interrupt signal at that time may be considered. As a result, the trigger for returning from the power saving mode can be generated not only by the interrupt signal from the outside but also by the condition of the peripheral device. For example, in a peripheral device that is a communication interface with an external device, when a communication input from the external device occurs, it is possible to generate the internal interrupt signal and return from the power saving mode.

【0011】また,前記復帰割込み信号生成手段に対
し,前記内部割込み信号及び前記外部割込み信号のそれ
ぞれについて,これを無視して前記復帰割込み信号を生
成させる内・外部割込みマスク命令を前記バスを介して
設定できるよう設けられた内・外部割込みマスクレジス
タを具備するものも考えられる。これにより,いずれの
周辺装置からの前記内部割込み信号に対応して省電力モ
ードから復帰させるかを選択できるので,より柔軟性が
高まる。また,前記第1〜第3の発明を組み合わせた情
報処理装置であってもよい。
An internal / external interrupt mask instruction for causing the return interrupt signal generation means to ignore the internal interrupt signal and the external interrupt signal and generate the return interrupt signal via the bus. It is also conceivable to have an internal / external interrupt mask register provided so as to be able to be set. As a result, it is possible to select which peripheral device is to be returned from the power saving mode in response to the internal interrupt signal, so that the flexibility is further increased. Further, it may be an information processing apparatus combining the first to third inventions.

【0012】[0012]

【発明の実施の形態】以下添付図面を参照しながら,本
発明の実施の形態について説明し,本発明の理解に供す
る。尚,以下の実施の形態は,本発明を具体化した一例
であって,本発明の技術的範囲を限定する性格のもので
はない。ここに,図1は本発明の実施の形態に係る情報
処理装置Xの構成を表すブロック図,図2は本発明の実
施の形態に係る情報処理装置Xを構成する周辺装置制御
回路の構成例を表すブロック図,図3は本発明の実施の
形態に係る情報処理装置Xを構成するインタラプト制御
回路の構成例を表すブロック図,図4は本発明の実施の
形態に係る情報処理装置Xを構成するクロック制御回路
16の構成例を表すブロック図,図5は本発明の実施の
形態に係る情報処理装置Xにおける省電力モードへの移
行手順を表すフローチャート,図6は本発明の実施の形
態に係る情報処理装置Xにおける省電力モードからの復
帰手順を表すフローチャートである。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the accompanying drawings to provide an understanding of the present invention. The following embodiments are examples of embodying the present invention and are not of the nature to limit the technical scope of the present invention. 1 is a block diagram showing the configuration of the information processing device X according to the embodiment of the present invention, and FIG. 2 is a configuration example of a peripheral device control circuit configuring the information processing device X according to the embodiment of the present invention. 3 is a block diagram showing an example of a configuration of an interrupt control circuit that constitutes the information processing apparatus X according to the embodiment of the present invention. FIG. 4 is a block diagram showing the information processing apparatus X according to the embodiment of the present invention. FIG. 5 is a block diagram showing an example of the configuration of the clock control circuit 16 constituting the system. FIG. 5 is a flowchart showing a procedure for shifting to the power saving mode in the information processing apparatus X according to the embodiment of the present invention. 6 is a flowchart showing a procedure for returning from the power saving mode in the information processing apparatus X according to the present invention.

【0013】まず,図1を用いて本発明の実施の形態に
係る情報処理装置Xの構成について説明する。情報処理
装置Xは,システムバス181で相互接続された,CP
U11,クロック制御回路16,インタラプト制御回路
14,及び複数の周辺装置制御回路131,132,…
と,該周辺装置制御回路それぞれと制御線1821,1
822,1823,…により接続された(即ち,前記シ
ステムバス181を介して前記CPU11と接続され
た)複数の周辺装置121,122,…と,高速発信器
151及び低速発信器152とから構成されている。前
記CPU11は,ROM,RAM,キーボード等の前記
周辺装置121,122,…から取得したプログラムや
データに従って各種演算処理を行い,演算結果を表示装
置やハードディスク等の前記周辺装置121,122,
…へ出力する。前記周辺装置121,122,…とのデ
ータ等の授受は前記システムバス181を介して行われ
る。また,CPU11は,キーボードからの入力待ち等
によって前記アイドル状態となると,自動的に省電力モ
ードへ移行して前記インタラプト待機状態となり,所定
のインタラプト信号(本実施の形態では,後述する遅延
インタラプト信号)の入力があると,もとの状態へ自動
的に復帰する機能を有する(前記公報に記載のCPU
等)。さらに,CPU11は,高速発信器151からの
高速クロック信号1711に基づいて,前記周辺装置1
21,122,…と同位相のクロックに同期して高速動
作させるための前記PLL111を内臓している。この
同期をとるために,後述する前記クロック制御回路16
にも同様にPLL161が組み込まれており,該PLL
161によって生成された主クロック信号1721に基
づいて前記周辺装置121,122,…が動作する。
First, the configuration of the information processing apparatus X according to the embodiment of the present invention will be described with reference to FIG. The information processing devices X are connected to each other by a system bus 181 and are connected to the CP.
U11, clock control circuit 16, interrupt control circuit 14, and a plurality of peripheral device control circuits 131, 132, ...
And the peripheral device control circuits and control lines 1821, 1
, Peripheral devices 121, 122, ... Connected by 822, 1823, .. (that is, connected to the CPU 11 via the system bus 181), and a high-speed oscillator 151 and a low-speed oscillator 152. ing. The CPU 11 performs various arithmetic processes according to programs and data acquired from the peripheral devices 121, 122, ... Such as ROM, RAM, keyboard, etc., and outputs the arithmetic results to the peripheral devices 121, 122, such as display devices and hard disks.
Output to ... Data transmission / reception with the peripheral devices 121, 122, ... Is performed via the system bus 181. When the CPU 11 enters the idle state due to waiting for input from the keyboard or the like, the CPU 11 automatically shifts to the power saving mode and enters the interrupt standby state, and a predetermined interrupt signal (in the present embodiment, a delayed interrupt signal described later). ), It has a function of automatically returning to the original state (the CPU described in the above publication).
etc). Further, the CPU 11 is responsive to the high-speed clock signal 1711 from the high-speed oscillator 151 for the peripheral device 1
The PLL 111 for operating at high speed in synchronization with a clock having the same phase as 21, 22 ,. To achieve this synchronization, the clock control circuit 16 described later
Similarly, the PLL 161 is also incorporated in the PLL.
The peripheral devices 121, 122, ... Operate based on the main clock signal 1721 generated by 161.

【0014】次に,図2を用いて,前記周辺装置制御回
路131,132,…の構成について説明する。便宜
上,図2中の番号は,前記周辺装置制御回路のうちの1
つ(131)に対応させて番号付けしているが,他の周
辺装置制御回路132,133,…についても同様であ
る。前記周辺装置制御回路131は,制御線1821で
接続された前記周辺装置121を制御するものであり,
以下の構成要素を有する。即ち,前記システムバス18
1に接続された5つのレジスタ(一時記憶装置)である
省電力モード移行制御レジスタ13141,省電力モー
ド移行タイマ設定レジスタ13142,省電力モード復
帰タイマ設定レジスタ13143,省電力モード強制復
帰レジスタ13144,インタラプトマスクレジスタ1
3151と,同じく前記システムバス181に接続され
た周辺装置主制御回路1311と,省電力モード移行タ
イマ回路13145,省電力モード復帰タイマ回路13
146,インタラプトマスク回路13152,主クロッ
クマスク回路1313,及び省電力モード制御回路13
12とから構成されている。前記5つのレジスタ131
41〜13144,13151は,前記CPU11によ
り前記システムバス181を介してアクセスされ,各種
情報の設定が行われる。前記周辺装置主制御回路131
1は,前記システムバス181経由の前記CPU11か
らの制御命令,及び前記省電力モード制御回路1312
からの制御信号1318に従って前記周辺装置121を
制御する。各構成要素のその他の機能については後述す
る。
Next, the configuration of the peripheral device control circuits 131, 132, ... Will be described with reference to FIG. For convenience, the number in FIG. 2 is one of the peripheral device control circuits.
(131), the same applies to the other peripheral device control circuits 132, 133, .... The peripheral device control circuit 131 controls the peripheral device 121 connected by a control line 1821,
It has the following components. That is, the system bus 18
Power saving mode shift control register 13141, which is five registers (temporary storage devices) connected to 1, power saving mode shift timer setting register 13142, power saving mode reset timer setting register 13143, power saving mode forced restore register 13144, interrupt Mask register 1
3151, a peripheral device main control circuit 1311, which is also connected to the system bus 181, a power saving mode transition timer circuit 13145, and a power saving mode return timer circuit 13
146, interrupt mask circuit 13152, main clock mask circuit 1313, and power saving mode control circuit 13
It is composed of 12 and. The five registers 131
41 to 13144 and 13151 are accessed by the CPU 11 via the system bus 181 and various information is set. The peripheral device main control circuit 131
1 is a control command from the CPU 11 via the system bus 181 and the power saving mode control circuit 1312.
The peripheral device 121 is controlled according to a control signal 1318 from Other functions of each component will be described later.

【0015】次に,図3を用いて,前記インタラプト制
御回路14の構成について説明する。前記インタラプト
制御回路は,前記CPU11,前記クロック制御回路1
6,及び前記周辺装置制御回路131,132,…に対
し,所定の省電力モードに移行している状態からもとの
状態へ復帰するタイミングを通知するインタラプト信号
(後述する復帰インタラプト信号193及び遅延インタ
ラプト信号194)を生成するものであり,以下の構成
要素を有している。即ち,前記システムバス181に接
続された2つのレジスタであるインタラプトマスクレジ
スタ142及びインタラプト遅延タイマ設定レジスタ1
44と,本情報処理装置Xの外部から入力される外部イ
ンタラプト信号191を入力する外部インタラプトマス
ク回路1431と,前記周辺装置制御回路131,13
2,…が出力する内部インタラプト信号1921,19
22,…それぞれを入力する内部インタラプトマスク回
路1432,1433,…と,復帰インタラプト生成回
路141及びインタラプト遅延タイマ回路145とから
構成されている。前記外部及び内部インタラプトマスク
回路1431,1432,…は,前記インタラプトマス
クレジスタ142に設定される情報を読み出し可能に接
続されている。また,前記2つのレジスタ142,14
4は,前記CPU11により前記システムバス181を
介してアクセスされ,各種情報の設定が行われる。各構
成要素のその他の機能については後述する。
Next, the configuration of the interrupt control circuit 14 will be described with reference to FIG. The interrupt control circuit includes the CPU 11, the clock control circuit 1
6, and the peripheral device control circuits 131, 132, ..., An interrupt signal (return interrupt signal 193 and delay described later) for notifying the timing of returning from the state in which a predetermined power saving mode is entered to the original state. It generates an interrupt signal 194) and has the following components. That is, the interrupt mask register 142 and the interrupt delay timer setting register 1 which are two registers connected to the system bus 181.
44, an external interrupt mask circuit 1431 for inputting an external interrupt signal 191 input from the outside of the information processing apparatus X, and the peripheral device control circuits 131, 13
Internal interrupt signals 1921, 19 output by 2, ...
22. Each of the internal interrupt mask circuits 1432, 1433, ... Is input, and the reset interrupt generation circuit 141 and the interrupt delay timer circuit 145 are provided. The external and internal interrupt mask circuits 1431, 1432, ... Are connected so that the information set in the interrupt mask register 142 can be read. In addition, the two registers 142 and 14
4 is accessed by the CPU 11 via the system bus 181 and various information is set. Other functions of each component will be described later.

【0016】次に,図4を用いて,前記クロック制御回
路16の構成について説明する。前記クロック制御回路
16は,高速発信器151及び前記低速発信器152の
出力である高速クロック信号1711及び低速クロック
信号1712を入力し,前記CPU11で使用されるク
ロックと同位相となる主クロック信号1721と,前記
周辺装置制御回路131,132,…等が省電力モード
状態であるときに使用され,前記CPU11との同期を
要しない副クロック信号1722とを生成し,前記周辺
装置121,122,…側に供給するものであり,以下
の構成要素を有している。即ち,前記システムバス18
1に接続された3つのレジスタである主クロック停止制
御レジスタ1631,主クロック停止タイマ設定レジス
タ1632,及び主クロック復帰タイマ設定レジスタ1
641と,主クロック停止タイマ回路1633,主クロ
ック復帰タイマ回路1642,高速クロック制御回路1
621,前記PLL161,主クロック制御回路162
2,及び副クロック選択回路165とから構成されてい
る。前記副クロック選択回路165は,前記高速クロッ
ク信号1711及び前記低速クロック信号1712のう
ちのいずれを前記副クロック信号1722として出力す
るかをスイッチ等で切り換える回路である。該回路16
5は,前記副クロック信号1722としていずれを選択
するかが決まっており,特に切り換えの必要がない場合
には不要である。前記3つのレジスタ1631,163
2,1641は,前記CPU11により前記システムバ
ス181を介してアクセスされ,各種情報の設定が行わ
れる。各構成要素のその他の機能については後述する。
Next, the configuration of the clock control circuit 16 will be described with reference to FIG. The clock control circuit 16 inputs the high-speed clock signal 1711 and the low-speed clock signal 1712, which are the outputs of the high-speed oscillator 151 and the low-speed oscillator 152, and inputs the main clock signal 1721 having the same phase as the clock used by the CPU 11. , And the like, which are used when the peripheral device control circuits 131, 132, ... Are in the power saving mode state and generate a sub clock signal 1722 that does not require synchronization with the CPU 11, and the peripheral devices 121, 122 ,. It has the following components. That is, the system bus 18
Main clock stop control register 1631, main clock stop timer setting register 1632, and main clock recovery timer setting register 1 which are three registers connected to 1.
641, main clock stop timer circuit 1633, main clock recovery timer circuit 1642, high-speed clock control circuit 1
621, the PLL 161, main clock control circuit 162
2, and a sub clock selection circuit 165. The sub clock selection circuit 165 is a circuit that switches which of the high speed clock signal 1711 and the low speed clock signal 1712 is output as the sub clock signal 1722 with a switch or the like. The circuit 16
No. 5 is not necessary when it is not necessary to switch the sub clock signal 1722, which is to be selected. The three registers 1631 and 163
2, 1641 are accessed by the CPU 11 via the system bus 181 and various information is set. Other functions of each component will be described later.

【0017】次に,図5を用いて,前記CPU11が前
記アイドル状態となったときにおける,前記CPU11
及びその他の装置が前記省電力モードへ移行する動作手
順について説明する。以下,S101,S102,,
は,動作手順(ステップ)の番号を表す。まず,CPU
11においては,前記アイドル状態となると,自己の前
記省電力モードへの移行と連動させて,同じく前記省電
力モードへ移行させる前記周辺装置121,122,…
について,これに接続された前記各周辺装置制御回路1
31,132,…の前記省電力モード移行制御レジスタ
13141に対し,前記システムバス181を介してア
クセスが行われ,前記省電力モードへ移行する旨が通知
される(S101)。これにより,後述する前記周辺装
置制御回路131,132,…の前記省電力モードへの
移行動作が開始される。いずれの前記周辺装置121,
122,…を前記省電力モードへ移行させるかについて
の情報は,前記周辺装置121,122,…の1つであ
る不揮発性RAM等の記憶手段に予め登録されており,
これが前記CPU11によって読み出される。(以下,
このような不揮発性RAM等の記憶手段に予め登録され
た情報のことを,簡便のため,CPU11に予め登録さ
れた情報ということとする。)
Next, referring to FIG. 5, when the CPU 11 is in the idle state, the CPU 11
And the operation procedure of the other devices shifting to the power saving mode will be described. Hereinafter, S101, S102,
Represents the operation procedure (step) number. First, the CPU
In No. 11, in the idle state, the peripheral devices 121, 122, ... Which also shift to the power saving mode in association with the shift to the power saving mode of their own.
The peripheral device control circuit 1 connected to the
The power saving mode shift control registers 13141 of 31, 132, ... Are accessed via the system bus 181 and a notification of shifting to the power saving mode is notified (S101). As a result, the operation of shifting the peripheral device control circuits 131, 132, ..., Which will be described later, to the power saving mode is started. Which of the peripheral devices 121,
Information about whether or not to shift the 122, ... To the power saving mode is registered in advance in a storage means such as a non-volatile RAM which is one of the peripheral devices 121, 122 ,.
This is read by the CPU 11. (Less than,
The information registered in advance in the storage means such as the nonvolatile RAM is referred to as the information registered in the CPU 11 for the sake of simplicity. )

【0018】次に,前記各周辺装置制御回路131,1
32,…に対する前記主クロック信号1721の供給停
止が不可であるか否かが,前記CPU11に予め登録さ
れた判別情報(「停止不可」/「停止可」)に基づいて
判別される(S102)。前記各周辺装置121,12
2,…には,前記省電力モードへ移行した状態において
も,前記主クロック信号1721が必要なもの(外部と
の通信インターフェース等)と不要なもの(ハードディ
スク等)とが存在し得るため,前記判別情報は,前記周
辺装置121,122,…のうち1つでも,前記省電力
モード時に前記主クロック信号1721が必要であるも
のが存在する場合は「停止不可」,そうでない場合は
「停止可」として記憶される。S102において,前記
主クロック信号1721は「停止可」であると判別され
ると,前記CPU11から前記クロック制御回路16の
前記主クロック停止制御レジスタ1631に対するアク
セスが行われ,前記主クロック信号1721を停止する
よう通知(S103)された後,S104へ移行する。
一方,S102において,前記主クロック信号1721
は「停止不可」であると判別されるとそのままS104
へ移行する。S104では,前記CPU11自身が前記
省電力モード(インタラプト待機状態)へ移行した後,
前記CPU11における前記省電力モードへの移行動作
が終了する。
Next, each peripheral device control circuit 131, 1
Whether or not the supply of the main clock signal 1721 to 32, ... Can not be stopped is determined based on the determination information (“stop disabled” / “stop enabled”) registered in advance in the CPU 11 (S102). . Each of the peripheral devices 121 and 12
, 2, there may be a main clock signal 1721 required (such as an external communication interface) and an unnecessary one (such as a hard disk) even when the power saving mode is entered. The determination information is “unstoppable” if there is any one of the peripheral devices 121, 122, ... That requires the main clock signal 1721 in the power saving mode. Is stored as ". When it is determined in S102 that the main clock signal 1721 is "stoppable", the CPU 11 accesses the main clock stop control register 1631 of the clock control circuit 16 to stop the main clock signal 1721. After being notified to do so (S103), the process proceeds to S104.
Meanwhile, in S102, the main clock signal 1721
Is determined to be "unstoppable", S104 is directly
Move to. In S104, after the CPU 11 itself shifts to the power saving mode (interrupt standby state),
The operation of shifting to the power saving mode in the CPU 11 is completed.

【0019】ところで,前記CPU11が前記アイドル
状態となったことを前記周辺装置121,122,…等
に通知(S101,S03)できるのは前記CPU11
のみであり,該通知を標準の入出力手段である前記シス
テムバス181を介して行うためには,前記CPU11
が動作中(前記省電力モードへの移行前)でなければな
らない。にもかかわらず,前記省電力モードへの移行の
際(S104),前記CPU11は,所定のプログラム
の読出し等を行うため,ROMやRAM等の前記周辺装
置121,122,…はそのアクセスを保証する必要が
あり,前記周辺装置121,122,…の前記省電力モ
ードへの移行は,前記CPU11が前記省電力モードへ
完全に移行した後に行わなければならないという問題が
生じる。本発明の特徴は,これを解決するため,前記周
辺装置121,122,…それぞれについてタイマー回
路を設け,前記CPU11から前記省電力モードへの移
行通知(レジスタへのアクセス)を受けた後,前記CP
U11が前記省電力モードへ移行するのに要する時間の
後に前記周辺装置121,122,…等を前記省電力モ
ードへ移行させるようにした点にある。以下,図5を用
いて,前記特徴を有する前記周辺装置制御回路131,
132,…,及び前記クロック制御回路16における前
記省電力モードへの移行動作について説明する。
By the way, the fact that the CPU 11 is in the idle state can be notified (S101, S03) to the peripheral devices 121, 122, ...
In order to perform the notification via the system bus 181 which is a standard input / output means, the CPU 11
Must be in operation (before shifting to the power saving mode). Nevertheless, at the time of shifting to the power saving mode (S104), the CPU 11 reads out a predetermined program and the like, so that the peripheral devices 121, 122, ... Such as ROM and RAM guarantee the access. , And the transition to the power saving mode of the peripheral devices 121, 122, ... Must be performed after the CPU 11 completely transitions to the power saving mode. In order to solve this, a feature of the present invention is to provide a timer circuit for each of the peripheral devices 121, 122, ..., And after receiving a notification (access to a register) from the CPU 11 to the power saving mode, CP
The point is that the peripheral devices 121, 122, ... Are shifted to the power saving mode after the time required for the U11 to shift to the power saving mode. Hereinafter, with reference to FIG. 5, the peripheral device control circuit 131 having the above characteristics,
, 132, and the operation of shifting to the power saving mode in the clock control circuit 16 will be described.

【0020】前記周辺装置制御回路131,132,…
(図2)においては,前記省電力モード移行タイマ回路
13145により,前記省電力モード移行制御レジスタ
13141の内容の確認(S111)が行われつつ,前
記CPU11からのアクセス(通知)があるまで待機状
態となっている(S112→S111)。そして,前記
CPU11からのアクセスが検知されると(S112の
Yes側),前記省電力モード移行タイマ回路1314
5により,前記省電力モード移行タイマ設定レジスタ1
3142から時間情報が読み出される(S113)。該
時間情報は,前記CPU11からのアクセスがあってか
ら,当該周辺装置制御回路131,132,…に接続さ
れた前記周辺装置121,122,…を前記省電力モー
ドへ移行させるまでの待ち時間(以下,省電力モード移
行時間という)であり,前記CPU11に予め登録され
た情報が,当該情報処理装置Xの起動時等に,前記CP
U11から前記システムバス181を介して予め設定さ
れるものである。
The peripheral device control circuits 131, 132, ...
In FIG. 2, while the power saving mode shift timer circuit 13145 confirms the contents of the power saving mode shift control register 13141 (S111), the CPU 11 waits until access (notification) from the CPU 11. (S112 → S111). When the access from the CPU 11 is detected (Yes in S112), the power saving mode transition timer circuit 1314
5, the power saving mode transition timer setting register 1
Time information is read from 3142 (S113). The time information is the waiting time after the access from the CPU 11 until the peripheral devices 121, 122, ... Connected to the peripheral device control circuits 131, 132 ,. (Hereinafter, referred to as power saving mode transition time), and information registered in advance in the CPU 11 is stored in the CP when the information processing apparatus X is started.
It is preset from U11 via the system bus 181.

【0021】前記省電力モード移行時間は,前記CPU
11が前記省電力モードへ移行するのに要する時間以上
とし,かつ他の周辺装置121,122,…との関係も
考慮して設定される。前記周辺装置121,122,…
の中には,例えば,PCIバスコントローラ等のよう
に,前記省電力モードへ移行する際に,前記周辺装置1
21,122,…の1つである,ROMやRAM等にア
クセスするものがあり,この場合,アクセスされる側で
ある前記ROMやRAM等については,アクセスする側
の前記周辺装置121,122,…よりも長い前記省電
力モード移行時間が設定される。
The power saving mode transition time depends on the CPU
11 is set to be equal to or longer than the time required to shift to the power saving mode, and the relationship with other peripheral devices 121, 122, ... Is also taken into consideration. The peripheral devices 121, 122, ...
In some cases, such as a PCI bus controller, the peripheral device 1 is used when shifting to the power saving mode.
, 122, ..., which is one of the peripheral devices 121, 122, 122, etc. on the accessing side. The power saving mode transition time longer than ... Is set.

【0022】次に,前記省電力モード移行タイマ回路1
3145が計時を開始し,前記省電力モード移行時間が
経過した時点で,前記省電力モード制御回路1312に
省電力モード移行信号13165が出力される(S11
4)。次に,前記省電力モード移行信号13165を入
力した前記省電力モード制御回路1312により,前記
主クロックマスク回路1313及び前記周辺装置主制御
回路1311に対し,前記周辺装置121,122,…
を休止させる旨を表すモード制御信号1318が出力さ
れる(S115)。さらに,前記モード制御信号131
8を入力した前記主クロックマスク回路1313及び前
記周辺装置主制御回路1311により,接続された前記
周辺装置121,122,…が前記省電力モードへ移行
するよう制御された後(S116),前記周辺装置制御
回路131,132,…における前記省電力モードへの
移行動作が終了する。ここで,前記主クロックマスク回
路1313及び前記周辺装置主制御回路1311は,接
続される前記周辺装置121に応じて個別に構成される
ものである。例えば,対応する前記周辺装置121が,
前記省電力モードにおいて前記主クロック信号1721
を不要とするものである場合,前記主クロックマスク回
路1313は,入力した前記モード制御信号1318
が,前記周辺装置121を休止させる旨を表す信号であ
るときは,前記周辺装置121への前記主クロック信号
1721の供給を遮断するよう構成される。
Next, the power saving mode transition timer circuit 1
When the 3145 starts clocking and the power saving mode transition time has elapsed, the power saving mode transition signal 13165 is output to the power saving mode control circuit 1312 (S11).
4). Next, the power saving mode control circuit 1312, to which the power saving mode shift signal 13165 is input, causes the peripheral devices 121, 122, ... To the main clock mask circuit 1313 and the peripheral device main control circuit 1311.
A mode control signal 1318 indicating that the operation is stopped is output (S115). Further, the mode control signal 131
After the connected peripheral devices 121, 122, ... Are controlled by the main clock mask circuit 1313 and the peripheral device main control circuit 1311 that input 8 to shift to the power saving mode (S116), The transition operation to the power saving mode in the device control circuits 131, 132, ... Is completed. Here, the main clock mask circuit 1313 and the peripheral device main control circuit 1311 are individually configured according to the connected peripheral device 121. For example, the corresponding peripheral device 121 is
In the power saving mode, the main clock signal 1721
Is unnecessary, the main clock mask circuit 1313 outputs the input mode control signal 1318.
Is a signal indicating that the peripheral device 121 is suspended, the supply of the main clock signal 1721 to the peripheral device 121 is cut off.

【0023】以上示したように,前記周辺装置121,
122,…が,前記CPU11からの通知を受けてから
(S111),それぞれに設定された時間の経過後に前
記省電力モードへ移行するよう制御されるので,設定時
間の大小によって前記CPU11及び他の前記周辺装置
121,122,…相互間において,前記省電力モード
への移行順序を制御でき,確実に前記省電力モードへ移
行させることができる。また,前記CPU11から前記
周辺装置121,122,…側への通知が,標準的に設
けられる前記システムバス181を介して行われるた
め,特別な出力線等を設ける必要がなく,前記CPU1
1の特徴である柔軟な拡張性を損なうこともない。さら
に,前記省電力モード移行時間が前記システムバス18
1を介して設定可能であるので,前記周辺装置121,
122,…の構成が変わった場合でも,例えば不揮発性
RAM等に記憶された時間の変更等で容易に対応可能で
あり,より柔軟性の高い情報処理装置とすることができ
る。
As shown above, the peripheral devices 121,
.. are controlled so as to shift to the power saving mode after the elapse of the time set in each of them after receiving the notification from the CPU 11 (S111), the CPU 11 and other CPUs are controlled depending on the size of the set time. It is possible to control the order of transition to the power saving mode among the peripheral devices 121, 122, ... And to reliably shift to the power saving mode. Further, since the notification from the CPU 11 to the peripheral devices 121, 122, ... Is sent via the system bus 181 which is provided as a standard, it is not necessary to provide a special output line or the like, and the CPU 1
The flexible expandability, which is the characteristic of No. 1, is not impaired. In addition, the transition time to the power saving mode is the system bus 18
Since it can be set via the peripheral device 1, the peripheral device 121,
Even if the configuration of 122, ... Is changed, it can be easily dealt with by changing the time stored in the non-volatile RAM or the like, and the information processing apparatus can be made more flexible.

【0024】一方,前記クロック制御回路16(図4)
においては,前記主クロック停止タイマ回路1633に
より,前記主クロック停止制御レジスタ1631の内容
の確認(S121)が行われつつ,前記CPU11から
のアクセスがあるまで待機状態となっている(S122
→S121)。そして,前記CPU11からのアクセス
が検知されると(S122のYes側),前記主クロッ
ク停止タイマ回路1633により,前記主クロック停止
タイマ設定レジスタ1632から時間情報が読み出され
る(S123)。該時間情報は,前記CPU11からの
アクセスがあってから,前記主クロック信号1721の
供給を停止させるまで(即ち,当該クロック制御回路1
6を前記省電力モードへ移行させるまで)の待ち時間
(以下,主クロック停止モード移行時間という)であ
り,前記CPU11に予め登録された情報が,当該情報
処理装置Xの起動時等に,前記CPU11から前記シス
テムバス181を介して予め設定されるものである。前
記主クロック停止モード移行時間は,前述した前記周辺
装置制御回路131,132,…(図2)における前記
省電力モード移行時間のうち,最長の時間以上の時間に
設定される。
On the other hand, the clock control circuit 16 (FIG. 4)
In the above, while the main clock stop timer circuit 1633 confirms the contents of the main clock stop control register 1631 (S121), the main clock stop timer circuit 1633 waits until an access from the CPU 11 (S122).
→ S121). When the access from the CPU 11 is detected (Yes in S122), the main clock stop timer circuit 1633 reads time information from the main clock stop timer setting register 1632 (S123). The time information is from the time of access from the CPU 11 to the time of stopping the supply of the main clock signal 1721 (that is, the clock control circuit 1).
6) to the power saving mode) (hereinafter referred to as main clock stop mode transition time), and the information registered in advance in the CPU 11 is used when the information processing device X is started. It is preset from the CPU 11 via the system bus 181. The main clock stop mode transition time is set to a time longer than the longest time among the power saving mode transition times in the peripheral device control circuits 131, 132, ... (FIG. 2) described above.

【0025】次に,前記主クロック停止タイマ回路16
33が計時を開始し,前記主クロック停止モード移行時
間が経過した時点で,前記高速クロック制御回路162
1及び前記主クロック制御回路1622に主クロック停
止信号1673が出力される(S124)。さらに,前
記主クロック停止信号1673を入力した前記高速クロ
ック制御回路1621及び前記主クロック制御回路16
22により,前記PLL161への前記高速クロック1
711の供給,及び前記主クロック1721の出力が停
止された後(S125),前記クロック制御回路16に
おける前記省電力モードへの移行動作が終了する。この
ように,前記CPU11からの通知を受けてから(S1
21),所定時間の経過後に前記主クロック1721の
出力が停止されるので,前記周辺装置121,122,
…が前記省電力モードへ移行している最中に前記主クロ
ック1721が停止されることがなく,確実に前記省電
力モードへ移行できる。
Next, the main clock stop timer circuit 16
33 starts clocking, and when the main clock stop mode transition time elapses, the high-speed clock control circuit 162
1 and the main clock stop signal 1673 is output to the main clock control circuit 1622 (S124). Further, the high-speed clock control circuit 1621 and the main clock control circuit 16 to which the main clock stop signal 1673 is input.
22, the high speed clock 1 to the PLL 161
After the supply of 711 and the output of the main clock 1721 are stopped (S125), the operation of shifting to the power saving mode in the clock control circuit 16 ends. In this way, after receiving the notification from the CPU 11 (S1
21), since the output of the main clock 1721 is stopped after the elapse of a predetermined time, the peripheral devices 121, 122,
The main clock 1721 is not stopped during the transition to the power saving mode, and the power saving mode can be surely shifted.

【0026】次に,図6を用いて,前記CPU11,前
記クロック制御回路16,及び前記周辺装置121,1
22,…が,前記省電力モードからもとの状態へ復帰す
る動作手順,及び復帰のトリガーとなる信号を生成する
前記インタラプト制御回路14の動作手順について説明
する。まず,前記インタラプト制御回路14(図3)に
おいては,前記外部インタラプトマスク回路1431及
び前記内部インタラプトマスク回路1432,143
3,…により,前記インタラプトマスクレジスタ142
の内容が確認され,所定のマスク命令(前記内・外部割
込みマスク命令に該当)が設定されている場合は,これ
が読み出される(S201)。前記マスク命令は,前記
CPU11により,当該情報処理装置Xの起動時等に前
記システムバス181を介して予め設定されるものであ
り,後述する前記外部及び内部インタラプト信号19
1,1921,1922,…のうち,その入力を無視す
るものについてのみ設定される。これにより,復帰のト
リガーとして用いるもの,用いないものを任意に設定で
きるのでより柔軟性の高いものとなる。さらに,前記外
部及び内部インタラプトマスク回路1431,143
2,…により,本情報処理装置Xの外部から入力される
所定の外部インタラプト信号191及び前記周辺装置制
御回路131,132,…における前記周辺装置主制御
回路1311によって生成される所定の前記内部インタ
ラプト信号1921,1922,…の入力が確認される
(S202)。これらインタラプト信号191,192
1,1922…は,前記省電力モードから復帰するトリ
ガーとなる信号である。前記内部インタラプト信号19
21の例としては,前記周辺装置121,122,…が
キーボードや外部装置との通信装置である場合に,キー
入力や前記外部装置からの通信入力があった際に発生す
る信号等がある。前記内部インタラプト信号1921,
1922,…を生成する前記周辺装置主制御回路131
1は,対応する前記周辺装置121,122,…の特性
に応じて個別に構成される。前記外部及び内部インタラ
プトマスク回路1431,1432,…は,前記マスク
命令が設定されている前記外部及び内部インタラプト信
号191,1921,1922…については,その入力
が無視され,前記マスク命令が設定されていない前記外
部及び内部インタラプト信号191,1921,192
2,…が入力された場合のみ,所定の信号1471,1
472,…が前記復帰インタラプト生成回路141へ出
力されるよう構成されている。
Next, referring to FIG. 6, the CPU 11, the clock control circuit 16, and the peripheral devices 121, 1
22 ...., the operation procedure for returning from the power saving mode to the original state and the operation procedure of the interrupt control circuit 14 for generating a signal that triggers the return will be described. First, in the interrupt control circuit 14 (FIG. 3), the external interrupt mask circuit 1431 and the internal interrupt mask circuits 1432, 143.
3, ..., the interrupt mask register 142
Is confirmed, and if a predetermined mask instruction (corresponding to the internal / external interrupt mask instruction) is set, this is read (S201). The mask instruction is preset by the CPU 11 via the system bus 181 when the information processing apparatus X is activated, and the external and internal interrupt signals 19 to be described later.
Of 1,1921,1922, ..., Only those that ignore the input are set. As a result, it is possible to set what is used as a trigger for restoration and what is not used as a trigger, so that it is more flexible. Further, the external and internal interrupt mask circuits 1431 and 143.
2, a predetermined external interrupt signal 191 input from the outside of the information processing apparatus X and the predetermined internal interrupt generated by the peripheral device main control circuit 1311 in the peripheral device control circuits 131, 132 ,. Input of the signals 1921, 1922, ... Is confirmed (S202). These interrupt signals 191, 192
1, 1922 ... Are signals that serve as triggers for returning from the power saving mode. The internal interrupt signal 19
An example of the reference numeral 21 is a signal generated when there is a key input or a communication input from the external device when the peripheral devices 121, 122, ... Are keyboards or communication devices with an external device. The internal interrupt signal 1921,
The peripheral device main control circuit 131 for generating 1922, ...
1 is individually configured according to the characteristics of the corresponding peripheral devices 121, 122, .... The external and internal interrupt mask circuits 1431, 1432, ... ignore the input of the external and internal interrupt signals 191, 1921, 1922, ... for which the mask command is set, and set the mask command. Not said external and internal interrupt signals 191, 1921, 192
Only when 2, ... Is input, the predetermined signals 1471, 1
.. are output to the return interrupt generation circuit 141.

【0027】次に,前記復帰インタラプト生成回路14
1により,前記マスク命令が設定されていない前記外部
及び内部インタラプト信号191,1921,192
2,…の入力の有無(即ち,前記外部及び内部インタラ
プトマスク回路1431,1432,1433,…から
の所定の信号1471,1472,…の有無)がチェッ
クされ(S203),いずれの入力もない場合には,S
201へ戻って前述した動作が繰り返される(S201
〜S203)。一方,前記復帰インタラプト生成回路1
41により,前記マスク命令が設定されていない前記外
部及び内部インタラプト信号191,1921,192
2,…のうちいずれか1つでも入力があった場合は(S
203のYes側),所定の復帰インタラプト信号19
3が生成され,該信号が前記クロック制御回路16,前
記周辺装置制御回路131,132,…,及び前記イン
タラプト遅延タイマ回路145に出力される(S20
4)。該復帰インタラプト信号193がトリガーとなっ
て,前記クロック制御回路16及び前記周辺装置制御回
路131,132,…が,前記省電力モードからの復帰
動作に入る。これらの復帰動作については後述する。次
に,前記復帰インタラプト信号193が入力された前記
インタラプト遅延タイマ回路145により,前記インタ
ラプト遅延タイマ設定レジスタ144から所定の遅延時
間(以下,復帰割込み信号遅延時間という)が読み出さ
れ,前記復帰インタラプト信号193を前記復帰割込み
信号遅延時間だけ遅延させた信号である遅延インタラプ
ト信号194(前記遅延割込み信号に該当)が生成され
て前記CPU11に出力された後(S206),前記イ
ンタラプト制御回路14の復帰動作が終了する。前記C
PU11は,前記遅延インタラプト信号194の入力に
より,前記省電力状態からもとの状態に復帰する。前記
復帰割込み信号遅延時間は,少なくとも前記CPU11
が前記省電力モードからもとの状態へ復帰する際にアク
セスする前記周辺装置121,122,…が,前記省電
力モードからの復帰に要する時間以上に設定される。こ
れにより,前記CPU11が,前記周辺装置121,1
22,…に対し,その復帰が完了する前にアクセスして
しまうことがなく,正常に復帰できることとなる。
Next, the restore interrupt generation circuit 14
1, the external and internal interrupt signals 191, 1921, 192 for which the mask instruction is not set.
2, the presence or absence of the inputs (that is, the presence or absence of predetermined signals 1471, 1472, ... From the external and internal interrupt mask circuits 1431, 1432, 1433, ...) Is checked (S203), and if there is no input. Is S
Returning to step 201, the above-described operation is repeated (S201).
~ S203). On the other hand, the restoration interrupt generation circuit 1
41, the external and internal interrupt signals 191, 1921, 192 for which the mask instruction is not set.
If any one of 2, ... is input (S
(Yes side of 203), predetermined return interrupt signal 19
3 is generated, and the signal is output to the clock control circuit 16, the peripheral device control circuits 131, 132, ... And the interrupt delay timer circuit 145 (S20).
4). The return interrupt signal 193 triggers the clock control circuit 16 and the peripheral device control circuits 131, 132, ... Into the return operation from the power saving mode. These return operations will be described later. Next, the interrupt delay timer circuit 145, to which the restore interrupt signal 193 is input, reads a predetermined delay time (hereinafter referred to as a restore interrupt signal delay time) from the interrupt delay timer setting register 144, and the restore interrupt signal. After the delayed interrupt signal 194 (corresponding to the delayed interrupt signal), which is a signal obtained by delaying the signal 193 by the return interrupt signal delay time, is generated and output to the CPU 11 (S206), the interrupt control circuit 14 recovers. The operation ends. The C
The PU 11 is restored from the power saving state to the original state by the input of the delayed interrupt signal 194. The return interrupt signal delay time is at least the CPU 11
The peripheral devices 121, 122, ... That are accessed when returning from the power saving mode to the original state are set to be longer than the time required for returning from the power saving mode. As a result, the CPU 11 causes the peripheral devices 121, 1
, 22 ... Are not accessed before the restoration is completed and can be restored normally.

【0028】一方,前記クロック制御回路16(図4)
においては,前記主クロック復帰タイマ回路1642及
び前記高速クロック制御回路1621が,前記インタラ
プト制御回路14(図3)で生成される前記復帰インタ
ラプト信号193の入力待ち状態であり(S221,S
222),前記復帰インタラプト信号193が入力され
ると(S222のYes側),前記高速クロック制御回
路1621により前記PLL161への前記高速クロッ
ク信号1711の出力が復帰される(S223)。これ
により,前記PLL161が停止状態から稼動状態へ復
帰する。次に,前記主クロック復帰タイマ回路1642
により,前記主クロック復帰タイマ設定レジスタ164
1から,時間情報が読み出され(S224),該待ち時
間経過後に前記主クロック制御回路1622に対して主
クロック復帰信号1672が出力される(S225)。
さらに,前記主クロック制御回路1622は,前記主ク
ロック復帰信号1672が入力されると,前記PLL1
61の出力信号である前記主クロック信号1721の出
力(前記インタラプト制御回路14及び前記周辺装置制
御回路131,132,…への供給)が復帰された後
(S226),前記クロック制御回路16の復帰動作が
終了する。前記主クロック復帰タイマ設定レジスタ16
41に設定される前記時間情報は,前記復帰インタラプ
ト信号193の入力があってから,前記主クロック信号
1721の供給を再開させるまで(即ち,当該クロック
制御回路16を前記省電力モードから復帰させるまで)
の待ち時間(以下,主クロック停止モード復帰時間とい
う)であり,前記CPU11に予め登録された情報が,
当該情報処理装置Xの起動時等に,前記CPU11から
前記システムバス181を介して予め設定されるもので
ある。該主クロック停止モード復帰時間は,前記PLL
161に前記主クロック1711の出力が再開されてか
ら,前記PLL161の出力である前記主クロック信号
1721が安定するまでに要する時間以上に設定され
る。これにより,前記主クロック信号が不安定な状態の
ままで前記周辺装置121,122,…に供給されるこ
とによって,前記周辺装置121,122,…が誤動作
してしまうことを防止できる。
On the other hand, the clock control circuit 16 (FIG. 4)
, The main clock recovery timer circuit 1642 and the high speed clock control circuit 1621 are waiting for the input of the recovery interrupt signal 193 generated by the interrupt control circuit 14 (FIG. 3) (S221, S).
222), when the restoration interrupt signal 193 is input (Yes side of S222), the high-speed clock control circuit 1621 restores the output of the high-speed clock signal 1711 to the PLL 161 (S223). As a result, the PLL 161 returns from the stopped state to the operating state. Next, the main clock recovery timer circuit 1642
Causes the main clock recovery timer setting register 164
The time information is read from 1 (S224), and after the waiting time has elapsed, the main clock recovery signal 1672 is output to the main clock control circuit 1622 (S225).
Further, when the main clock recovery signal 1672 is input, the main clock control circuit 1622 receives the PLL1.
The output of the main clock signal 1721 which is the output signal of 61 (supply to the interrupt control circuit 14 and the peripheral device control circuits 131, 132, ...) Is restored (S226), and then the clock control circuit 16 is restored. The operation ends. Main clock recovery timer setting register 16
The time information set to 41 is until the supply of the main clock signal 1721 is restarted after the recovery interrupt signal 193 is input (that is, until the clock control circuit 16 is recovered from the power saving mode). )
Is the waiting time (hereinafter referred to as the main clock stop mode return time) of, and the information registered in advance in the CPU 11 is
It is preset from the CPU 11 via the system bus 181 when the information processing device X is started. The main clock stop mode return time is the PLL
It is set to be longer than the time required for the main clock signal 1721, which is the output of the PLL 161, to stabilize after the output of the main clock 1711 is restarted at 161. Accordingly, it is possible to prevent the peripheral devices 121, 122, ... from malfunctioning due to the main clock signal being supplied to the peripheral devices 121, 122 ,.

【0029】一方,前記周辺装置制御回路131,13
2,…(図2)においては,前記省電力モード制御回路
1312により,前記省電力モード強制復帰レジスタ1
3144の内容が確認され(S211),後述する所定
の強制復帰命令が設定されていない場合には(S212
のNo側),前記インタラプトマスク回路13152に
より,前記インタラプトマスクレジスタ13151の内
容が確認され,所定の復帰インタラプトマスク命令(前
記復帰割込みマスク命令に該当)が設定されている場合
は,これが読み出される(S213)。
On the other hand, the peripheral device control circuits 131, 13
2, ... (FIG. 2), the power saving mode control circuit 1312 causes the power saving mode forced recovery register 1
If the contents of 3144 are confirmed (S211), and a predetermined forced recovery command described later is not set (S212).
No side), the contents of the interrupt mask register 13151 are confirmed by the interrupt mask circuit 13152, and if a predetermined return interrupt mask instruction (corresponding to the return interrupt mask instruction) is set, this is read ( S213).

【0030】さらに,前記インタラプトマスク回路13
152により,前記インタラプト制御回路14から出力
される前記復帰インタラプト信号193の入力が確認さ
れる(S214)。該復帰インタラプト信号193が,
前記周辺装置制御回路131,132,…が前記省電力
モードから復帰するトリガーとなる。前記インタラプト
マスク回路13152は,前記インタラプトマスクレジ
スタ13151に前記復帰インタラプトマスク命令が設
定されていない場合のみ,所定の信号13172が前記
省電力モード復帰タイマ回路13146へ出力されるよ
う構成されている。即ち,前記復帰インタラプトマスク
命令が設定されている場合には,前記復帰インタラプト
信号193の入力は無視される。
Further, the interrupt mask circuit 13
The input of the return interrupt signal 193 output from the interrupt control circuit 14 is confirmed by 152 (S214). The return interrupt signal 193 is
The peripheral device control circuits 131, 132, ... serve as triggers for returning from the power saving mode. The interrupt mask circuit 13152 is configured to output a predetermined signal 13172 to the power saving mode return timer circuit 13146 only when the restore interrupt mask instruction is not set in the interrupt mask register 13151. That is, when the restore interrupt mask instruction is set, the input of the restore interrupt signal 193 is ignored.

【0031】次に,前記省電力モード復帰タイマ回路1
3146により,前記復帰インタラプトマスク命令が設
定されていない場合の前記復帰インタラプト信号193
の入力の有無(即ち,前記インタラプトマスク回路13
152からの所定の信号13172の有無)がチェック
され(S215),該入力がない場合には,S211へ
戻って前述した動作が繰り返される(S211〜S21
5)。一方,前記復帰インタラプトマスク命令が設定さ
れていない状態で前記復帰インタラプト信号193の入
力があった場合には(S215のYes側),前記省電
力モード復帰タイマ回路13146により,前記省電力
モード復帰タイマ設定レジスタ13143から所定の時
間情報が読み出される(S216)。該時間情報は,前
記復帰インタラプト信号193の入力があってから,当
該周辺装置制御回路131,132,…に接続された前
記周辺装置121,122,…を前記省電力モードから
もとの状態へ復帰させるまでの待ち時間(以下,省電力
モード復帰時間という)であり,前記CPU11に予め
登録された情報が,当該情報処理装置Xの起動時等に,
前記システムバス181を介して予め設定されるもので
ある。該省電力モード復帰時間は,前記省電力モード移
行時間と同様に,前記クロック制御回路16及び他の周
辺装置制御回路131,132,…相互間において,正
しい復帰順序となるように設定される。
Next, the power saving mode recovery timer circuit 1
According to 3146, the restore interrupt signal 193 when the restore interrupt mask instruction is not set
Whether or not there is input (that is, the interrupt mask circuit 13
The presence or absence of the predetermined signal 13172 from 152 is checked (S215), and if there is no such input, the process returns to S211 and the above-described operation is repeated (S211 to S21).
5). On the other hand, when the restore interrupt signal 193 is input in a state where the restore interrupt mask instruction is not set (Yes in S215), the power save mode restore timer circuit 13146 causes the power save mode restore timer to be executed. Predetermined time information is read from the setting register 13143 (S216). The time information is changed from the power saving mode to the original state of the peripheral devices 121, 122, ... Connected to the peripheral device control circuits 131, 132, ... After the input of the return interrupt signal 193. It is a waiting time until restoration (hereinafter referred to as a power saving mode restoration time), and information registered in advance in the CPU 11 is, for example, when the information processing device X is started.
It is set in advance via the system bus 181. The power saving mode return time is set so that the clock control circuit 16 and the other peripheral device control circuits 131, 132, ... Are in the correct return order, like the power save mode transition time.

【0032】次に,前記省電力モード復帰タイマ回路1
3146が計時を開始し,前記省電力モード復帰時間が
経過した時点で,前記省電力モード制御回路1312に
対して省電力モード復帰信号13166が出力される
(S217)。次に,前記省電力モード復帰信号131
66を入力した前記省電力モード制御回路1312によ
り,前記主クロックマスク回路1313及び前記周辺装
置主制御回路1311に対し,前記周辺装置121,1
22,…を復帰させる旨を表すモード制御信号1318
が出力される(S218)。さらに,前記モード制御信
号1318を入力した前記主クロックマスク回路131
3及び前記周辺装置主制御回路1311により,接続さ
れた前記周辺装置121,122,…が前記省電力モー
ドからもとの状態へ復帰するよう制御された後(S21
9),前記周辺装置制御回路131,132,…におけ
る前記省電力モードからの復帰動作が終了する。
Next, the power saving mode recovery timer circuit 1
3146 starts clocking, and when the power saving mode return time has elapsed, the power saving mode return signal 13166 is output to the power saving mode control circuit 1312 (S217). Next, the power saving mode return signal 131
The power saving mode control circuit 1312, which has input 66, supplies the peripheral devices 121, 1 to the main clock mask circuit 1313 and the peripheral device main control circuit 1311.
Mode control signal 1318 indicating that 22, ...
Is output (S218). Further, the main clock mask circuit 131 to which the mode control signal 1318 is input
3 and the peripheral device main control circuit 1311, after the connected peripheral devices 121, 122, ... Are controlled to return from the power saving mode to the original state (S21).
9), the operation of returning from the power saving mode in the peripheral device control circuits 131, 132 ,.

【0033】一方,前記省電力モード強制復帰レジスタ
に前記強制復帰命令が設定されており,これが前記省電
力モード制御回路1312により読み出された場合は
(S212のYes側),他の条件にかかわらず,前記
省電力モード制御回路1312により,前記周辺装置1
21,122,…を復帰させる旨を表すモード制御信号
1318が出力され(S218),前記主クロックマス
ク回路1313及び前記周辺装置主制御回路1311に
より,接続された前記周辺装置121,122,…が前
記省電力モードからもとの状態へ復帰するよう制御され
る(S219)。前記復帰インタラプトマスク命令は,
前記CPU11により前記システムバス181を介し
て,前記周辺装置制御回路131,132,…それぞれ
について予め設定されるものであり,前記復帰インタラ
プト信号193の入力を無視するものについてのみ設定
される。前記復帰インタラプトマスク命令の設定と,前
記省電力モード強制復帰レジスタへのアクセスにより,
前記周辺装置121,122,…を,前記CPU11の
前記省電力モードからの復帰に連動させずに,前記CP
U11から任意のタイミングで復帰させることができ
る。例えば,ハードディスク等,必ずしも常時は使用し
ない周辺装置121,122,…については,前記復帰
インタラプトマスク命令を設定しておき,前記CPU1
1が復帰後,アクセスが必要となった時点で前記省電力
モード強制復帰レジスタ13144にアクセスして復帰
させる制御を行うことでより省電力化が図れることとな
る。
On the other hand, when the forced recovery instruction is set in the power saving mode forced recovery register and is read by the power saving mode control circuit 1312 (Yes in S212), other conditions are taken into consideration. First, the peripheral device 1 is controlled by the power saving mode control circuit 1312.
A mode control signal 1318 indicating that the peripheral devices 121, 122, ... Are restored (S218), and the connected peripheral devices 121, 122, ... Are connected by the main clock mask circuit 1313 and the peripheral device main control circuit 1311. It is controlled to return from the power saving mode to the original state (S219). The restore interrupt mask instruction is
The CPU 11 is preset for each of the peripheral device control circuits 131, 132, ... Via the system bus 181, and is set only for those ignoring the input of the return interrupt signal 193. By setting the restore interrupt mask instruction and accessing the power saving mode forced restore register,
The peripheral devices 121, 122, ... Are not linked with the CPU 11 returning from the power saving mode.
It is possible to return from U11 at any timing. For example, for the peripheral devices 121, 122, ... Which are not always used, such as a hard disk, the restoration interrupt mask instruction is set and the CPU 1
After the 1 is restored, when the access is required, the power saving mode forced restoration register 13144 is accessed and the control is performed to restore the power saving mode.

【0034】[0034]

【発明の効果】以上説明したように,本発明によれば,
CPU及び周辺装置相互間における省電力モードへの移
行及びもとの状態への復帰の順序を制御する手段を有し
ているので,省電力モードへの移行又はもとの状態への
復帰の際にアクセスされるROMやRAM等の周辺装置
を省電力モードへ移行させる場合や,PLLを用いて周
辺装置が動作する場合であっても,省電力モードへの移
行及びもとの状態への復帰を正常に行える。さらに,そ
の結果としてより省電力化が図れることとなる。また,
省電力モードへの移行及びもとの状態への復帰の順序
が,バスに接続されたレジスタに時間情報を再設定する
だけで変更できるので,システム構成の変更等に柔軟に
対応でき,より拡張性の高い情報処理装置となる。ま
た,CPUから周辺装置に対し,省電力モードへ移行す
る旨の通知が,標準的に設けられるバスを介して行われ
るので,特別に出力線等を設ける必要がなく,システム
構成の変更に柔軟に対応できるというCPUの特徴が失
われることがない。
As described above, according to the present invention,
Since there is a means for controlling the sequence of the transition to the power saving mode and the return to the original state between the CPU and the peripheral device, when the transition to the power saving mode or the return to the original state is performed. Even if a peripheral device such as a ROM or a RAM that is accessed by the CPU is shifted to the power saving mode, or the peripheral device is operated by using the PLL, the shift to the power saving mode and the return to the original state are performed. Can be done normally. Furthermore, as a result, more power saving can be achieved. Also,
The order of the transition to the power saving mode and the return to the original state can be changed simply by resetting the time information in the register connected to the bus, so it is possible to flexibly respond to changes in the system configuration and expand further. It becomes an information processing device with high property. Further, since the CPU notifies the peripheral device of the shift to the power saving mode through the bus provided as a standard, there is no need to provide an output line or the like, and the system configuration can be changed flexibly. There is no loss of the CPU's feature of being compatible with.

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

【図1】本発明の実施の形態に係る情報処理装置Xの構
成を表すブロック図。
FIG. 1 is a block diagram showing a configuration of an information processing device X according to an embodiment of the present invention.

【図2】本発明の実施の形態に係る情報処理装置Xを構
成する周辺装置制御回路の構成例を表すブロック図。
FIG. 2 is a block diagram showing a configuration example of a peripheral device control circuit which constitutes the information processing device X according to the embodiment of the present invention.

【図3】本発明の実施の形態に係る情報処理装置Xを構
成するインタラプト制御回路の構成例を表すブロック
図。
FIG. 3 is a block diagram showing a configuration example of an interrupt control circuit configuring the information processing device X according to the embodiment of the present invention.

【図4】本発明の実施の形態に係る情報処理装置Xを構
成するクロック制御回路16の構成例を表すブロック
図。
FIG. 4 is a block diagram showing a configuration example of a clock control circuit 16 included in the information processing device X according to the embodiment of the present invention.

【図5】本発明の実施の形態に係る情報処理装置Xにお
ける省電力モードへの移行手順を表すフローチャート。
FIG. 5 is a flowchart showing a procedure for shifting to the power saving mode in the information processing apparatus X according to the embodiment of the present invention.

【図6】本発明の実施の形態に係る情報処理装置Xにお
ける省電力モードからの復帰手順を表すフローチャー
ト。
FIG. 6 is a flowchart showing a procedure for returning from the power saving mode in the information processing device X according to the embodiment of the present invention.

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

11…CPU 14…インタラプト制御回路 16…クロック制御回路 111,161…PLL(Phase Locked Loop) 121,122,,…周辺装置 131,132,,…周辺装置制御回路 141…復帰インタラプト生成回路 142…インタラプトマスクレジスタ 144…インタラプト遅延タイマ設定レジスタ 145…インタラプト遅延タイマ回路 151…高速発信器 152…低速発信器 165…副クロック選択回路 181…システムバス 191…外部インタラプト信号 193…復帰インタラプト信号 194…遅延インタラプト信号 1311…周辺装置主制御回路 1312…省電力モード制御回路 1313…主クロックマスク回路 1431…外部インタラプトマスク回路 1432,1433,,…内部インタラプトマスク回路 1621…高速クロック制御回路 1622…主クロック制御回路 1631…主クロック停止制御レジスタ 1632…主クロック停止タイマ設定レジスタ 1633…主クロック停止タイマ回路 1641…主クロック復帰タイマ設定レジスタ 1642…主クロック復帰タイマ回路 1711…高速クロック信号 1712…低速クロック信号 1721…主クロック信号 1722…副クロック信号 1821,1822,,…制御線 1921,1922,,…内部インタラプト信号 13141…省電力モード移行制御レジスタ 13142…省電力モード移行タイマ設定レジスタ 13143…省電力モード復帰タイマ設定レジスタ 13144…省電力モード強制復帰レジスタ 13145…省電力モード移行タイマ回路 13146…省電力モード復帰タイマ回路 13151…インタラプトマスクレジスタ 13152…インタラプトマスク回路 S101,S102,,…処理手順(ステップ) 11 ... CPU 14 ... Interrupt control circuit 16 ... Clock control circuit 111, 161, ... PLL (Phase Locked Loop) 121, 122, ... Peripheral devices 131, 132, ... Peripheral device control circuit 141 ... Return interrupt generation circuit 142 ... Interrupt mask register 144 ... Interrupt delay timer setting register 145 ... Interrupt delay timer circuit 151 ... High-speed oscillator 152 ... Low speed oscillator 165 ... Sub clock selection circuit 181 ... System bus 191 ... External interrupt signal 193 ... Return interrupt signal 194 ... Delayed interrupt signal 1311 ... Peripheral device main control circuit 1312 ... Power saving mode control circuit 1313 ... Main clock mask circuit 1431 ... External interrupt mask circuit 1432, 1433, ... Internal interrupt mask circuit 1621 ... High-speed clock control circuit 1622 ... Main clock control circuit 1631 ... Main clock stop control register 1632 ... Main clock stop timer setting register 1633 ... Main clock stop timer circuit 1641 ... Main clock recovery timer setting register 1642 ... Main clock recovery timer circuit 1711 ... High-speed clock signal 1712 ... Low-speed clock signal 1721 ... Main clock signal 1722 ... Sub clock signal 1821, 1822, ... Control lines 1921, 1922, ... Internal interrupt signal 13141 ... Power saving mode transition control register 13142 ... Power saving mode transition timer setting register 13143 ... Power saving mode recovery timer setting register 13144 ... Power saving mode forced recovery register 13145 ... Power saving mode transition timer circuit 13146 ... Power saving mode recovery timer circuit 13151 ... Interrupt mask register 13152 ... Interrupt mask circuit S101, S102, ... Processing procedure (step)

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 所定の条件下で省電力モードに移行する
機能を有するCPUと,1又は複数の周辺装置と,前記
CPUと所定のバスを介して接続され,前記CPUの前
記省電力モードへの移行に対応させて前記周辺装置を前
記省電力モードへ移行させるよう制御する周辺装置制御
手段と,を具備する情報処理装置において,前記周辺装
置制御手段が,前記バスを介して前記CPUから前記省
電力モードへ移行する旨を表す所定のアクセスがあった
後,所定の省電力モード移行時間の経過後に,対応する
前記周辺装置を前記省電力モードへ移行させてなること
を特徴とする情報処理装置。
1. A CPU having a function of shifting to a power saving mode under a predetermined condition, one or a plurality of peripheral devices, and the CPU are connected via a predetermined bus, and the CPU is in the power saving mode. In the information processing apparatus, the peripheral device control means controls the peripheral device to shift to the power saving mode in response to the shift of the above. Information processing, characterized in that the corresponding peripheral device is shifted to the power saving mode after a lapse of a predetermined power saving mode shift time after a predetermined access indicating the shift to the power saving mode. apparatus.
【請求項2】 前記周辺装置制御手段が,前記CPUか
ら前記アクセスがなされる省電力モード移行制御レジス
タを具備してなる請求項1に記載の情報処理装置。
2. The information processing apparatus according to claim 1, wherein the peripheral device control means comprises a power saving mode shift control register which is accessed by the CPU.
【請求項3】 前記周辺装置それぞれについての前記省
電力モード移行時間を前記バスを介して設定できるよう
設けられた省電力モード移行タイマ設定レジスタを具備
してなる請求項1又は2に記載の情報処理装置。
3. The information according to claim 1, further comprising a power saving mode shift timer setting register provided so that the power saving mode shift time for each of the peripheral devices can be set via the bus. Processing equipment.
【請求項4】 所定の省電力モードに移行した状態であ
る場合に,所定の復帰割込み信号の入力に基づいて前記
省電力モードから復帰する機能を有するCPUと,1又
は複数の周辺装置と,前記CPUと所定のバスを介して
接続され,前記CPUの前記省電力モードからの復帰に
対応させて前記周辺装置を前記省電力モードから復帰さ
せるよう制御する周辺装置制御手段と,を具備する情報
処理装置において,前記復帰割込み信号を所定の復帰割
込み信号遅延時間だけ遅延させた遅延割込み信号を出力
する割込み信号遅延手段を具備し,前記CPUが,前記
遅延割込み信号の入力に応じて前記省電力モードから復
帰するよう構成されてなることを特徴とする情報処理装
置。
4. A CPU having a function of returning from the power saving mode on the basis of input of a predetermined return interrupt signal when in a state of shifting to a predetermined power saving mode, and one or a plurality of peripheral devices. Peripheral device control means connected to the CPU via a predetermined bus and controlling the peripheral device to return from the power saving mode in response to the return of the CPU from the power saving mode. The processing device includes an interrupt signal delay means for outputting a delayed interrupt signal obtained by delaying the restored interrupt signal by a predetermined restored interrupt signal delay time, and the CPU saves power according to the input of the delayed interrupt signal. An information processing apparatus configured to return from a mode.
【請求項5】 前記復帰割込み信号遅延時間を前記バス
を介して設定できるよう設けられた割込み遅延タイマ設
定レジスタを具備してなる請求項4に記載の情報処理装
置。
5. The information processing apparatus according to claim 4, further comprising an interrupt delay timer setting register provided so that the return interrupt signal delay time can be set via the bus.
【請求項6】 CPU及び1又は複数の周辺装置と,前
記CPUと所定のバスを介して接続され,前記周辺装置
が所定の省電力モードに移行した状態である場合に,所
定の復帰割込み信号の入力に基づいて前記周辺装置を前
記省電力モードから復帰させるよう制御する周辺装置制
御手段と,を具備する情報処理装置において,前記周辺
装置制御手段が,前記復帰割込み信号の入力後,所定の
省電力モード復帰時間の経過後に,対応する前記周辺装
置を前記省電力モードから復帰させるよう構成されてな
ることを特徴とする情報処理装置。
6. A predetermined return interrupt signal when the CPU and one or more peripheral devices are connected to the CPU via a predetermined bus and the peripheral device is in a predetermined power saving mode. In the information processing apparatus, the peripheral device control means controls the peripheral device to return from the power saving mode based on the input of An information processing apparatus, which is configured to return the corresponding peripheral device from the power saving mode after the elapse of the power saving mode recovery time.
【請求項7】 前記周辺装置それぞれについての前記省
電力モード復帰時間を前記バスを介して設定できるよう
設けられた省電力モード復帰タイマ設定レジスタを具備
してなる請求項6に記載の情報処理装置。
7. The information processing apparatus according to claim 6, further comprising a power-saving mode return timer setting register provided so that the power-saving mode return time for each of the peripheral devices can be set via the bus. .
【請求項8】 前記周辺装置制御手段による前記省電力
モード復帰信号に応じた前記省電力モードからの復帰を
実行させない復帰割込みマスク命令を,前記バスを介し
て設定できるよう設けられた復帰割込みマスクレジスタ
と,前記省電力モード復帰信号にかかわらず,前記周辺
装置制御手段によって対応する前記周辺装置を前記省電
力モードから強制的に復帰させる強制復帰命令を,前記
バスを介して設定できるよう設けられた省電力モード強
制復帰レジスタと,を前記周辺装置それぞれについて具
備してなる請求項6又は7のいずれかに記載の情報処理
装置。
8. A return interrupt mask provided so that a return interrupt mask instruction that does not cause a return from the power saving mode in response to the power saving mode return signal by the peripheral device control means can be set via the bus. A register and a force recovery instruction for forcibly returning the corresponding peripheral device from the power saving mode by the peripheral device control means regardless of the register and the power saving mode return signal are set so as to be set through the bus. The information processing apparatus according to claim 6, further comprising: a power saving mode forcible return register for each of the peripheral devices.
【請求項9】 前記周辺装置それぞれについて所定の条
件下で所定の内部割込み信号を発生させる内部割込み信
号発生手段と,前記内部割込み信号及び外部から入力さ
れる外部割込み信号のいずれかが入力された際に前記復
帰割込み信号を発生させる復帰割込み信号生成手段と,
を具備してなる請求項6〜8のいずれかに記載の情報処
理装置。
9. An internal interrupt signal generating means for generating a predetermined internal interrupt signal for each of the peripheral devices under a predetermined condition, and either the internal interrupt signal or an external interrupt signal input from the outside is input. A return interrupt signal generating means for generating the return interrupt signal at the time,
The information processing apparatus according to claim 6, further comprising:
【請求項10】 前記復帰割込み信号生成手段に対し,
前記内部割込み信号及び前記外部割込み信号のそれぞれ
について,これを無視して前記復帰割込み信号を生成さ
せる内・外部割込みマスク命令を前記バスを介して設定
できるよう設けられた内・外部割込みマスクレジスタを
具備してなる請求項9に記載の情報処理装置。
10. The recovery interrupt signal generating means,
An internal / external interrupt mask register provided so that an internal / external interrupt mask instruction for ignoring the internal interrupt signal and the external interrupt signal and generating the return interrupt signal can be set via the bus. The information processing apparatus according to claim 9, which is provided.
【請求項11】 所定の条件下で省電力モードに移行し
た後に,所定の復帰割込み信号の入力に基づいて前記省
電力モードから復帰する機能を有するCPUと,該CP
Uと所定のバスを介して接続された1又は複数の周辺装
置と,前記CPUの前記省電力モードへの移行及び前記
省電力モードからの復帰に対応させて前記周辺装置を前
記省電力モードへ移行及び前記省電力モードから復帰さ
せるよう制御する周辺装置制御手段と,を具備する省電
力情報処理装置において,前記復帰割込み信号を所定の
復帰割込み信号遅延時間だけ遅延させた遅延割込み信号
を出力する割込み信号遅延手段を具備し,前記周辺装置
制御手段が,前記バスを介して前記CPUから前記省電
力モードへ移行する旨を表す所定のアクセスがあった
後,所定の省電力モード移行時間の経過後に,対応する
前記周辺装置を前記省電力モードへ移行させ,前記CP
Uが,前記遅延割込み信号の入力に応じて前記省電力モ
ードから復帰するよう構成されてなることを特徴とする
情報処理装置。
11. A CPU having a function of returning from the power saving mode based on input of a predetermined return interrupt signal after shifting to the power saving mode under a predetermined condition, and the CP.
One or a plurality of peripheral devices connected to U via a predetermined bus, and the peripheral devices to the power saving mode in response to the shift of the CPU to the power saving mode and the return from the power saving mode. In a power-saving information processing device comprising a peripheral device control means for controlling transition and return from the power saving mode, a delayed interrupt signal obtained by delaying the return interrupt signal by a predetermined return interrupt signal delay time is output. A predetermined power saving mode transition time elapses after the peripheral device control means includes a predetermined access indicating that the CPU shifts to the power saving mode via the bus. Later, the corresponding peripheral device is shifted to the power saving mode, and the CP
An information processing apparatus, wherein U is configured to recover from the power saving mode in response to the input of the delayed interrupt signal.
【請求項12】 前記周辺装置制御手段が,前記復帰割
込み信号の入力後,所定の省電力モード復帰時間の経過
後に,対応する前記周辺装置を前記省電力モードから復
帰させるよう構成されてなる請求項11に記載の情報処
理装置。
12. The peripheral device control means is configured to recover the corresponding peripheral device from the power saving mode after a lapse of a predetermined power saving mode recovery time after inputting the return interrupt signal. Item 11. The information processing device according to item 11.
【請求項13】 前記復帰割込み信号遅延時間,前記省
電力モード移行時間,及び前記省電力モード復帰時間の
うち1又は複数を,前記バスを介して所定のレジスタに
設定できるよう構成された請求項11又は12のいずれ
かに記載の情報処理装置。
13. A configuration in which one or more of the return interrupt signal delay time, the power saving mode transition time, and the power saving mode return time can be set in a predetermined register via the bus. 11. The information processing device according to either 11 or 12.
JP2001323410A 2001-10-22 2001-10-22 Information processing device Expired - Fee Related JP3983026B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001323410A JP3983026B2 (en) 2001-10-22 2001-10-22 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001323410A JP3983026B2 (en) 2001-10-22 2001-10-22 Information processing device

Publications (2)

Publication Number Publication Date
JP2003131766A true JP2003131766A (en) 2003-05-09
JP3983026B2 JP3983026B2 (en) 2007-09-26

Family

ID=19140301

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001323410A Expired - Fee Related JP3983026B2 (en) 2001-10-22 2001-10-22 Information processing device

Country Status (1)

Country Link
JP (1) JP3983026B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2037348A2 (en) 2007-09-14 2009-03-18 Ricoh Company, Ltd. Power control system
JPWO2008084541A1 (en) * 2007-01-11 2010-04-30 パナソニック株式会社 Reception device and activation control method for reception device
JP2010515164A (en) * 2006-12-31 2010-05-06 インテル・コーポレーション Highly efficient power management technology for computer systems
US7752481B2 (en) 2005-10-31 2010-07-06 Kabushiki Kaisha Toshiba Information processing apparatus and resume control method
JP2013141161A (en) * 2012-01-05 2013-07-18 Ricoh Co Ltd Processing device
JP2014501987A (en) * 2010-12-23 2014-01-23 インテル・コーポレーション Method, apparatus and system for transitioning system power state of a computer platform
JP2015035177A (en) * 2013-08-09 2015-02-19 コニカミノルタ株式会社 I/o extension device group and i/o extension device
JP2015210715A (en) * 2014-04-28 2015-11-24 富士通株式会社 Information processor, power control program and usb device
JP2019127017A (en) * 2018-01-26 2019-08-01 キヤノン株式会社 Information processing apparatus, control method therefor, and program

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7752481B2 (en) 2005-10-31 2010-07-06 Kabushiki Kaisha Toshiba Information processing apparatus and resume control method
JP2010515164A (en) * 2006-12-31 2010-05-06 インテル・コーポレーション Highly efficient power management technology for computer systems
JP4903272B2 (en) * 2006-12-31 2012-03-28 インテル・コーポレーション Highly efficient power management technology for computer systems
JPWO2008084541A1 (en) * 2007-01-11 2010-04-30 パナソニック株式会社 Reception device and activation control method for reception device
EP2037348A2 (en) 2007-09-14 2009-03-18 Ricoh Company, Ltd. Power control system
US8046613B2 (en) 2007-09-14 2011-10-25 Ricoh Company, Limited Power control system
JP2014501987A (en) * 2010-12-23 2014-01-23 インテル・コーポレーション Method, apparatus and system for transitioning system power state of a computer platform
JP2013141161A (en) * 2012-01-05 2013-07-18 Ricoh Co Ltd Processing device
JP2015035177A (en) * 2013-08-09 2015-02-19 コニカミノルタ株式会社 I/o extension device group and i/o extension device
JP2015210715A (en) * 2014-04-28 2015-11-24 富士通株式会社 Information processor, power control program and usb device
JP2019127017A (en) * 2018-01-26 2019-08-01 キヤノン株式会社 Information processing apparatus, control method therefor, and program
JP7022605B2 (en) 2018-01-26 2022-02-18 キヤノン株式会社 Information processing equipment, its control method, and programs

Also Published As

Publication number Publication date
JP3983026B2 (en) 2007-09-26

Similar Documents

Publication Publication Date Title
JP2916568B2 (en) Computer system and method for stopping clock of processor
JP3799130B2 (en) Method for switching power saving mode of computer having power saving function while using network
JP5165652B2 (en) Power-saving electronic device for computer motherboard in standby state
US6367022B1 (en) Power management fault strategy for automotive multimedia system
KR0172003B1 (en) Computer system and its control method
KR100471056B1 (en) Computer system and Control method of Waiting mode for Computer system
US8032773B2 (en) Power-saving control apparatus and method for computer system in standby mode
US9152205B2 (en) Mechanism for facilitating faster suspend/resume operations in computing systems
JP3437174B2 (en) Power saving integrated circuit and control method of power saving integrated circuit
KR100881774B1 (en) Method and apparatus to provide deterministic power-on voltage in a system having processor-controlled voltage level
US5664203A (en) Peripheral device input-initiated resume system for combined hibernation system and back-up power supply for computer
JP3777136B2 (en) Computer device, data dead copy method, program, and computer device operating method
KR19980014709A (en) How to check the operation status of the CD-ROM drive
JP2007172314A (en) Battery-driven information processor, and network controller power supply control method in the processor
US6216187B1 (en) System for powering down a portable computer in a docking station
US7089413B2 (en) Dynamic computer system reset architecture
JP2001298875A (en) Backup power module, and backup power unit, and computer
JP2001158310A (en) Engine start management in computer system for automobile
JP2008071066A (en) Information processor and recovery control method
JP3789792B2 (en) Portable computer system and control method thereof
JP2003131766A (en) Information-processing system
US7096299B2 (en) Method and apparatus for transferring system context information between mobile computer and base station
US6477655B1 (en) System and method to set PME—status bit and wake up the system, and selectively load device driver by searching who set the bit without requiring clock
US9201822B2 (en) Host controller apparatus, information processing apparatus, and event information output method
US7219248B2 (en) Semiconductor integrated circuit operable to control power supply voltage

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040611

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060906

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061017

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061215

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070703

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070703

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100713

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 3983026

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110713

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110713

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120713

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120713

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130713

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees