JP3983026B2 - Information processing device - Google Patents
Information processing device Download PDFInfo
- Publication number
- JP3983026B2 JP3983026B2 JP2001323410A JP2001323410A JP3983026B2 JP 3983026 B2 JP3983026 B2 JP 3983026B2 JP 2001323410 A JP2001323410 A JP 2001323410A JP 2001323410 A JP2001323410 A JP 2001323410A JP 3983026 B2 JP3983026 B2 JP 3983026B2
- Authority
- JP
- Japan
- Prior art keywords
- return
- power saving
- saving mode
- peripheral device
- cpu
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Description
【0001】
【発明の属する技術分野】
本発明は,情報処理装置における省電力化に関するものである。
【0002】
【従来の技術】
近年,携帯可能な小型コンピュータ等の普及にともない,バッテリー寿命の延長のため,CPU及びその周辺装置を含む情報処理装置の省電力化が重要な課題となっている。
情報処理装置の一般的な省電力化方法としては,CPUがキー入力の待ち状態のように特に仕事をしていない状態が所定時間継続したアイドル状態が検知されると,CPUを省電力モードへ移行させるものがある。この省電力モードは,所定の割り込み信号の入力を待つ待機状態(インタラプト待機状態)であり,割り込み信号を検知してもとの状態へ復帰するために必要最小限の回路(部品)以外への電力供給は停止している状態である。
この省電力モード時の消費電力を最小限とすることを目的として,特開平7−121259号公報には,CPUのアイドル状態を検知すると,CPUがインタラプト待機状態(省電力モード)に移行するとともに,CPUへのクロック信号の停止や,その他周辺装置(ハードディスクドライブ等)の省電力モードへの移行(制御回路の停止等)を行うものが提案されている。これにより,情報処理装置全体としてより消費電力の少ない状態とすることが可能となる。
ところで,CPUを省電力モードへ移行させるとともに,ROMやRAM等の周辺装置も同時に回路停止等の省電力モードへ移行させ,より省電力化を図ろうとする場合には,CPUの省電力モードへの移行が完了するまで,ROMやRAMへアクセスできることを保証する必要がある。そうでないと,CPUは省電力モードへ移行中にもROM,RAM等の周辺装置へアクセスするため,正常に省電力モードへ移行できないからである。さらに,周辺装置間においても,例えば,省電力モードへ移行時に,他の周辺装置であるRAMにアクセスする周辺装置がある等,省電力モードへの移行の順序を考慮しなければならない場合がある。
以上のことは,省電力モードからもとの状態へ復帰する場合も同様である。例えば,ROMやRAMへのアクセスが保証される前にCPUが復帰して処理を再開すると,正常な動作を保証できないといった問題が生じる。特に,近年の情報処理装置では,高速化のためにCPUや周辺装置の制御回路にPLL(Phase Locked Loop)回路を内蔵し,同位相のクロックに同期して動作させるものが多く,この問題が顕著となる。即ち,PLLはクロック入力が開始されてから出力が安定するまでにms単位の長い時間が必要であるため,PLLのクロック出力によって動作する周辺装置に対し,クロック出力が安定するまでにアクセスした場合には正常な動作を保証できないことになる。
【0003】
【発明が解決しようとする課題】
しかしながら,前記公報に示される技術には,CPU及び周辺装置相互間における省電力モードへの移行及びもとの状態への復帰の順序を制御する手段を有しておらず,前記ROMやRAM等の周辺装置も省電力モードへ移行させる場合や,前記PLLを用いて動作するものである場合には,省電力モードへの移行及びもとの状態への復帰を正常に行えないという問題点があった。
また,前記公報に示される技術では,CPUがアイドル状態であること示す信号を周辺装置側へ出力するために,CPUに既存のバス等のインターフェースとは別途に出力線等を設ける必要があり,システム構成の変更に柔軟に対応できるというCPUの特徴が失われるという問題点もあった。
従って,本発明は上記事情に鑑みてなされたものであり,その目的とするところは,CPU及び周辺装置相互間における省電力モードからもとの状態への復帰の順序を制御できるとともに,システム構成の変更に柔軟に対応できる情報処理装置を提供することにある。
【0004】
【課題を解決するための手段】
上記目的を達成するために本発明は,CPU及び1又は複数の周辺装置と,前記CPUと所定のバスを介して接続され,前記周辺装置が所定の省電力モードに移行した状態である場合に,所定の復帰割込み信号の入力に基づいて前記周辺装置を前記省電力モードから復帰させるよう制御する周辺装置制御手段と,を具備する情報処理装置において,前記周辺装置制御手段が,前記復帰割込み信号の入力後,所定の省電力モード復帰時間の経過後に,前記周辺装置を前記省電力モードから復帰させるものであり,前記周辺装置制御手段による前記復帰割込み信号に応じた前記省電力モードからの復帰を実行させない復帰割込みマスク命令を,前記バスを介して設定できるよう設けられた復帰割込みマスクレジスタと,前記周辺装置制御手段によって前記周辺装置を前記省電力モードから強制的に復帰させる強制復帰命令を,前記バスを介して設定できるよう設けられた省電力モード強制復帰レジスタと,を前記周辺装置それぞれについて具備してなることを特徴とする情報処理装置である。
これにより,前記省電力モード復帰時間を,周辺装置それぞれについて適当に設定すれば,周辺装置相互間における省電力モードからの復帰順序について制御できることとなる。
また,前記復帰割込みマスク命令を設定することで,CPUと連動させて省電力モードから復帰させたくない周辺装置にも対応でき,前記強制復帰命令によって,任意のタイミングで周辺装置を省電力モードから復帰させることができる。
また,CPUから周辺装置になされるアクセスが,CPUに標準的に設けられるバスを介して行われるので,特別な信号線等を設ける必要がなく,システム構成の変更に柔軟に対応できるというCPUの特徴を損なうこともない。
【0005】
また,前記周辺装置それぞれについての前記省電力モード復帰時間を前記バスを介して設定できるよう設けられた省電力モード復帰タイマ設定レジスタを具備するものも考えられる。
これにより,システム構成の変更等により,周辺装置相互間における省電力モードからの復帰順序等に変更が生じた場合でも,CPU等から前記省電力復帰タイマ設定レジスタの時間情報を変更するだけで容易に対応可能となる。
【0006】
また,前記周辺装置それぞれについて所定の条件下で所定の内部割込み信号を発生させる内部割込み信号発生手段と,前記内部割込み信号及び外部から入力される外部割込み信号のいずれかが入力された際に前記復帰割込み信号を発生させる復帰割込み信号生成手段と,を具備するものも考えられる。
これにより,省電力モードからの復帰のトリガーを,外部からの割込み信号だけでなく,周辺装置の条件によって発生させることが可能となる。例えば,外部装置との通信インターフェースである周辺装置において,外部装置からの通信入力が発生した場合に,前記内部割込み信号を発生させて省電力モードから復帰させるといったことが可能となる。
【0007】
また,前記復帰割込み信号生成手段に対し,前記内部割込み信号及び前記外部割込み信号のそれぞれについて,これを無視させる内・外部割込みマスク命令を前記バスを介して設定できるよう設けられた内・外部割込みマスクレジスタを具備するものも考えられる。
これにより,いずれの周辺装置からの前記内部割込み信号に対応して省電力モードから復帰させるかを選択できるので,より柔軟性が高まる。
【0008】
【発明の実施の形態】
以下添付図面を参照しながら,本発明の実施の形態について説明し,本発明の理解に供する。尚,以下の実施の形態は,本発明を具体化した一例であって,本発明の技術的範囲を限定する性格のものではない。
ここに,図1は本発明の実施の形態に係る情報処理装置Xの構成を表すブロック図,図2は本発明の実施の形態に係る情報処理装置Xを構成する周辺装置制御回路の構成例を表すブロック図,図3は本発明の実施の形態に係る情報処理装置Xを構成するインタラプト制御回路の構成例を表すブロック図,図4は本発明の実施の形態に係る情報処理装置Xを構成するクロック制御回路16の構成例を表すブロック図,図5は本発明の実施の形態に係る情報処理装置Xにおける省電力モードへの移行手順を表すフローチャート,図6は本発明の実施の形態に係る情報処理装置Xにおける省電力モードからの復帰手順を表すフローチャートである。
【0009】
まず,図1を用いて本発明の実施の形態に係る情報処理装置Xの構成について説明する。
情報処理装置Xは,システムバス181で相互接続された,CPU11,クロック制御回路16,インタラプト制御回路14,及び複数の周辺装置制御回路131,132,…と,該周辺装置制御回路それぞれと制御線1821,1822,1823,…により接続された(即ち,前記システムバス181を介して前記CPU11と接続された)複数の周辺装置121,122,…と,高速発信器151及び低速発信器152とから構成されている。
前記CPU11は,ROM,RAM,キーボード等の前記周辺装置121,122,…から取得したプログラムやデータに従って各種演算処理を行い,演算結果を表示装置やハードディスク等の前記周辺装置121,122,…へ出力する。前記周辺装置121,122,…とのデータ等の授受は前記システムバス181を介して行われる。また,CPU11は,キーボードからの入力待ち等によって前記アイドル状態となると,自動的に省電力モードへ移行して前記インタラプト待機状態となり,所定のインタラプト信号(本実施の形態では,後述する遅延インタラプト信号)の入力があると,もとの状態へ自動的に復帰する機能を有する(前記公報に記載のCPU等)。さらに,CPU11は,高速発信器151からの高速クロック信号1711に基づいて,前記周辺装置121,122,…と同位相のクロックに同期して高速動作させるための前記PLL111を内蔵している。この同期をとるために,後述する前記クロック制御回路16にも同様にPLL161が組み込まれており,該PLL161によって生成された主クロック信号1721に基づいて前記周辺装置121,122,…が動作する。
【0010】
次に,図2を用いて,前記周辺装置制御回路131,132,…の構成について説明する。便宜上,図2中の番号は,前記周辺装置制御回路のうちの1つ(131)に対応させて番号付けしているが,他の周辺装置制御回路132,133,…についても同様である。
前記周辺装置制御回路131は,制御線1821で接続された前記周辺装置121を制御するものであり,以下の構成要素を有する。
即ち,前記システムバス181に接続された5つのレジスタ(一時記憶装置)である省電力モード移行制御レジスタ13141,省電力モード移行タイマ設定レジスタ13142,省電力モード復帰タイマ設定レジスタ13143,省電力モード強制復帰レジスタ13144,インタラプトマスクレジスタ13151と,同じく前記システムバス181に接続された周辺装置主制御回路1311と,省電力モード移行タイマ回路13145,省電力モード復帰タイマ回路13146,インタラプトマスク回路13152,主クロックマスク回路1313,及び省電力モード制御回路1312とから構成されている。
前記5つのレジスタ13141〜13144,13151は,前記CPU11により前記システムバス181を介してアクセスされ,各種情報の設定が行われる。
前記周辺装置主制御回路1311は,前記システムバス181経由の前記CPU11からの制御命令,及び前記省電力モード制御回路1312からの制御信号1318に従って前記周辺装置121を制御する。各構成要素のその他の機能については後述する。
【0011】
次に,図3を用いて,前記インタラプト制御回路14の構成について説明する。
前記インタラプト制御回路は,前記CPU11,前記クロック制御回路16,及び前記周辺装置制御回路131,132,…に対し,所定の省電力モードに移行している状態からもとの状態へ復帰するタイミングを通知するインタラプト信号(後述する復帰インタラプト信号193及び遅延インタラプト信号194)を生成するものであり,以下の構成要素を有している。
即ち,前記システムバス181に接続された2つのレジスタであるインタラプトマスクレジスタ142及びインタラプト遅延タイマ設定レジスタ144と,本情報処理装置Xの外部から入力される外部インタラプト信号191を入力する外部インタラプトマスク回路1431と,前記周辺装置制御回路131,132,…が出力する内部インタラプト信号1921,1922,…それぞれを入力する内部インタラプトマスク回路1432,1433,…と,復帰インタラプト生成回路141及びインタラプト遅延タイマ回路145とから構成されている。
前記外部及び内部インタラプトマスク回路1431,1432,…は,前記インタラプトマスクレジスタ142に設定される情報を読み出し可能に接続されている。
また,前記2つのレジスタ142,144は,前記CPU11により前記システムバス181を介してアクセスされ,各種情報の設定が行われる。各構成要素のその他の機能については後述する。
【0012】
次に,図4を用いて,前記クロック制御回路16の構成について説明する。
前記クロック制御回路16は,高速発信器151及び前記低速発信器152の出力である高速クロック信号1711及び低速クロック信号1712を入力し,前記CPU11で使用されるクロックと同位相となる主クロック信号1721と,前記周辺装置制御回路131,132,…等が省電力モード状態であるときに使用され,前記CPU11との同期を要しない副クロック信号1722とを生成し,前記周辺装置121,122,…側に供給するものであり,以下の構成要素を有している。
即ち,前記システムバス181に接続された3つのレジスタである主クロック停止制御レジスタ1631,主クロック停止タイマ設定レジスタ1632,及び主クロック復帰タイマ設定レジスタ1641と,主クロック停止タイマ回路1633,主クロック復帰タイマ回路1642,高速クロック制御回路1621,前記PLL161,主クロック制御回路1622,及び副クロック選択回路165とから構成されている。
前記副クロック選択回路165は,前記高速クロック信号1711及び前記低速クロック信号1712のうちのいずれを前記副クロック信号1722として出力するかをスイッチ等で切り換える回路である。該回路165は,前記副クロック信号1722としていずれを選択するかが決まっており,特に切り換えの必要がない場合には不要である。
前記3つのレジスタ1631,1632,1641は,前記CPU11により前記システムバス181を介してアクセスされ,各種情報の設定が行われる。各構成要素のその他の機能については後述する。
【0013】
次に,図5を用いて,前記CPU11が前記アイドル状態となったときにおける,前記CPU11及びその他の装置が前記省電力モードへ移行する動作手順について説明する。以下,S101,S102,,は,動作手順(ステップ)の番号を表す。
まず,CPU11においては,前記アイドル状態となると,自己の前記省電力モードへの移行と連動させて,同じく前記省電力モードへ移行させる前記周辺装置121,122,…について,これに接続された前記各周辺装置制御回路131,132,…の前記省電力モード移行制御レジスタ13141に対し,前記システムバス181を介してアクセスが行われ,前記省電力モードへ移行する旨が通知される(S101)。これにより,後述する前記周辺装置制御回路131,132,…の前記省電力モードへの移行動作が開始される。いずれの前記周辺装置121,122,…を前記省電力モードへ移行させるかについての情報は,前記周辺装置121,122,…の1つである不揮発性RAM等の記憶手段に予め登録されており,これが前記CPU11によって読み出される。(以下,このような不揮発性RAM等の記憶手段に予め登録された情報のことを,簡便のため,CPU11に予め登録された情報ということとする。)
【0014】
次に,前記各周辺装置制御回路131,132,…に対する前記主クロック信号1721の供給停止が不可であるか否かが,前記CPU11に予め登録された判別情報(「停止不可」/「停止可」)に基づいて判別される(S102)。
前記各周辺装置121,122,…には,前記省電力モードへ移行した状態においても,前記主クロック信号1721が必要なもの(外部との通信インターフェース等)と不要なもの(ハードディスク等)とが存在し得るため,前記判別情報は,前記周辺装置121,122,…のうち1つでも,前記省電力モード時に前記主クロック信号1721が必要であるものが存在する場合は「停止不可」,そうでない場合は「停止可」として記憶される。
S102において,前記主クロック信号1721は「停止可」であると判別されると,前記CPU11から前記クロック制御回路16の前記主クロック停止制御レジスタ1631に対するアクセスが行われ,前記主クロック信号1721を停止するよう通知(S103)された後,S104へ移行する。
一方,S102において,前記主クロック信号1721は「停止不可」であると判別されるとそのままS104へ移行する。
S104では,前記CPU11自身が前記省電力モード(インタラプト待機状態)へ移行した後,前記CPU11における前記省電力モードへの移行動作が終了する。
【0015】
ところで,前記CPU11が前記アイドル状態となったことを前記周辺装置121,122,…等に通知(S101,S03)できるのは前記CPU11のみであり,該通知を標準の入出力手段である前記システムバス181を介して行うためには,前記CPU11が動作中(前記省電力モードへの移行前)でなければならない。にもかかわらず,前記省電力モードへの移行の際(S104),前記CPU11は,所定のプログラムの読出し等を行うため,ROMやRAM等の前記周辺装置121,122,…はそのアクセスを保証する必要があり,前記周辺装置121,122,…の前記省電力モードへの移行は,前記CPU11が前記省電力モードへ完全に移行した後に行わなければならないという問題が生じる。
本発明の特徴は,これを解決するため,前記周辺装置121,122,…それぞれについてタイマー回路を設け,前記CPU11から前記省電力モードへの移行通知(レジスタへのアクセス)を受けた後,前記CPU11が前記省電力モードへ移行するのに要する時間の後に前記周辺装置121,122,…等を前記省電力モードへ移行させるようにした点にある。
以下,図5を用いて,前記特徴を有する前記周辺装置制御回路131,132,…,及び前記クロック制御回路16における前記省電力モードへの移行動作について説明する。
【0016】
前記周辺装置制御回路131,132,…(図2)においては,前記省電力モード移行タイマ回路13145により,前記省電力モード移行制御レジスタ13141の内容の確認(S111)が行われつつ,前記CPU11からのアクセス(通知)があるまで待機状態となっている(S112→S111)。そして,前記CPU11からのアクセスが検知されると(S112のYes側),前記省電力モード移行タイマ回路13145により,前記省電力モード移行タイマ設定レジスタ13142から時間情報が読み出される(S113)。該時間情報は,前記CPU11からのアクセスがあってから,当該周辺装置制御回路131,132,…に接続された前記周辺装置121,122,…を前記省電力モードへ移行させるまでの待ち時間(以下,省電力モード移行時間という)であり,前記CPU11に予め登録された情報が,当該情報処理装置Xの起動時等に,前記CPU11から前記システムバス181を介して予め設定されるものである。
【0017】
前記省電力モード移行時間は,前記CPU11が前記省電力モードへ移行するのに要する時間以上とし,かつ他の周辺装置121,122,…との関係も考慮して設定される。前記周辺装置121,122,…の中には,例えば,PCIバスコントローラ等のように,前記省電力モードへ移行する際に,前記周辺装置121,122,…の1つである,ROMやRAM等にアクセスするものがあり,この場合,アクセスされる側である前記ROMやRAM等については,アクセスする側の前記周辺装置121,122,…よりも長い前記省電力モード移行時間が設定される。
【0018】
次に,前記省電力モード移行タイマ回路13145が計時を開始し,前記省電力モード移行時間が経過した時点で,前記省電力モード制御回路1312に省電力モード移行信号13165が出力される(S114)。
次に,前記省電力モード移行信号13165を入力した前記省電力モード制御回路1312により,前記主クロックマスク回路1313及び前記周辺装置主制御回路1311に対し,前記周辺装置121,122,…を休止させる旨を表すモード制御信号1318が出力される(S115)。
さらに,前記モード制御信号1318を入力した前記主クロックマスク回路1313及び前記周辺装置主制御回路1311により,接続された前記周辺装置121,122,…が前記省電力モードへ移行するよう制御された後(S116),前記周辺装置制御回路131,132,…における前記省電力モードへの移行動作が終了する。
ここで,前記主クロックマスク回路1313及び前記周辺装置主制御回路1311は,接続される前記周辺装置121に応じて個別に構成されるものである。例えば,対応する前記周辺装置121が,前記省電力モードにおいて前記主クロック信号1721を不要とするものである場合,前記主クロックマスク回路1313は,入力した前記モード制御信号1318が,前記周辺装置121を休止させる旨を表す信号であるときは,前記周辺装置121への前記主クロック信号1721の供給を遮断するよう構成される。
【0019】
以上示したように,前記周辺装置121,122,…が,前記CPU11からの通知を受けてから(S111),それぞれに設定された時間の経過後に前記省電力モードへ移行するよう制御されるので,設定時間の大小によって前記CPU11及び他の前記周辺装置121,122,…相互間において,前記省電力モードへの移行順序を制御でき,確実に前記省電力モードへ移行させることができる。
また,前記CPU11から前記周辺装置121,122,…側への通知が,標準的に設けられる前記システムバス181を介して行われるため,特別な出力線等を設ける必要がなく,前記CPU11の特徴である柔軟な拡張性を損なうこともない。
さらに,前記省電力モード移行時間が前記システムバス181を介して設定可能であるので,前記周辺装置121,122,…の構成が変わった場合でも,例えば不揮発性RAM等に記憶された時間の変更等で容易に対応可能であり,より柔軟性の高い情報処理装置とすることができる。
【0020】
一方,前記クロック制御回路16(図4)においては,前記主クロック停止タイマ回路1633により,前記主クロック停止制御レジスタ1631の内容の確認(S121)が行われつつ,前記CPU11からのアクセスがあるまで待機状態となっている(S122→S121)。そして,前記CPU11からのアクセスが検知されると(S122のYes側),前記主クロック停止タイマ回路1633により,前記主クロック停止タイマ設定レジスタ1632から時間情報が読み出される(S123)。該時間情報は,前記CPU11からのアクセスがあってから,前記主クロック信号1721の供給を停止させるまで(即ち,当該クロック制御回路16を前記省電力モードへ移行させるまで)の待ち時間(以下,主クロック停止モード移行時間という)であり,前記CPU11に予め登録された情報が,当該情報処理装置Xの起動時等に,前記CPU11から前記システムバス181を介して予め設定されるものである。
前記主クロック停止モード移行時間は,前述した前記周辺装置制御回路131,132,…(図2)における前記省電力モード移行時間のうち,最長の時間以上の時間に設定される。
【0021】
次に,前記主クロック停止タイマ回路1633が計時を開始し,前記主クロック停止モード移行時間が経過した時点で,前記高速クロック制御回路1621及び前記主クロック制御回路1622に主クロック停止信号1673が出力される(S124)。
さらに,前記主クロック停止信号1673を入力した前記高速クロック制御回路1621及び前記主クロック制御回路1622により,前記PLL161への前記高速クロック1711の供給,及び前記主クロック1721の出力が停止された後(S125),前記クロック制御回路16における前記省電力モードへの移行動作が終了する。
このように,前記CPU11からの通知を受けてから(S121),所定時間の経過後に前記主クロック1721の出力が停止されるので,前記周辺装置121,122,…が前記省電力モードへ移行している最中に前記主クロック1721が停止されることがなく,確実に前記省電力モードへ移行できる。
【0022】
次に,図6を用いて,前記CPU11,前記クロック制御回路16,及び前記周辺装置121,122,…が,前記省電力モードからもとの状態へ復帰する動作手順,及び復帰のトリガーとなる信号を生成する前記インタラプト制御回路14の動作手順について説明する。
まず,前記インタラプト制御回路14(図3)においては,前記外部インタラプトマスク回路1431及び前記内部インタラプトマスク回路1432,1433,…により,前記インタラプトマスクレジスタ142の内容が確認され,所定のマスク命令(前記内・外部割込みマスク命令に該当)が設定されている場合は,これが読み出される(S201)。前記マスク命令は,前記CPU11により,当該情報処理装置Xの起動時等に前記システムバス181を介して予め設定されるものであり,後述する前記外部及び内部インタラプト信号191,1921,1922,…のうち,その入力を無視するものについてのみ設定される。これにより,復帰のトリガーとして用いるもの,用いないものを任意に設定できるのでより柔軟性の高いものとなる。
さらに,前記外部及び内部インタラプトマスク回路1431,1432,…により,本情報処理装置Xの外部から入力される所定の外部インタラプト信号191及び前記周辺装置制御回路131,132,…における前記周辺装置主制御回路1311によって生成される所定の前記内部インタラプト信号1921,1922,…の入力が確認される(S202)。これらインタラプト信号191,1921,1922…は,前記省電力モードから復帰するトリガーとなる信号である。
前記内部インタラプト信号1921の例としては,前記周辺装置121,122,…がキーボードや外部装置との通信装置である場合に,キー入力や前記外部装置からの通信入力があった際に発生する信号等がある。前記内部インタラプト信号1921,1922,…を生成する前記周辺装置主制御回路1311は,対応する前記周辺装置121,122,…の特性に応じて個別に構成される。
前記外部及び内部インタラプトマスク回路1431,1432,…は,前記マスク命令が設定されている前記外部及び内部インタラプト信号191,1921,1922…については,その入力が無視され,前記マスク命令が設定されていない前記外部及び内部インタラプト信号191,1921,1922,…が入力された場合のみ,所定の信号1471,1472,…が前記復帰インタラプト生成回路141へ出力されるよう構成されている。
【0023】
次に,前記復帰インタラプト生成回路141により,前記マスク命令が設定されていない前記外部及び内部インタラプト信号191,1921,1922,…の入力の有無(即ち,前記外部及び内部インタラプトマスク回路1431,1432,1433,…からの所定の信号1471,1472,…の有無)がチェックされ(S203),いずれの入力もない場合には,S201へ戻って前述した動作が繰り返される(S201〜S203)。
一方,前記復帰インタラプト生成回路141により,前記マスク命令が設定されていない前記外部及び内部インタラプト信号191,1921,1922,…のうちいずれか1つでも入力があった場合は(S203のYes側),所定の復帰インタラプト信号193が生成され,該信号が前記クロック制御回路16,前記周辺装置制御回路131,132,…,及び前記インタラプト遅延タイマ回路145に出力される(S204)。該復帰インタラプト信号193がトリガーとなって,前記クロック制御回路16及び前記周辺装置制御回路131,132,…が,前記省電力モードからの復帰動作に入る。これらの復帰動作については後述する。
次に,前記復帰インタラプト信号193が入力された前記インタラプト遅延タイマ回路145により,前記インタラプト遅延タイマ設定レジスタ144から所定の遅延時間(以下,復帰割込み信号遅延時間という)が読み出され,前記復帰インタラプト信号193を前記復帰割込み信号遅延時間だけ遅延させた信号である遅延インタラプト信号194(前記遅延割込み信号に該当)が生成されて前記CPU11に出力された後(S206),前記インタラプト制御回路14の復帰動作が終了する。前記CPU11は,前記遅延インタラプト信号194の入力により,前記省電力状態からもとの状態に復帰する。
前記復帰割込み信号遅延時間は,少なくとも前記CPU11が前記省電力モードからもとの状態へ復帰する際にアクセスする前記周辺装置121,122,…が,前記省電力モードからの復帰に要する時間以上に設定される。これにより,前記CPU11が,前記周辺装置121,122,…に対し,その復帰が完了する前にアクセスしてしまうことがなく,正常に復帰できることとなる。
【0024】
一方,前記クロック制御回路16(図4)においては,前記主クロック復帰タイマ回路1642及び前記高速クロック制御回路1621が,前記インタラプト制御回路14(図3)で生成される前記復帰インタラプト信号193の入力待ち状態であり(S221,S222),前記復帰インタラプト信号193が入力されると(S222のYes側),前記高速クロック制御回路1621により前記PLL161への前記高速クロック信号1711の出力が復帰される(S223)。これにより,前記PLL161が停止状態から稼動状態へ復帰する。
次に,前記主クロック復帰タイマ回路1642により,前記主クロック復帰タイマ設定レジスタ1641から,時間情報が読み出され(S224),該待ち時間経過後に前記主クロック制御回路1622に対して主クロック復帰信号1672が出力される(S225)。さらに,前記主クロック制御回路1622は,前記主クロック復帰信号1672が入力されると,前記PLL161の出力信号である前記主クロック信号1721の出力(前記インタラプト制御回路14及び前記周辺装置制御回路131,132,…への供給)が復帰された後(S226),前記クロック制御回路16の復帰動作が終了する。
前記主クロック復帰タイマ設定レジスタ1641に設定される前記時間情報は,前記復帰インタラプト信号193の入力があってから,前記主クロック信号1721の供給を再開させるまで(即ち,当該クロック制御回路16を前記省電力モードから復帰させるまで)の待ち時間(以下,主クロック停止モード復帰時間という)であり,前記CPU11に予め登録された情報が,当該情報処理装置Xの起動時等に,前記CPU11から前記システムバス181を介して予め設定されるものである。該主クロック停止モード復帰時間は,前記PLL161に前記主クロック1711の出力が再開されてから,前記PLL161の出力である前記主クロック信号1721が安定するまでに要する時間以上に設定される。これにより,前記主クロック信号が不安定な状態のままで前記周辺装置121,122,…に供給されることによって,前記周辺装置121,122,…が誤動作してしまうことを防止できる。
【0025】
一方,前記周辺装置制御回路131,132,…(図2)においては,前記省電力モード制御回路1312により,前記省電力モード強制復帰レジスタ13144の内容が確認され(S211),後述する所定の強制復帰命令が設定されていない場合には(S212のNo側),前記インタラプトマスク回路13152により,前記インタラプトマスクレジスタ13151の内容が確認され,所定の復帰インタラプトマスク命令(前記復帰割込みマスク命令に該当)が設定されている場合は,これが読み出される(S213)。
【0026】
さらに,前記インタラプトマスク回路13152により,前記インタラプト制御回路14から出力される前記復帰インタラプト信号193の入力が確認される(S214)。該復帰インタラプト信号193が,前記周辺装置制御回路131,132,…が前記省電力モードから復帰するトリガーとなる。
前記インタラプトマスク回路13152は,前記インタラプトマスクレジスタ13151に前記復帰インタラプトマスク命令が設定されていない場合のみ,所定の信号13172が前記省電力モード復帰タイマ回路13146へ出力されるよう構成されている。即ち,前記復帰インタラプトマスク命令が設定されている場合には,前記復帰インタラプト信号193の入力は無視される。
【0027】
次に,前記省電力モード復帰タイマ回路13146により,前記復帰インタラプトマスク命令が設定されていない場合の前記復帰インタラプト信号193の入力の有無(即ち,前記インタラプトマスク回路13152からの所定の信号13172の有無)がチェックされ(S215),該入力がない場合には,S211へ戻って前述した動作が繰り返される(S211〜S215)。
一方,前記復帰インタラプトマスク命令が設定されていない状態で前記復帰インタラプト信号193の入力があった場合には(S215のYes側),前記省電力モード復帰タイマ回路13146により,前記省電力モード復帰タイマ設定レジスタ13143から所定の時間情報が読み出される(S216)。該時間情報は,前記復帰インタラプト信号193の入力があってから,当該周辺装置制御回路131,132,…に接続された前記周辺装置121,122,…を前記省電力モードからもとの状態へ復帰させるまでの待ち時間(以下,省電力モード復帰時間という)であり,前記CPU11に予め登録された情報が,当該情報処理装置Xの起動時等に,前記システムバス181を介して予め設定されるものである。該省電力モード復帰時間は,前記省電力モード移行時間と同様に,前記クロック制御回路16及び他の周辺装置制御回路131,132,…相互間において,正しい復帰順序となるように設定される。
【0028】
次に,前記省電力モード復帰タイマ回路13146が計時を開始し,前記省電力モード復帰時間が経過した時点で,前記省電力モード制御回路1312に対して省電力モード復帰信号13166が出力される(S217)。
次に,前記省電力モード復帰信号13166を入力した前記省電力モード制御回路1312により,前記主クロックマスク回路1313及び前記周辺装置主制御回路1311に対し,前記周辺装置121,122,…を復帰させる旨を表すモード制御信号1318が出力される(S218)。
さらに,前記モード制御信号1318を入力した前記主クロックマスク回路1313及び前記周辺装置主制御回路1311により,接続された前記周辺装置121,122,…が前記省電力モードからもとの状態へ復帰するよう制御された後(S219),前記周辺装置制御回路131,132,…における前記省電力モードからの復帰動作が終了する。
【0029】
一方,前記省電力モード強制復帰レジスタに前記強制復帰命令が設定されており,これが前記省電力モード制御回路1312により読み出された場合は(S212のYes側),他の条件にかかわらず,前記省電力モード制御回路1312により,前記周辺装置121,122,…を復帰させる旨を表すモード制御信号1318が出力され(S218),前記主クロックマスク回路1313及び前記周辺装置主制御回路1311により,接続された前記周辺装置121,122,…が前記省電力モードからもとの状態へ復帰するよう制御される(S219)。
前記復帰インタラプトマスク命令は,前記CPU11により前記システムバス181を介して,前記周辺装置制御回路131,132,…それぞれについて予め設定されるものであり,前記復帰インタラプト信号193の入力を無視するものについてのみ設定される。前記復帰インタラプトマスク命令の設定と,前記省電力モード強制復帰レジスタへのアクセスにより,前記周辺装置121,122,…を,前記CPU11の前記省電力モードからの復帰に連動させずに,前記CPU11から任意のタイミングで復帰させることができる。例えば,ハードディスク等,必ずしも常時は使用しない周辺装置121,122,…については,前記復帰インタラプトマスク命令を設定しておき,前記CPU11が復帰後,アクセスが必要となった時点で前記省電力モード強制復帰レジスタ13144にアクセスして復帰させる制御を行うことでより省電力化が図れることとなる。
【0030】
【発明の効果】
以上説明したように,本発明によれば,CPU及び周辺装置相互間における省電力モードからもとの状態への復帰の順序を制御する手段を有しているので,省電力モードからもとの状態への復帰の際にアクセスされるROMやRAM等の周辺装置の省電力モードからもとの状態への復帰を正常に行える。さらに,その結果としてより省電力化が図れることとなる。さらに,CPUと連動させて省電力モードから復帰させたくない周辺装置にも対応でき,任意のタイミングで周辺装置を省電力モードから復帰させることもできる。
また,省電力モードからもとの状態への復帰の順序が,バスに接続されたレジスタに時間情報を再設定するだけで変更できるので,システム構成の変更等に柔軟に対応でき,より拡張性の高い情報処理装置となる。
また,CPUから周辺装置に対する通知が,標準的に設けられるバスを介して行われるので,特別に出力線等を設ける必要がなく,システム構成の変更に柔軟に対応できるというCPUの特徴が失われることがない。
【図面の簡単な説明】
【図1】本発明の実施の形態に係る情報処理装置Xの構成を表すブロック図。
【図2】本発明の実施の形態に係る情報処理装置Xを構成する周辺装置制御回路の構成例を表すブロック図。
【図3】本発明の実施の形態に係る情報処理装置Xを構成するインタラプト制御回路の構成例を表すブロック図。
【図4】本発明の実施の形態に係る情報処理装置Xを構成するクロック制御回路16の構成例を表すブロック図。
【図5】本発明の実施の形態に係る情報処理装置Xにおける省電力モードへの移行手順を表すフローチャート。
【図6】本発明の実施の形態に係る情報処理装置Xにおける省電力モードからの復帰手順を表すフローチャート。
【符号の説明】
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,,…処理手順(ステップ)[0001]
BACKGROUND OF THE INVENTION
The present invention relates to power saving in an information processing apparatus.
[0002]
[Prior art]
In recent years, with the spread of portable small computers and the like, power saving of information processing apparatuses including a CPU and its peripheral devices has become an important issue for extending battery life.
As a general power saving method for an information processing apparatus, when an idle state in which the CPU is not in particular working for a predetermined time, such as a waiting state for key input, is detected for a predetermined time, the CPU is switched to a power saving mode. There is something to migrate. This power saving mode is a standby state (interrupt standby state) that waits for the input of a predetermined interrupt signal. When the interrupt signal is detected, the circuit is not connected to a circuit (component) other than the minimum necessary to return to the original state. The power supply is in a stopped state.
For the purpose of minimizing power consumption in the power saving mode, Japanese Patent Application Laid-Open No. 7-121259 discloses that when the CPU idle state is detected, the CPU shifts to an interrupt standby state (power saving mode). , Those that stop the clock signal to the CPU and shift to other power saving modes (such as stopping the control circuit) of other peripheral devices (such as a hard disk drive) have been proposed. As a result, the information processing apparatus as a whole can be reduced in power consumption.
By the way, when the CPU is shifted to the power saving mode and the peripheral devices such as ROM and RAM are also shifted to the power saving mode such as circuit stop at the same time, in order to further reduce power consumption, the CPU is switched to the power saving mode. It is necessary to ensure that the ROM and RAM can be accessed until the transition of the above is completed. Otherwise, since the CPU accesses peripheral devices such as ROM and RAM even during the transition to the power saving mode, it cannot normally shift to the power saving mode. Furthermore, there is a case in which the order of shifting to the power saving mode may have to be taken into consideration between peripheral devices, for example, when there is a peripheral device that accesses the RAM, which 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, if the CPU recovers before the access to the ROM or RAM is guaranteed and the process is resumed, there is a problem that normal operation cannot be guaranteed. In particular, in recent information processing devices, a PLL (Phase Locked Loop) circuit is used as a control circuit for CPUs and peripheral devices for speeding up.Built-inHowever, many of them are operated in synchronism with a clock having the same phase, and this problem becomes remarkable. In other words, since the PLL requires a long time in ms until the output is stabilized after the clock input is started, the peripheral device operated by the clock output of the PLL is accessed until the clock output is stabilized. Therefore, normal operation cannot be guaranteed.
[0003]
[Problems to be solved by the invention]
However, the technique disclosed in the above publication does not have means for controlling the order of transition to the power saving mode and return to the original state between the CPU and peripheral devices, such as the ROM and RAM. When the peripheral device is also shifted to the power saving mode or operates using the PLL, there is a problem that the transition to the power saving mode and the return to the original state cannot be performed normally. there were.
Further, in the technique disclosed in the above publication, in order to output a signal indicating that the CPU is in an idle state to the peripheral device side, it is necessary to provide an output line or the like separately from the existing interface such as a bus to the CPU. There is also a problem in that the CPU characteristic that it can flexibly cope with a change in the system configuration is lost.
Accordingly, the present invention has been made in view of the above circumstances, and its object is to provide a power saving mode between a CPU and peripheral devices.FromAn object of the present invention is to provide an information processing apparatus that can control the order of return to the original state and can flexibly cope with changes in the system configuration.
[0004]
[Means for Solving the Problems]
To achieve the above objectiveBookThe inventionWhen 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, based on the input of a predetermined return interrupt signal And a peripheral device control means for controlling the peripheral device to return from the power saving mode, wherein the peripheral device control means has a predetermined power saving mode return time after inputting the return interrupt signal. After the elapse of time, the peripheral device is returned from the power saving mode, and a return interrupt mask instruction that does not cause the peripheral device control means to return from the power saving mode according to the return interrupt signal is sent to the bus. A return interrupt mask register provided so as to be set via the peripheral device, and the peripheral device is controlled by the peripheral device control means. Forced return instruction to al forcibly return the information processing apparatus characterized by a power saving mode forced return registers provided so as to be set via the bus formed by comprising for each said peripheral deviceIt is.
Thus, if the power saving mode return time is appropriately set for each peripheral device, the return order from the power saving mode between the peripheral devices can be controlled.
In addition, by setting the return interrupt mask instruction, it is possible to cope with peripheral devices that do not want to return from the power saving mode in conjunction with the CPU. The forced return instruction allows the peripheral device to be put out of the power saving mode at any timing. Can be restored.
In addition, access to peripheral devices from the CPU.IsSince it is performed via a bus provided in the CPU as a standard, it is not necessary to provide a special signal line or the like, and the characteristic of the CPU that can flexibly cope with a change in system configuration is not impaired..
[0005
It is also possible to have 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.
This makes it easy to change the time information in the power saving return timer setting register from the CPU or the like even when the order of returning from the power saving mode between peripheral devices changes due to a change in the system configuration or the like. It becomes possible to cope with.
[0006
The internal interrupt signal generating means for generating a predetermined internal interrupt signal under predetermined conditions for each of the peripheral devices, and when the internal interrupt signal and an external interrupt signal input from the outside are input It is also conceivable to include return interrupt signal generation means for generating a return interrupt signal.
As a result, the trigger for returning from the power saving mode can be generated not only by an external interrupt signal 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, the internal interrupt signal can be generated to return from the power saving mode.
[0007]
In addition, for the return interrupt signal generation means, for each of the internal interrupt signal and the external interrupt signal,IgnoreAn internal / external interrupt mask register provided so that an internal / external interrupt mask instruction can be set via the bus is also conceivable.
As a result, it is possible to select whether to return from the power saving mode in response to the internal interrupt signal from any of the peripheral devices, thereby increasing flexibility..
[0008]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings so that the present invention can be understood. The following embodiment is an example embodying the present invention, and does not limit the technical scope of the present invention.
FIG. 1 is a block diagram showing the configuration of the information processing apparatus 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 apparatus X according to the embodiment of the present invention. FIG. 3 is a block diagram showing a configuration example of an interrupt control circuit constituting the information processing apparatus X according to the embodiment of the present invention. FIG. 4 shows the information processing apparatus X according to the embodiment of the present invention. FIG. 5 is a block diagram showing a configuration example of the
[0009]
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 apparatus X includes a CPU 11, a
The CPU 11 performs various arithmetic processes in accordance with programs and data acquired from the
[0010]
Next, the configuration of the peripheral
The peripheral
That is, five registers (temporary storage devices) connected to the
The five
The peripheral device main control circuit 1311 controls the
[0011]
Next, the configuration of the interrupt
The interrupt control circuit gives the CPU 11, the
That is, an interrupt
The external and internal interrupt
The two
[0012]
Next, the configuration of the
The
That is, three registers connected to the
The sub
The three
[0013]
Next, an operation procedure in which the CPU 11 and other devices shift to the power saving mode when the CPU 11 enters the idle state will be described with reference to FIG. Hereinafter, S101, S102, and the like represent operation procedure (step) numbers.
First, when the CPU 11 enters the idle state, the
[0014]
Next, whether or not it is impossible to stop the supply of the
Each of the
If it is determined in S102 that the
On the other hand, if it is determined in S102 that the
In S104, after the CPU 11 itself shifts to the power saving mode (interrupt standby state), the shift operation to the power saving mode in the CPU 11 ends.
[0015]
By the way, only the CPU 11 can notify the
In order to solve this problem, the feature of the present invention is that a timer circuit is provided for each of the
Hereinafter, the transition operation to the power saving mode in the peripheral
[0016]
In the peripheral
[0017]
The power saving mode transition time is set to be equal to or longer than the time required for the CPU 11 to transition to the power saving mode, and the relationship with other
[0018]
Next, when the power saving mode
Next, the power saving
Further, after the connected
Here, the main clock mask circuit 1313 and the peripheral device main control circuit 1311 are individually configured according to the
[0019]
As described above, the
Further, since the notification from the CPU 11 to the
Further, since the power saving mode transition time can be set via the
[0020]
On the other hand, in the clock control circuit 16 (FIG. 4), the main clock
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
[0021]
Next, when the main clock
Furthermore, after the high-speed
In this way, after receiving the notification from the CPU 11 (S121), the output of the
[0022]
Next, referring to FIG. 6, the CPU 11, the
First, in the interrupt control circuit 14 (FIG. 3), the contents of the interrupt mask register 142 are confirmed by the external interrupt
Further, by the external and internal interrupt
As an example of the internal interrupt
The external and internal interrupt
[0023]
Next, whether or not the external interrupt
On the other hand, if any one of the external and internal interrupt
Next, a predetermined delay time (hereinafter referred to as a return interrupt signal delay time) is read from the interrupt delay
The return interrupt signal delay time is at least longer than the time required for the
[0024]
On the other hand, in the clock control circuit 16 (FIG. 4), the main clock
Next, time information is read from the main clock recovery
The time information set in the main clock return
[0025]
On the other hand, in the peripheral
[0026]
Further, the interrupt
The interrupt
[0027]
Next, whether or not the return interrupt
On the other hand, when the return interrupt
[0028]
Next, when the power saving mode
Next, the power-saving
Further, the connected
[0029]
On the other hand, when the forced return command is set in the power saving mode forced return register, and this is read by the power saving mode control circuit 1312 (Yes in S212), the above is executed regardless of other conditions. A
The return interrupt mask instruction is preset for each of the peripheral
[0030]
【The invention's effect】
As described above, according to the present invention, the power saving mode between the CPU and the peripheral device is set.FromSince it has means to control the order of return to the original state,FromPeripheral devices such as ROM and RAM accessed when returning to the original stateofPower saving modeFromIt is possible to return to the original state normally. As a result, further power saving can be achieved.Furthermore, it is possible to cope with peripheral devices that do not want to return from the power saving mode in conjunction with the CPU, and the peripheral devices can be returned from the power saving mode at any timing.
Power saving modeFromSince the order of returning to the original state can be changed simply by resetting the time information in the registers connected to the bus, it is possible to flexibly respond to changes in the system configuration, etc. Become.
In addition, the CPU is connected to the peripheral device.DoSince the notification is performed via a standard bus, there is no need to provide an output line or the like, and the CPU feature that can flexibly cope with a change in the system configuration is not lost.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an information processing apparatus X according to an embodiment of the present invention.
FIG. 2 is a block diagram illustrating a configuration example of a peripheral device control circuit configuring the information processing device X according to the embodiment of the present invention.
FIG. 3 is a block diagram illustrating a configuration example of an interrupt control circuit included in the information processing apparatus X according to the embodiment of the present invention.
4 is a block diagram illustrating a configuration example of a
FIG. 5 is a flowchart showing a procedure for shifting to a power saving mode in the information processing apparatus X according to the embodiment of the present invention.
FIG. 6 is a flowchart showing a return procedure from the power saving mode in the information processing apparatus X according to the embodiment of the present invention.
[Explanation of symbols]
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 transmitter
152 ... Low speed transmitter
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 line
1921, 1922, ... Internal interrupt signal
13141 ... Power saving mode transition control register
13142 ... Power saving mode transition timer setting register
13143 ... Power saving mode return timer setting register
13144 ... Power saving mode forced return register
13145 ... Power saving mode transition timer circuit
13146 ... Power saving mode return timer circuit
13151 ... Interrupt mask register
13152 ... Interrupt mask circuit
S101, S102, ... Processing procedure (step)
Claims (4)
前記周辺装置制御手段が,前記復帰割込み信号の入力後,所定の省電力モード復帰時間の経過後に,前記周辺装置を前記省電力モードから復帰させるものであり,
前記周辺装置制御手段による前記復帰割込み信号に応じた前記省電力モードからの復帰を実行させない復帰割込みマスク命令を,前記バスを介して設定できるよう設けられた復帰割込みマスクレジスタと,
前記周辺装置制御手段によって前記周辺装置を前記省電力モードから強制的に復帰させる強制復帰命令を,前記バスを介して設定できるよう設けられた省電力モード強制復帰レジスタと,を前記周辺装置それぞれについて具備してなることを特徴とする情報処理装置。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, based on the input of a predetermined return interrupt signal In an information processing apparatus comprising peripheral device control means for controlling the peripheral device to return from the power saving mode,
Said peripheral device control means, after the input of the return interrupt signal, after the lapse of a predetermined power saving mode return time is in the pre-Symbol peripheral ones to return from the power saving mode,
A return interrupt mask register provided so that a return interrupt mask instruction that does not execute return from the power saving mode according to the return interrupt signal by the peripheral device control means can be set via the bus;
For each peripheral device, a power saving mode forced return register provided so that a forced return command for forcibly returning the peripheral device from the power saving mode by the peripheral device control means can be set via the bus. An information processing apparatus comprising the information processing apparatus.
前記内部割込み信号及び外部から入力される外部割込み信号のいずれかが入力された際に前記復帰割込み信号を発生させる復帰割込み信号生成手段と,を具備してなる請求項1又は2のいずれかに記載の情報処理装置。Internal interrupt signal generating means for generating a predetermined internal interrupt signal under predetermined conditions for each of the peripheral devices;
3. A return interrupt signal generating means for generating the return interrupt signal when either the internal interrupt signal or an external interrupt signal input from the outside is input. The information processing apparatus described.
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 JP2003131766A (en) | 2003-05-09 |
JP3983026B2 true 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) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4746404B2 (en) | 2005-10-31 | 2011-08-10 | 株式会社東芝 | Information processing apparatus and resume control method |
US20080162748A1 (en) * | 2006-12-31 | 2008-07-03 | Blaise Fanning | Efficient power management techniques for computer systems |
WO2008084541A1 (en) * | 2007-01-11 | 2008-07-17 | Panasonic Corporation | Receiver and control method for strting of the same |
JP4960813B2 (en) | 2007-09-14 | 2012-06-27 | 株式会社リコー | Power control system |
US8775836B2 (en) * | 2010-12-23 | 2014-07-08 | Intel Corporation | Method, apparatus and system to save processor state for efficient transition between processor power states |
JP5874399B2 (en) * | 2012-01-05 | 2016-03-02 | 株式会社リコー | Processing equipment |
JP6160822B2 (en) * | 2013-08-09 | 2017-07-12 | コニカミノルタ株式会社 | I / O expansion device group and I / O expansion device |
JP6245056B2 (en) * | 2014-04-28 | 2017-12-13 | 富士通株式会社 | Information processing apparatus, power supply control program, and USB device |
JP7022605B2 (en) * | 2018-01-26 | 2022-02-18 | キヤノン株式会社 | Information processing equipment, its control method, and programs |
-
2001
- 2001-10-22 JP JP2001323410A patent/JP3983026B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2003131766A (en) | 2003-05-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100881774B1 (en) | Method and apparatus to provide deterministic power-on voltage in a system having processor-controlled voltage level | |
US5546568A (en) | CPU clock control unit | |
US7032117B2 (en) | Dynamic power control in integrated circuits | |
US20020095609A1 (en) | Multiprocessor apparatus | |
JPH0776894B2 (en) | Clock signal control method for processor and information processing system | |
JP3437174B2 (en) | Power saving integrated circuit and control method of power saving integrated circuit | |
JPH11184554A (en) | Clock control type information processor | |
KR20060087826A (en) | Power saving method and apparatus for mobile system with blocking the power of the module | |
KR100392451B1 (en) | Portable computer system and controlling method thereof | |
JP3983026B2 (en) | Information processing device | |
CN107533353B (en) | Transition of a control device between a normal state and a rest state | |
JP3070527B2 (en) | Wireless mobile terminal | |
US9201822B2 (en) | Host controller apparatus, information processing apparatus, and event information output method | |
US7219248B2 (en) | Semiconductor integrated circuit operable to control power supply voltage | |
KR100367634B1 (en) | Memory controller and method of memory control | |
JPH07281782A (en) | Clock control circuit | |
CN107068177B (en) | Control apparatus for controlling memory and control method thereof | |
US20190214989A1 (en) | Semiconductor device and semiconductor system | |
JP4467651B2 (en) | Method for operating a communication channel via a dynamic blocking and / or initiating operation in a mixed master / slave subscriber environment, and a system configured to implement such a method | |
JP2010055265A (en) | System lsi, control method of system lsi, program, and storage medium | |
JP4389308B2 (en) | Memory control device and control method | |
JPH0594226A (en) | Clock switching system | |
JPH11149376A (en) | Boot loader circuit | |
JPH10333790A (en) | Information processor equipped with power-saving function and power saving releasing method for the information processor | |
JP2004030100A (en) | Electric power management method, and computer |
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 |