JP3793214B2 - Display device and control method thereof - Google Patents

Display device and control method thereof Download PDF

Info

Publication number
JP3793214B2
JP3793214B2 JP2004250934A JP2004250934A JP3793214B2 JP 3793214 B2 JP3793214 B2 JP 3793214B2 JP 2004250934 A JP2004250934 A JP 2004250934A JP 2004250934 A JP2004250934 A JP 2004250934A JP 3793214 B2 JP3793214 B2 JP 3793214B2
Authority
JP
Japan
Prior art keywords
flcd
display
address
data
process proceeds
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 - Lifetime
Application number
JP2004250934A
Other languages
Japanese (ja)
Other versions
JP2004348164A (en
Inventor
高司 山本
秀雄 森
和彦 村山
智之 大野
敦 水留
明雄 吉田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2004250934A priority Critical patent/JP3793214B2/en
Publication of JP2004348164A publication Critical patent/JP2004348164A/en
Application granted granted Critical
Publication of JP3793214B2 publication Critical patent/JP3793214B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

本発明は表示装置及び表示装置の制御方法に関するものである。   The present invention relates to a display device and a display device control method.

一般に、情報処理システム(或いは装置)では、情報の視覚的表現機能を実現する手段として表示装置を使用している。このような表示装置としてはCRT表示装置が広く使われていることは周知の通りである。   In general, an information processing system (or device) uses a display device as means for realizing a visual expression function of information. As is well known, CRT display devices are widely used as such display devices.

CRT表示装置では、表示装置自体では何らの表示メモリ機能を有していないため、すべての各時点での表示データを常時表示装置に供給し続けなければならず、また、表示データの供給を停止すれば直ちにその表示画面の表示は行われなかった。     In the CRT display device, the display device itself does not have any display memory function, so display data at all times must be continuously supplied to the display device, and supply of display data is stopped. As a result, the display screen was not immediately displayed.

このため、CRT表示装置における表示制御では、情報処理装置内に設けられたビデオメモリ(以下、VRAMという)に対して表示する画像の書き込み動作と、VRAMからの表示データの読み出し動作とを常時実行しなければならない。   Therefore, in the display control in the CRT display device, an image writing operation to be displayed on a video memory (hereinafter referred to as VRAM) provided in the information processing device and a display data reading operation from the VRAM are always executed. Must.

また、上述したCRTの表示制御の場合、表示情報を更新するなどのためのビデオメモリに対する表示データの書き込みと、表示のための読み出しはそれぞれ独立して行われるため、情報処理システム側のプログラムでは表示タイミングを一切考慮することがなく、任意のタイミングで所望の表示データを書き込むことができるという利点がある。   In the case of the above-described CRT display control, writing of display data to the video memory for updating display information and reading for display are performed independently. There is an advantage that desired display data can be written at an arbitrary timing without considering any display timing.

しかし、一般にCRT表示装置は、その奥行きが表示面積に比例して大きくるので、CRT表示装置全体の容積は大きくなるばかりである。つまり、CRT表示装置は、設置場所、携帯性等の自由が損なわれ、小型化という点で欠点を有する。   However, in general, since the depth of a CRT display device increases in proportion to the display area, the volume of the entire CRT display device only increases. That is, the CRT display device has disadvantages in terms of downsizing because freedom of installation location, portability, and the like is lost.

この点を補うものとしては、液晶表示器(以下、「LCD」という。)がある。LCDは、その表示面積に対しての厚みが、CRT表示装置と比較して極端に薄くできる。このようなLCDの中に、強誘電性液晶(Ferroelectric Liquid Crystal)の液晶セルを用いた表示器(以下、FLCDという)がある。   To compensate for this, there is a liquid crystal display (hereinafter referred to as “LCD”). The LCD can be made extremely thin with respect to its display area as compared with a CRT display device. Among such LCDs, there is a display (hereinafter referred to as FLCD) using ferroelectric liquid crystal liquid crystal cells.

FLCDの特徴の1つは、その液晶セルが電界の印加に対して表示状態の保存性を有する点にある。すなわち、FLCDは、その液晶セルが十分に薄いものであり、その中の細長いFLCの素子は、電界を除いてもそれぞれの配向状態を維持する。この結果、このようなFLCの素子は、双安定性を有しており、このようなFLCの素子の双安定性を活用したFLCDは、表示内容を記憶する特性を有している(特許文献1)。
特開昭63−243922号公報
One of the characteristics of the FLCD is that the liquid crystal cell has display state storability with respect to application of an electric field. In other words, the FLCD has a sufficiently thin liquid crystal cell, and the elongated FLC elements therein maintain their respective alignment states even when the electric field is removed. As a result, such an FLC element has bistability, and an FLCD utilizing the bistability of such an FLC element has a characteristic of storing display contents (Patent Literature). 1).
JP-A-63-243922

さて、FLCDを駆動する場合には、CRTや他の液晶表示器と異なり、表示画像を記憶して表示し続けるので、連続的なリフレッシュ駆動周期に対して時間的な余裕が生ずる。この結果、その連続的なリフレッシュ駆動とは別に、表示画面上の変更のあった部分のみの表示状態を更新する、所謂、部分書換駆動が可能になる。   When driving an FLCD, unlike a CRT or other liquid crystal display, a display image is stored and displayed, so that there is a time margin for a continuous refresh drive cycle. As a result, apart from the continuous refresh drive, so-called partial rewrite drive that updates the display state of only the changed part on the display screen becomes possible.

一方、このことより、新たに表示データを更新しない限り前の情報が表示し続けることになり、例えばホストコンピュータ等がダウンしたような場合にはいつまでも以前の表示がつづくことにもなり、従来の表示装置の表示制御だけではこれらの事態に対応できなかった。   On the other hand, this means that the previous information will continue to be displayed unless the display data is newly updated. For example, if the host computer is down, the previous display will continue forever. Only the display control of the display device could not cope with these situations.

また、FLCDの場合、その表示色を疑似的に増やすために2値化中間調処理が行われる。この処理の代表的なものに、自然画像の画像品位と文字画像の画像品位を両立するED(誤差拡散)法が知られている。このED処理は、ある画素で発生した誤差を近隣の画素に次々と拡散(配分)するため、その処理に際して画像は連続性が要求される。   In the case of an FLCD, a binary halftone process is performed to increase the display color in a pseudo manner. As a representative example of this processing, an ED (error diffusion) method is known which achieves both image quality of a natural image and image quality of a character image. In this ED process, an error generated in a certain pixel is diffused (distributed) to neighboring pixels one after another, so that the image is required to be continuous in this process.

また、このED法を用いると、どうしても元の画像との間で誤差の発生が避けられない。従って、例えば表示色を増やすに従ったこの誤差の発生による画質の変化が問題となる。   In addition, when this ED method is used, it is inevitable that an error occurs with the original image. Therefore, for example, a change in image quality due to the occurrence of this error as the display color is increased becomes a problem.

更に、FLCDの如くにある程度のインテリジェンス機能を有する表示装置では、CRT表示装置の如くに特定の1つの表示モードのみを備え、表示データの制御のみで状態の変化等に対応していたものと相違し、表示装置そのものであっても2つまたはそれ以上の動作モードを備えるものもある。しかし、従来は、表示画面の表示を確認する以外にその動作モード状態を認識することが困難であり、装置の電源が落ちているのか、あるいはそうでないのか、装置の動作不良などが発生した状態であるか等容易に認識することができないのが実情であった。   Further, a display device having a certain level of intelligence function such as an FLCD has only one specific display mode like a CRT display device, and is different from a display device that responds to a change in state only by controlling display data. However, some display devices themselves have two or more operation modes. However, in the past, it was difficult to recognize the operation mode state other than confirming the display on the display screen, whether the device was turned off or not, or the device malfunctioned, etc. The reality is that it cannot be easily recognized.

本発明は上記問題点に鑑みなされたものであり、複数の動作モードを備える表示装置であっても、現在の表示動作状態が確実且つ迅速に目視確認することが可能な表示装置及び表示装置の制御方法を提供することを目的とする。この目的を達成する一手段として、例えば以下の構成を備える。すなわち、
複数の画素からなる表示器を線順次走査駆動することにより画像を表示し、前記線順次走査駆動を行う表示動作モードと、前記線順次走査駆動を行わない省電力動作モードとを含む複数の動作モードを備える表示装置であって、
前記動作モードを設定するモード設定手段と、
前記モード設定手段で設定された動作モードを表示するための前記表示器とは別個に設けられた表示手段と、
前記表示手段を前記動作モードに対応した態様で表示させる表示制御手段とを備える。
The present invention has been made in view of the above problems, and there is provided a display device and a display device capable of reliably and quickly visually confirming the current display operation state even in a display device having a plurality of operation modes. An object is to provide a control method. As one means for achieving this object, for example, the following configuration is provided. That is,
A plurality of operations including a display operation mode in which an image is displayed by line-sequential scanning driving a display device including a plurality of pixels and the line-sequential scanning driving is performed, and a power saving operation mode in which the line-sequential scanning driving is not performed. A display device comprising a mode,
Mode setting means for setting the operation mode;
Display means provided separately from the indicator for displaying the operation mode set by the mode setting means;
Display control means for displaying the display means in a mode corresponding to the operation mode.

また、前記表示器は、画像の表示状態を保持する機能を有することを特徴とする。   Further, the display device has a function of holding a display state of an image.

また、前記表示手段は発光ダイオードで構成されており、前記表示制御手段は前記装置の動作モードに対応して前記発光ダイオードの点灯および消灯時間を制御することを特徴とする。   Further, the display means is composed of a light emitting diode, and the display control means controls the lighting and extinguishing time of the light emitting diode corresponding to the operation mode of the device.

以下、添付図面に従って本発明に係る一実施例を詳細に説明する。   Hereinafter, an embodiment according to the present invention will be described in detail with reference to the accompanying drawings.

図1は本実施例装置(FLCD)を含む表示システムの構成を示す図である。図1において、1はFLCDインタフェース2を介して本実施例表示装置(FLCD)3を制御するとともに、FLCD3に表示データを供給するホスト、2は本実施例のFLCD3とホスト1側とのインタフェースを司るFLCDインタフェースであり、実際には1枚のインタフェースボードとしてホスト1内に装着されている。また、FLCD3はFLCパネル5の各種表示制御を行うと共に、FLCパネル5より表示データを表示させるパネルコントローラである。   FIG. 1 is a diagram showing a configuration of a display system including an apparatus (FLCD) of this embodiment. In FIG. 1, 1 controls the display device (FLCD) 3 of this embodiment via the FLCD interface 2 and a host for supplying display data to the FLCD 3, 2 designates an interface between the FLCD 3 of this embodiment and the host 1 side. It is an FLCD interface that manages, and is actually mounted in the host 1 as one interface board. The FLCD 3 is a panel controller that performs various display controls of the FLC panel 5 and displays display data from the FLC panel 5.

なお、FLCDインタフェース2は、システムに固定的に接続されていても良いし、通常、ワークステーションやパーソナルコンピュータに代表される情報処理装置に設けられた拡張スロットと呼ばれる部分にカード(もしくはボード)として接続されるものであってもよい。そして、ホスト1とFLCDインタフェース2との間は、ISAインタフェース仕様、あるいはVLインタフェース仕様、PCIインタフェース仕様で接続することができる。また、FLCD3とFLCDインタフェース2とはケーブル7で接続されている。   Note that the FLCD interface 2 may be fixedly connected to the system, ordinarily as a card (or board) in a portion called an expansion slot provided in an information processing apparatus represented by a workstation or a personal computer. It may be connected. The host 1 and the FLCD interface 2 can be connected by the ISA interface specification, the VL interface specification, or the PCI interface specification. The FLCD 3 and the FLCD interface 2 are connected by a cable 7.

本システムにおいては、ホスト1においてOSやアプリケーションをロードしそれを実行することになる。実行中の画面情報はFLCDインタフェース2内に設けられたVRAMに格納することでFLCD3に表示させることになる。なお、動作するOSやアプリケーションは何でも良く、例えばOSとしては米国マイクロソフト社のMS−WINDOWS(登録商標)があり、同OS上で動作するアプリケーションなどである。   In this system, the host 1 loads and executes an OS and applications. The screen information being executed is stored in the VRAM provided in the FLCD interface 2 and displayed on the FLCD 3. Any OS or application may be used. For example, the OS includes MS-WINDOWS (registered trademark) of Microsoft Corporation in the United States, and is an application that operates on the OS.

本実施例の図1に示すシステムにおける画像の表示に関するデータの流れの概念を図2に示す。   FIG. 2 shows the concept of data flow related to image display in the system shown in FIG. 1 of the present embodiment.

アプリケーションもしくはOSが、FLCDインタフェース2内のVRAMに対して書き込みを行うと、FLCDインタフェース2はそれを2値化中間調処理(実施例ではED処理)を行い、それをFLCD3の1画面分の容量を有するフレームメモリ(各画素4ビット=R,G,B,I)に書き込む。このフレームメモリの内容をFLCD3に転送し、表示する。   When the application or OS writes to the VRAM in the FLCD interface 2, the FLCD interface 2 performs binarization halftone processing (ED processing in the embodiment) and stores it in the capacity of one screen of the FLCD 3. Are written in a frame memory (4 bits for each pixel = R, G, B, I). The contents of this frame memory are transferred to the FLCD 3 and displayed.

つまり、一般の表示装置では、VRAMの内容がそのまま表示装置に転送されていたのに対し、本実施例におけるFLCDインタフェース2には、VRAMと、FLCD3との間に、フレームメモリを介在させている。   That is, in the general display device, the contents of the VRAM are transferred to the display device as they are, whereas in the FLCD interface 2 in this embodiment, a frame memory is interposed between the VRAM and the FLCD 3. .

図3に、本実施例におけるFLCDインタフェース2の具体的なブロック構成を示す。   FIG. 3 shows a specific block configuration of the FLCD interface 2 in the present embodiment.

図示において、300はFLCDインタフェース2内に設けられ、当該インタフェース全体の制御を司るCPUである。このCPU300は、ROM308に格納されているプログラムに従って動作する。   In the figure, a CPU 300 is provided in the FLCD interface 2 and controls the entire interface. The CPU 300 operates in accordance with a program stored in the ROM 308.

301はVRAMであり、1画素に対してR,G,Bそれぞれ1バイト(8ビット)が割り当てられている(計3バイト=24ビット=約1600万色)。一般に、RGB各色要素に対して8ビットを与えたとき、それで再現されるカラー画像はフルカラー画像と呼ばれる。なお、上記VRAMは、1280×1024ドットサイズの画像を記憶可能な容量を有している(1280×1024×3≒4Mバイト)。   Reference numeral 301 denotes a VRAM in which 1 byte (8 bits) is assigned to each pixel of R, G, and B (total 3 bytes = 24 bits = about 16 million colors). In general, when 8 bits are given to each color element of RGB, a color image reproduced by the color element is called a full color image. The VRAM has a capacity capable of storing an image having a size of 1280 × 1024 dots (1280 × 1024 × 3≈4 Mbytes).

302はVRAM301に対するアクセスを制御するためのSVGAチップ(アクセラレータ)であり、ホスト1からの指令に基づいてVRAM301への描画(書き込み)及び読み出しを行うことが可能になっている。また、CPU300からの指令に基づいて図形等の描画を行う機能、及び後述する各機能を備えている。なお、VRAM301に対して各種図形の描画を行ったりするためのLSIは、ディスプレイコントロールチップとして広く用いられるものであり、それ自身は公知のものである。   Reference numeral 302 denotes an SVGA chip (accelerator) for controlling access to the VRAM 301, which can perform drawing (writing) and reading on the VRAM 301 based on commands from the host 1. Further, it has a function of drawing graphics and the like based on commands from the CPU 300 and each function described later. Note that an LSI for drawing various graphics on the VRAM 301 is widely used as a display control chip, and is itself known.

303は書換検出/フラグ生成回路であって、SVGAチップ302がVRAM301に対する書き込み(描画処理)を行うとき、そのライトイネーブル信号(実際はチップセレクト信号も含む)をトリガにして、書き込みアドレスを検出し、何ライン目が更新されたかを検出し、それを保持する。   Reference numeral 303 denotes a rewrite detection / flag generation circuit. When the SVGA chip 302 performs writing (drawing processing) to the VRAM 301, the write enable signal (actually including a chip select signal) is used as a trigger to detect a write address, It detects how many lines have been updated and holds it.

より詳細を説明すると、この書換検出/フラグ生成回路303は、SVGAチップ302がVRAM301に対して書き込みを行うときのライトイネーブル信号を活用し、そのとき出力されていたアドレスを不図示のレジスタにラッチする。そして、そのラッチされたアドレスデータから表示画面の何ライン目に対して書き込みが行われたのかを演算し(書き込みアドレスを1ラインのバイト数で割る回路で算出できる)、書換えられたラインに対応する領域フラグに“1”をセットする。   More specifically, the rewrite detection / flag generation circuit 303 uses a write enable signal when the SVGA chip 302 writes to the VRAM 301, and latches the output address at that time in a register (not shown). To do. Then, it calculates the number of lines on the display screen from the latched address data (it can be calculated by a circuit that divides the write address by the number of bytes in one line) and corresponds to the rewritten line. Set "1" to the region flag to be used.

本実施例におけるFLCD3の画面全体のライン数は1024(0ライン目〜1023ライン目)であり、各領域は32ラインを1単位としているので、領域フラグは合計32(=1024/32)ビットである。すなわち、この32ビットのフラグにおける各ビットは、0〜31ライン目、32〜63ライン目、…、992〜1023目の各領域に対する書き込みがあったか否かを保持する。   In this embodiment, the number of lines of the entire screen of the FLCD 3 is 1024 (0th line to 1023th line), and each area has 32 lines as one unit, so the area flag is a total of 32 (= 1024/32) bits. is there. That is, each bit in the 32-bit flag holds whether or not writing has been made to each area of the 0th to 31st lines, the 32nd to 63rd lines, ..., 992 to 1023.

1ライン毎に書換えられたか否かを保持するのではなく、ある程度のライン数を単位としているのは、一般に、表示画像を変更する際には1ラインのみの書換えはほとんどなく、複数ラインにまたがっているためである。なお、1領域に対して割り当てるライン数は32に限定されるものではなく、これ以外であっても良い。ただし、あまり少ないと領域フラグのビット数が多くなる。また、後述する部分書換え処理の指示回数もその分だけ多くなって、オーバーヘッドが発生する割合が高くなる。また、割り当てるライン数が大きすぎると、部分書換えの処理の不要部分が多くなる可能性が高くなるという不具合も発生する。   The fact that the number of lines is used as a unit, rather than holding whether or not each line has been rewritten, generally means that when changing the display image, there is almost no rewriting of only one line, and it extends over multiple lines. This is because. Note that the number of lines allocated to one area is not limited to 32, and may be other than this. However, if the number is too small, the number of bits of the area flag increases. In addition, the number of times of partial rewrite processing, which will be described later, is increased accordingly, and the rate of occurrence of overhead increases. In addition, if the number of lines to be allocated is too large, there is a problem that there is a high possibility that an unnecessary part of the partial rewriting process increases.

また、説明は後述するが、FLCD3の全表示可能は1280×1024であるが、それ以外のドット数でも表示できるようにするため(例えば1024×768、600×480など)、書換えラインを算出するために使用する1ラインの情報量はプログラマブルになっている。表示ドット数の変更は、ホスト側より指示して変更することが可能に構成されている。   Further, although the description will be given later, the total display possible of the FLCD 3 is 1280 × 1024, but in order to be able to display with other numbers of dots (for example, 1024 × 768, 600 × 480, etc.), a rewrite line is calculated. Therefore, the information amount of one line used for the purpose is programmable. The number of display dots can be changed by instructing from the host side.

以上説明した書換検出/フラグ生成回路303は、VRAM301に対して書き込んだ32ライン単位の領域に対して書換えられたことを検出すると、その領域フラグの内容をCPU300に通知する。また、後述するように、CPU300からの要求に応じて、領域フラグをゼロクリアすることも行う。   The rewrite detection / flag generation circuit 303 described above notifies the CPU 300 of the contents of the area flag when it is detected that the area has been rewritten in units of 32 lines written in the VRAM 301. Further, as will be described later, the area flag is also cleared to zero in response to a request from the CPU 300.

304はラインアドレス生成回路であって、CPU300から指示されたラインの先頭アドレス及び、そのラインからのオフセットライン数を受け、SVGAチップに対して、データ転送のためのアドレス及びその制御信号を出力する。SVGAチップ302は、このアドレスデータ及び信号を受け、該当するラインから指示されたのライン数の画像データ(RGB各8ビット)をデガンマ回路309に出力する。   A line address generation circuit 304 receives the head address of the line instructed from the CPU 300 and the number of offset lines from the line, and outputs an address for data transfer and its control signal to the SVGA chip. . The SVGA chip 302 receives this address data and signal, and outputs image data (RGB each having 8 bits) of the number of lines designated from the corresponding line to the degamma circuit 309.

このデガンマ回路309は、ルックアップテーブルで構成され、その内容はCPU300からの指示に基づいて自由に変更可能になっている。デガンマ回路309の役割の詳細は後述するが、FLCD3に設けられた色彩調整スイッチ108で設定された内容に従い、その表示画像のコントラストを変更するためのものである。デガンマ回路309で補正された画像データは、2値化中間調処理回路305に出力される。   The degamma circuit 309 includes a look-up table, and the contents can be freely changed based on an instruction from the CPU 300. Although the details of the role of the degamma circuit 309 will be described later, it is for changing the contrast of the display image in accordance with the contents set by the color adjustment switch 108 provided in the FLCD 3. The image data corrected by the degamma circuit 309 is output to the binarized halftone processing circuit 305.

2値化中間調処理回路305は、デガンマ回路309を介して送られてきたSVGAチップ302からの画像データ(1画素当たりRGB各8ビット)を誤差拡散法に基づいてRGB及び輝度信号I(各1ビットで計4ビット)に量子化する。なお、RGB各8ビットからRGBを各1ビットに2値化するとともに、輝度の高低を示す2値信号Iを生成する技術は既に本願出願人が提案している(例えば、特願平4−126148号)。また、この2値化中間調処理回路305には、その処理を遂行するため、誤差拡散処理で必要なバッファメモリが内蔵されている。   The binarized halftone processing circuit 305 converts the image data (RGB each 8 bits per pixel) sent from the SVGA chip 302 via the degamma circuit 309 into RGB and luminance signals I (each Quantize to 1 bit for a total of 4 bits). The present applicant has already proposed a technique for binarizing RGB from 8 bits for each RGB into 1 bit for each and generating a binary signal I indicating the brightness level (for example, Japanese Patent Application No. Hei 4- 126148). In addition, the binary halftone processing circuit 305 includes a buffer memory necessary for error diffusion processing in order to perform the processing.

なお、この2値化中間調処理回路305は、CPU300からの指示に基づいて、2値化する場合のパラメータとなる誤差拡散テーブル(パラメータ)、出力するライン位置及びライン数を受け、それに従って出力する。誤差拡散テーブルを固定とはせず、CPU300から動的に設定できるようにしたのは、例えば、情報処理装置側のCPU(不図示)からの指示に基づいて配色などを変更できるようにするためである。   The binarized halftone processing circuit 305 receives an error diffusion table (parameter), which is a parameter when binarizing, an output line position and the number of lines, based on an instruction from the CPU 300, and outputs it accordingly. To do. The reason why the error diffusion table is not fixed and can be dynamically set by the CPU 300 is, for example, to be able to change the color scheme or the like based on an instruction from a CPU (not shown) on the information processing apparatus side. It is.

306は、FLCD3に表示する画像(1画素につきRGBI各1ビットのデータ)を記憶するフレームメモリである。先に説明したように、実施例におけるFLCD3の最大表示可能サイズは1280×1024ドットであり、各ドットは4ビットであるので、1Mバイト(計算では640Kバイト)の容量を有している。   A frame memory 306 stores an image to be displayed on the FLCD 3 (1-bit RGBI data per pixel). As described above, the maximum displayable size of the FLCD 3 in the embodiment is 1280 × 1024 dots, and each dot is 4 bits. Therefore, the FLCD 3 has a capacity of 1 Mbyte (in the calculation, 640 Kbytes).

307はフレームメモリ306の書き込み及び読み出し、そして、FLCD3への転送を制御するフレームメモリ制御回路である。具体的には、2値化中間調処理回路305から出力されたRGBIのデータをフレームメモリに格納すると共に、CPU300により指示された領域をデータ転送バス310(内、データバスは16ビット幅であって4画素分のデータを一度に送ることが可能)を介してFLCD3に出力する処理を行う。また、あるまとまったライン数の画像データをFLCD3に転送処理している場合を除き(すなわち、CPU300から転送指示された画像データの転送が完了して、次の転送指示がない場合に)、FLCD3からデータ転送リクエストを受けた場合、その旨をCPU300に割り込み信号として通知する。なお、FLCD3に転送する際のデータフォーマットは、RGBIの計4ビットを一組としており、フレームメモリ306にもこの形式でデータが格納されている。   A frame memory control circuit 307 controls writing and reading of the frame memory 306 and transfer to the FLCD 3. Specifically, RGBI data output from the binarized halftone processing circuit 305 is stored in the frame memory, and an area designated by the CPU 300 is transferred to the data transfer bus 310 (in which the data bus has a 16-bit width). The data for four pixels can be sent at a time). Further, except when the image data having a certain number of lines is transferred to the FLCD 3 (that is, when the transfer of the image data instructed by the CPU 300 is completed and there is no next transfer instruction), the FLCD 3 When a data transfer request is received from the CPU 300, the CPU 300 is notified as an interrupt signal. Note that the data format when transferring to the FLCD 3 is a set of a total of 4 bits of RGBI, and the data is also stored in the frame memory 306 in this format.

さらに、このフレームメモリ制御回路307は、2値化中間調処理回路305からの画像データをフレームメモリに格納完了した場合にも、その旨の割り込み信号をCPU300に出力する。そしてまた、CPU300から指示されたラインの画像データの転送が完了した場合(複数ラインの転送の指示があれば、指示されたライン数の画像データの転送が完了した場合)にも、その旨の割り込み信号をCPU300に出力する。   Further, even when the image data from the binarized halftone processing circuit 305 is completely stored in the frame memory, the frame memory control circuit 307 outputs an interrupt signal to that effect to the CPU 300. Further, when the transfer of the image data of the line instructed from the CPU 300 is completed (if there is an instruction to transfer a plurality of lines, the transfer of the image data of the instructed number of lines is completed), the fact is also shown. An interrupt signal is output to the CPU 300.

なお、CPU300に対する割り込みは、上記以外にもある。例えば、FLCD3とのコミュニケーション専用に設けられたシリアル通信線(例えばRSー232C仕様の通信線等)311からデータを受信した場合である。これについての詳細は後述する。   There are other interrupts to the CPU 300 than the above. For example, it is a case where data is received from a serial communication line (for example, a communication line of RS-232C specification, etc.) 311 provided exclusively for communication with the FLCD 3. Details of this will be described later.

さて、上述した構成において、今、ホスト1がOS或いはアプリケーション等の実行プログラムから文字や図形等の描画要求を受けると、それに対するコマンドあるいはイメージデータをFLCDインタフェース2内のSVGAチップ302に出力する。SVGAチップ302は、イメージデータを受信した場合にはそのイメージをVRAM301の指示された位置に書き込み、図形データ等の描画コマンドを受けるとVRAM301に対して対応する位置にその図形イメージを描画する。すなわち、SVGAチップ302はVRAM301に対して書き込み処理を行う。   Now, in the configuration described above, when the host 1 receives a drawing request for characters, graphics, etc. from an execution program such as an OS or an application, it outputs a command or image data for the request to the SVGA chip 302 in the FLCD interface 2. When receiving the image data, the SVGA chip 302 writes the image in the designated position of the VRAM 301 and, when receiving a drawing command such as graphic data, draws the graphic image at a corresponding position on the VRAM 301. That is, the SVGA chip 302 performs a writing process on the VRAM 301.

書換検出/フラグ生成回路303は、上述したように、SVGAチップ302の書き込みを監視している。この結果、書き込みの行われた領域に対するフラグをセットしていくと共に、それをCPU300に知らせる。   The rewrite detection / flag generation circuit 303 monitors the writing of the SVGA chip 302 as described above. As a result, a flag for the written area is set and the CPU 300 is notified of it.

CPU300は、書換検出/フラグ生成回路303に格納されている領域フラグをリードすると共に、書換検出/フラグ生成回路303に対してその領域フラグをリセットし、次回の書換えに備える。なお、このリセット動作は、読み出しと同時に行うようハード的手段を用いても良い。   The CPU 300 reads the area flag stored in the rewrite detection / flag generation circuit 303 and resets the area flag to the rewrite detection / flag generation circuit 303 to prepare for the next rewrite. Note that this reset operation may be performed using hardware means so as to be performed simultaneously with reading.

さて、CPU300はリードした領域フラグから、どのビットがセットされているか、すなわち、どの領域(複数ある場合もある)に対して書換えが行われたかを判断する。そして書換えが行われたと判断した領域をVRAM301から2値化中間調処理回路305に転送すべく、その転送開始ラインの先頭アドレス(通常は画面左隅のアドレス)と、その位置から何ラインの画像を転送するかを示すデータを、ラインアドレス生成回路304に対して出力する。   The CPU 300 determines from the read area flag which bit is set, that is, which area (there may be a plurality of areas) has been rewritten. Then, in order to transfer the area determined to have been rewritten from the VRAM 301 to the binarized halftone processing circuit 305, the start address of the transfer start line (usually the address at the left corner of the screen) and how many lines of images from that position are displayed. Data indicating whether to transfer is output to the line address generation circuit 304.

ここで注目する点は、VRAM301の例えば10番目の領域、すなわち、320〜351ラインの領域に書き込みが行われたことを検出した場合、ラインアドレス生成回路に、320ライン目の先頭画素のアドレスとそこから32ライン分の転送を行わせる指示を行うのではなく、320ライン目より5ライン前のライン(315ライン目)の先頭画素アドレスからの転送を行なわせる。つまり、315ライン目〜351ラインに対しての転送指示を行なわせる。   The point to be noted here is that when it is detected that writing has been performed to, for example, the tenth area of the VRAM 301, that is, the area of the 320 to 351 lines, the address of the first pixel on the 320th line is sent to the line address generation circuit. Instead of giving an instruction to transfer 32 lines from there, transfer is performed from the head pixel address of a line five lines before the 320th line (315th line). That is, a transfer instruction is given to the 315th to 351st lines.

この理由は以下の通りである。一般に誤差拡散処理を行う場合、発生した誤差を未処理の画素群に拡散するため、重み付け要素値(配分の比率を示す値)を有する2次元的なマトリックスを用いる。発生した誤差は、次々と伝播していく。ここで、2つの画素A,Bを想定し、画素Aの位置で2値化処理したときに発生する誤差の画素B(未処理の画素)の位置に与える影響を考える。   The reason is as follows. In general, when error diffusion processing is performed, a two-dimensional matrix having weighting element values (values indicating distribution ratios) is used in order to diffuse generated errors to unprocessed pixel groups. The generated error propagates one after another. Here, assuming two pixels A and B, the influence of an error that occurs when binarization processing is performed at the position of the pixel A on the position of the pixel B (unprocessed pixel) will be considered.

この場合、B画素に与えるA画素で発生した誤差の影響は、AB画素間の距離が大きいほど小さくなる。換言すれば、その距離がある程度あれば、B画素位置に与えるA画素からの誤差の影響は無視できるほど小さい。上記5ラインは、かかる理由を根拠にしている。   In this case, the influence of the error generated in the A pixel on the B pixel becomes smaller as the distance between the AB pixels is larger. In other words, if there is a certain distance, the influence of the error from the A pixel on the B pixel position is so small that it can be ignored. The above five lines are based on this reason.

なお、誤差の影響を無視できるための距離は、誤差拡散のマトリックスのサイズ及び重み付け要素値に依存して決まる。また、本実施例における2値化中間調処理回路305での誤差拡散処理が画像の左上隅から右下隅に向かうものとしているのは、上記を考慮した結果である。   The distance for ignoring the influence of the error is determined depending on the size of the error diffusion matrix and the weighting element value. In addition, the error diffusion processing in the binarized halftone processing circuit 305 in the present embodiment is directed from the upper left corner to the lower right corner of the image because of the above consideration.

また、CPU300は、2値化中間調処理回路305に対しては2値化中間調処理結果のラインデータのどの部分を出力するのかを示す指示を与える。   In addition, the CPU 300 gives an instruction indicating which part of the line data of the binarized halftone processing result is output to the binarized halftone processing circuit 305.

すなわち、先に示したように、VRAM301の320ライン〜351目の領域に対して書き込みがなされた場合には、315〜351ライン目のデータが2値化中間調処理回路305に転送されるが、CPU300は2値化中間調処理回路305に対してはライン320〜351ラインのデータを出力するよう指示する。   That is, as described above, when data is written to the 320th line to the 351st area of the VRAM 301, the data of the 315th to 351st lines are transferred to the binarized halftone processing circuit 305. The CPU 300 instructs the binarized halftone processing circuit 305 to output data of lines 320 to 351.

以上の結果、2値化中間調処理回路305からは、319ライン目以前の未変更部分の画像の影響を受けた、320〜351ラインのデータをフレームメモリ制御回路307に出力することになる。   As a result, the binarized halftone processing circuit 305 outputs data of 320 to 351 lines affected by the image of the unmodified part before the 319th line to the frame memory control circuit 307.

フレーム制御メモリ回路307は、CPU300からの指示に基づいて、2値化中間調処理回路305より出力されてきたライン単位のデータ(1画素につき4ビット)を対応するフレームメモリ306に書き込んでいく。すなわち、CPU300は、2値化中間調処理回路から出力されるライン数及びその先頭のラインが画像の何ライン目であるのか知っており、フレームメモリ制御回路307に対し、入力するラインのアドレス(フレームメモリ306に対する書き込み先頭アドレス)及び連続して何ライン分のデータを書き込むのかを示すデータをセットする。   The frame control memory circuit 307 writes line unit data (4 bits per pixel) output from the binarized halftone processing circuit 305 to the corresponding frame memory 306 based on an instruction from the CPU 300. In other words, the CPU 300 knows the number of lines output from the binarized halftone processing circuit and the number of lines in the image and the line address to be input to the frame memory control circuit 307 ( Write start address to frame memory 306) and data indicating how many lines of data are to be continuously written are set.

こうして、フレームメモリ306には、書換えられた(更新された画像)の部分のみの画像、しかも書換えられていない画像との接合部分が自然な画像が書き込まれることになる。なお、フレームメモリ制御回路307は、CPU300から指示された領域に対する、2値化中間調処理回路305から転送されたデータのフレームメモリ306への格納を完了すると、先に示した割り込み信号を発生する。   In this way, an image of only the rewritten (updated image) portion and a natural image of the joint portion with the image that has not been rewritten are written in the frame memory 306. When the frame memory control circuit 307 completes the storage of the data transferred from the binary halftone processing circuit 305 in the frame memory 306 for the area instructed by the CPU 300, the frame memory control circuit 307 generates the interrupt signal shown above. .

ところで、本実施例における2値化中間調処理回路305の処理速度は、1画面分にして現時点では約1/30秒である。これはCRT等の垂直同期信号が60Hz程度であるのに対して、約半分である。しかしながら、画面全体が書換えられることは、通常のアプリケーションを使用している限りは希である。換言すれば、2値化中間調処理回路305が処理するライン数は実際はそれほど多くはなく、必然、処理量が少ないから画面全体として見た場合の処理が完了するまでの期間は、CRTの表示更新期間と比較してさほど変わらなか、半分の領域以下であればむしろCRTより速い。   By the way, the processing speed of the binarized halftone processing circuit 305 in this embodiment is about 1/30 second at the present time for one screen. This is about half of the vertical synchronization signal such as CRT which is about 60 Hz. However, rewriting of the entire screen is rare as long as a normal application is used. In other words, the number of lines processed by the binarized halftone processing circuit 305 is actually not so large, and the amount of processing is inevitably small, and the period until the processing when viewed as a whole screen is completed is the display of the CRT. If it is less than half the area, it is faster than CRT.

また、フレームメモリ制御回路307は、詳細を後述するCPU300からFLCD3に対する出力指示も受ける。出力指示は、FLCD3へどのライン(ラインの先頭アドレス)から何ライン分(連続ライン数)を転送するかを指示するが、フレームメモリ制御回路307は、この転送が完了した場合にもCPU300に対してその旨を通知する割り込み信号を発生する。これは先に説明した通りである。   The frame memory control circuit 307 also receives an output instruction to the FLCD 3 from the CPU 300, which will be described in detail later. The output instruction instructs the FLCD 3 from which line (the head address of the line) and how many lines (the number of continuous lines) are transferred. The frame memory control circuit 307 also instructs the CPU 300 even when this transfer is completed. An interrupt signal is generated to notify that. This is as described above.

以下、フレームメモリ制御回路307がFLCD3に転送するデータフォーマットは、
書き込みラインアドレス+RGBI+RGBI+…RGBI
である。
Hereinafter, the data format transferred by the frame memory control circuit 307 to the FLCD 3 is:
Write line address + RGBI + RGBI + ... RGBI
It is.

FLCD3はかかるデータを受け、その先頭のアドレスに従って、その直後から続くデータをFLCD3の駆動のために使用する。   The FLCD 3 receives such data, and uses the data immediately following it for driving the FLCD 3 in accordance with the head address.

2値化中間調処理回路305からの書き込みが複数の不連続の領域の処理結果を出力することもあり、且つ、フレームメモリ制御回路307に対するFLCD3への転送指示は、前回のFLCDへの転送の完了の通知を受けてからであるので、フレームメモリ306に書き込まれた画像データが直ちに、FLCD3に出力される画像データとなるとは限らない。すなわち、上記の如く、フレームメモリ306を介して処理することで、VRAM301への書き込みと、FLCD3への出力はまったく非同期に処理することになる。   Writing from the binary halftone processing circuit 305 may output processing results of a plurality of discontinuous areas, and the transfer instruction to the FLCD 3 to the frame memory control circuit 307 is a transfer instruction to the previous FLCD. Since it is after the completion notification is received, the image data written in the frame memory 306 does not always become image data output to the FLCD 3 immediately. That is, as described above, by processing through the frame memory 306, writing to the VRAM 301 and output to the FLCD 3 are processed completely asynchronously.

次に図4乃至図6を参照して図1に示すFLCD3の詳細構成を説明する。図4は本実施例のFLCD3の概略構成を示す図、図5は本実施例のFLCD3の概観を示す図、図6はFLCDのホスト側(FLCDインタフェース側)との接続部分を示す図である。   Next, the detailed configuration of the FLCD 3 shown in FIG. 1 will be described with reference to FIGS. 4 is a diagram showing a schematic configuration of the FLCD 3 of the present embodiment, FIG. 5 is a diagram showing an overview of the FLCD 3 of the present embodiment, and FIG. 6 is a diagram showing a connection portion of the FLCD with the host side (FLCD interface side). .

図4において、101は詳細を後述する主要各種制御を司るNFXコントローラ、102はFLCパネル150のU−セグメントの表示素子の信号ラインを駆動するためのU−SEGドライバ、103はFLCパネル150のL−セグメントの表示素子の信号ラインを駆動するためのL−SEGドライバであり、この2つのドライバ102、103で表示素子の1つおきのセグメントを交互に駆動する。104はFLCパネル150の表示素子のコモン信号ラインのラインのドライバであるCOMドライバである。   In FIG. 4, reference numeral 101 denotes an NFX controller that performs various main controls, details of which will be described later, 102 denotes a U-SEG driver for driving a signal line of a display element of the U-segment of the FLC panel 150, and 103 denotes an L of the FLC panel 150. An L-SEG driver for driving the signal lines of the display elements of the segment, and the two drivers 102 and 103 alternately drive every other segment of the display elements. Reference numeral 104 denotes a COM driver which is a driver for a common signal line of the display element of the FLC panel 150.

本実施例のFLCパネル150の表示画素は、表示素子の例えばマトリクスの横方向の駆動信号線であるセグメント駆動信号とマトリクスの縦方向の駆動信号線であるコモン駆動信号が共に駆動された時に付勢状態となる。そして、上述したようにセグメント駆動信号は2つのドライバ回路102、103で駆動するように構成されており、FLCパネルのセグメント信号線を1つおきに交互にU−SEGドライバ102とL−SEGドライが103とで駆動するようにして回路の分散実装を行っており、発熱量の均等化等を図っている。   The display pixels of the FLC panel 150 of this embodiment are attached when, for example, a segment drive signal which is a drive signal line in the horizontal direction of the display element and a common drive signal which is a drive signal line in the vertical direction of the matrix are driven together. Become ready. As described above, the segment drive signal is configured to be driven by the two driver circuits 102 and 103, and the U-SEG driver 102 and the L-SEG driver are alternately arranged every other segment signal line of the FLC panel. The circuit is distributedly mounted so as to be driven at 103 to equalize the amount of heat generated.

また、105はFLCパネル面に直接接触するように配設されているFLCパネル150の温度を測定する温度センサ、106は輝度調整を行うための輝度調整トリマ、107は画質調整を行うための画質調整トリマ、108は色彩を調整するための色彩調整スイッチ、109はFLCパネル150の状態を報知する状態報知手段であるLEDである。本実施例においては、図5に示すようにFLCD3の右下部分に配設されている。   Reference numeral 105 denotes a temperature sensor that measures the temperature of the FLC panel 150 arranged so as to be in direct contact with the FLC panel surface, 106 denotes a brightness adjustment trimmer for adjusting brightness, and 107 denotes image quality for adjusting image quality. An adjustment trimmer 108 is a color adjustment switch 108 for adjusting the color, and 109 is an LED which is a state notification means for notifying the state of the FLC panel 150. In the present embodiment, as shown in FIG.

120は本実施例のFLCD3の各種駆動電源を生成するスイッチング電源であり、電源供給の制御を行う電源スイッチ122を介して一般商用電源121より電力の供給を受けることができる。なお、この電源スイッチ122も図5に示すようにFLCD3の右下部分に配設されている。なお、本実施例では、世界各国での使用が可能なように、85V〜264V(48Hz〜62Hz)迄の各種電圧の交流電源で動作可能に構成されている。   A switching power source 120 generates various driving power sources for the FLCD 3 of the present embodiment, and can be supplied with power from the general commercial power source 121 via a power switch 122 that controls power supply. The power switch 122 is also disposed in the lower right portion of the FLCD 3 as shown in FIG. In the present embodiment, it is configured to be operable with AC power supplies of various voltages from 85 V to 264 V (48 Hz to 62 Hz) so that it can be used in various countries around the world.

130はインバータであり、本実施例のFLCパネル150に光を照射する蛍光ランプ(熱陰極蛍光ランプ)131〜134を駆動する。   Reference numeral 130 denotes an inverter that drives fluorescent lamps (hot cathode fluorescent lamps) 131 to 134 that irradiate the FLC panel 150 of this embodiment with light.

本実施例では以上の構成を備えるFLCD3は、FLCパネルを用いているために非常に奥行きの薄い表示装置とすることができる。そして、本実施例では、(ホスト1及び)FLCDインタフェース2との接続はインタフェースケーブル11を介して行っており、FLCD3とは、図6に示すように表示装置背面に設けられた受けコネクタ15にケーブル側のコネクタ12を固定ねじ13で固定することにより行われる。即ち、本実施例では、単にこの1本のケーブル11を接続するのみで表示装置とインタフェースユニットとを接続することができる。   In this embodiment, the FLCD 3 having the above configuration can be a display device with a very small depth because it uses an FLC panel. In this embodiment, the (host 1 and) FLCD interface 2 is connected via an interface cable 11, and the FLCD 3 is connected to a receiving connector 15 provided on the back of the display device as shown in FIG. This is done by fixing the cable-side connector 12 with a fixing screw 13. In other words, in this embodiment, the display device and the interface unit can be connected by simply connecting the single cable 11.

図4に示すFNXコントローラの詳細構成を図7に示す。   FIG. 7 shows a detailed configuration of the FNX controller shown in FIG.

図7において、160は例えばマイクロコンピュータ等で構成することも可能なシステムコントローラであり、システムコントローラ160は、本実施例FLCD3の後述する各種表示制御を司ると共に、FLCDインタフェース2を介して受け取った表示データをドライバコントローラ190を介してFLCパネル150へ表示させる。なお、このシステムコントローラ160はROM161及びRAM162を内蔵しており、このROM161に格納された後述する制御手順に従い各種制御を司る。   In FIG. 7, reference numeral 160 denotes a system controller that can be constituted by, for example, a microcomputer. The system controller 160 manages various display controls (to be described later) of the embodiment FLCD 3 and displays received via the FLCD interface 2. Data is displayed on the FLC panel 150 via the driver controller 190. The system controller 160 includes a ROM 161 and a RAM 162, and controls various controls according to a control procedure described later stored in the ROM 161.

そして、本実施例のシステムコントローラ160の各種ステータス及びRAM162の記憶内容は、FLCDインタフェース2を介してホスト側で読み出すことが可能であり、一部は直接書き込むことも可能に構成されている。これらの詳細については後述する。   The various statuses of the system controller 160 and the contents stored in the RAM 162 according to the present embodiment can be read on the host side via the FLCD interface 2, and a part can be directly written. Details of these will be described later.

また、171は温度センサ105よりのよりの検知温度を対応するアナログ信号に変換してシステムコントローラに供給する温度インタフェース、172はインバータ130を制御して熱陰極蛍光ランプ131〜134(バックライト)の光量を制御するバックライトコントローラ、173は液晶駆動電圧レギュレータ183を制御してFLCパネル150の画質を制御するVOPコントローラ、174は輝度調整トリマ106、画質調整トリマ107の設定値をシステムコントローラ160に供給すると共に、色彩調整スイッチ(SESW)108の設定常態をシステムコントローラに供給するトリマインタフェースである。   Reference numeral 171 denotes a temperature interface that converts the temperature detected by the temperature sensor 105 into a corresponding analog signal and supplies the analog signal to the system controller. Reference numeral 172 denotes an inverter 130 that controls the hot cathode fluorescent lamps 131 to 134 (backlights). A backlight controller that controls the amount of light, a VOP controller that controls the image quality of the FLC panel 150 by controlling the liquid crystal drive voltage regulator 183, and a setting value of the brightness adjustment trimmer 106 and the image quality adjustment trimmer 107 that are supplied to the system controller 160 And a trimmer interface for supplying the system controller with the normal setting of the color adjustment switch (SESW) 108.

また、181は液晶駆動電源スイッチ182の駆動電源供給を制御する電源スイッチコントローラ、182はFLCパネル150への駆動電源の供給を制御する液晶駆動電源スイッチ、183は液晶駆動電圧レギュレータである。   Reference numeral 181 denotes a power switch controller for controlling the driving power supply of the liquid crystal driving power switch 182; 182, a liquid crystal driving power switch for controlling the driving power supply to the FLC panel 150; and 183, a liquid crystal driving voltage regulator.

ここで、FLCDインタフェース2との入出力信号について説明する。BUSY信号はホスト側への画像データ要求信号、AHDLは、ホスト側よりの走査アドレス/画像データ識別信号であり、”H”で走査アドレス、”L”で画像データを示している。PD0〜PD15は16ビット幅のアドレスつき画像データ、FCLKはホスト側よりの画像データの転送クロック、SINはホスト側よりのシリアル通信データ、SOUTはFLCD3よりホスト側へのシリアル通信データ、POWERONはFLCDインタフェース2に電源が投入されたことを示すパワーON信号、RESETはホスト側よりのFLCDリセット信号、ENABLEは本実施例に特有の信号であり、FLCDインタフェース2との間のコネクタ接続信号であり、負論理構成となっている。図6に示すケーブル11が外れたような場合にはこの信号がローレベルとはならず、FLCD3側で容易にケーブル外れを認識することができる。そして、このケーブル外れを認識した場合には、以後の表示データの受信は行われず、表示画面の更新も行われない。この信号がない場合における、表示データがこないことに伴う詳細を後述する省電力動作モードであるスリープモードに移行したのみでは、ユーザはこの状態を正確に認識することができず、なんらの対処も行われない状態が続く虞がある。   Here, input / output signals with the FLCD interface 2 will be described. The BUSY signal is an image data request signal to the host side, AHDL is a scan address / image data identification signal from the host side, “H” indicates a scan address, and “L” indicates image data. PD0 to PD15 are 16-bit addressed image data, FCLK is a transfer clock of image data from the host side, SIN is serial communication data from the host side, SOUT is serial communication data from the FLCD 3 to the host side, POWERON is FLCD A power-on signal indicating that power is supplied to the interface 2, RESET is an FLCD reset signal from the host side, ENABLE is a signal specific to this embodiment, and is a connector connection signal with the FLCD interface 2, It has a negative logic configuration. When the cable 11 shown in FIG. 6 is disconnected, this signal does not become a low level, and the disconnection of the cable can be easily recognized on the FLCD 3 side. When this cable disconnection is recognized, no subsequent display data is received and the display screen is not updated. In the absence of this signal, the user cannot accurately recognize this state simply by shifting to the sleep mode, which is a power saving operation mode described later in detail with no display data. There is a possibility that the state that is not performed continues.

しかしながら、本実施例ではこのケーブル外れを正確に且つ迅速に知ることができ、上述したLED109の表示態様を上記省電力動作モードとは異なるものとすることにより、容易にケーブル外れなどの現在の状態を認識することができ、不具合を解消する処理を迅速に実行可能となっている。   However, in this embodiment, this cable disconnection can be accurately and quickly known, and the display state of the LED 109 described above is different from the power saving operation mode, so that the current state such as cable disconnection can be easily performed. Can be recognized, and the process of eliminating the problem can be executed quickly.

図7における画像データの入出力に関する部分の詳細構成を図8に示す。   FIG. 8 shows a detailed configuration of a portion related to input / output of image data in FIG.

画像データの入出力は主にドライバコントローラ190及びFLCパネル150ドライバ102〜104によりFCLパネルに供給され、表示される。   Input / output of image data is supplied to the FCL panel mainly by the driver controller 190 and the FLC panel 150 drivers 102 to 104 and displayed.

ドライバコントローラ190は少なくとも以下の構成を備える。システムコントローラ160よりの画像データ(PD0−15)を少なくとも1ライン分記憶可能な2つのバッファ521、522、このバッファ521、522の切り替え制御を行う入力側のスイッチ523、出力側スイッチ524を備え、切り換えて表示のためのセグメントドライバ102、103への表示画像データID0−7U/Lを出力する。   The driver controller 190 has at least the following configuration. Two buffers 521 and 522 capable of storing at least one line of image data (PD0-15) from the system controller 160, an input-side switch 523 for controlling the switching of the buffers 521 and 522, and an output-side switch 524 are provided. The display image data ID0-7U / L is output to the segment drivers 102 and 103 for switching.

また、これらのスイッチの制御を含む各種のFLCパネル150駆動タイミング信号を生成するタイミングコントローラ525、FLCDインターフェース2より送られてくる表示データを表示させるべきラインアドレスを保持するとともに、システムコントローラ160より内容を読み出し可能な受信アドレスレジスタ526を備える。   Further, the timing controller 525 for generating various FLC panel 150 drive timing signals including control of these switches, the line address for displaying the display data sent from the FLCD interface 2, and the contents from the system controller 160 are stored. Is received.

同じく、システムコントローラ160より内容を書き込み可能であり表示データに対応するアドレスデータを保持する走査アドレスレジスタ527、システムコントローラ160よりの表示制御実行開始を指示するディスプレイスタート(DST)が書き込まれるDSTレジスタ528より構成されている。DSTレジスタ528にDSTが書き込まれるとFLCパネルの1走査線の書き込み動作が開始される。   Similarly, the contents can be written from the system controller 160, the scanning address register 527 for holding the address data corresponding to the display data, and the DST register 528 to which the display start (DST) for instructing the start of display control execution from the system controller 160 is written. It is made up of. When DST is written to the DST register 528, writing operation for one scanning line of the FLC panel is started.

また、U−SEGドライバ102は、バッファ(521又は522)より送られてくる表示データの内U−SEGに対応する1つおきのデータを取り込むためのU−SEGラッチ回路531、U−SEGラッチ回路531でのラッチ表示データをタイミングコントローラ525よりの駆動タイミング信号に従って記憶するU−SEGメモリ532、メモリ532よりの表示データに従ってU−SEG信号を駆動するドライバ回路533より構成されている。   Further, the U-SEG driver 102 includes a U-SEG latch circuit 531 and a U-SEG latch for fetching every other data corresponding to the U-SEG in the display data sent from the buffer (521 or 522). The U-SEG memory 532 stores latch display data in the circuit 531 according to the drive timing signal from the timing controller 525, and the driver circuit 533 drives the U-SEG signal according to the display data from the memory 532.

また、L−SEGドライバ103は、バッファ(521又は522)より送られてくる表示データの内L−SEGに対応する1つおきのデータを取り込むためのL−SEGラッチ回路538、L−SEGラッチ回路538でのラッチ表示データをタイミングコントローラ525よりの駆動タイミング信号に従って記憶するL−SEGメモリ537、メモリ537よりの表示データに従ってL−SEG信号を駆動するドライバ回路536より構成されている。   The L-SEG driver 103 also includes an L-SEG latch circuit 538 and an L-SEG latch for fetching every other data corresponding to the L-SEG of the display data sent from the buffer (521 or 522). The L-SEG memory 537 stores latch display data in the circuit 538 in accordance with the drive timing signal from the timing controller 525, and the driver circuit 536 drives the L-SEG signal in accordance with the display data from the memory 537.

また、COMドライバ104は、走査アドレスレジスタ527よりのアドレス情報をタイミングコントローラ525よりのタイミング信号に従って格納するアドレスデコーダ541、アドレスデコーダ541の内容をタイミングコントローラ525よりのタイミング信号に従って格納するアドレスメモリ542、アドレスデコーダ541に格納されたアドレスに従い走査選択信号の前半を選択されたコモン信号ラインに出力するとともに、アドレスメモリ542に格納されたアドレスに従い走査選択信号の後半を選択されたコモン信号ラインに出力するドライバ回路543より構成されている。   The COM driver 104 also stores an address decoder 541 that stores address information from the scanning address register 527 in accordance with a timing signal from the timing controller 525, and an address memory 542 that stores contents of the address decoder 541 in accordance with a timing signal from the timing controller 525. The first half of the scan selection signal is output to the selected common signal line according to the address stored in the address decoder 541, and the second half of the scan selection signal is output to the selected common signal line according to the address stored in the address memory 542. The driver circuit 543 is configured.

次に図4に示すスイッチング電源120の詳細構成を図9に示す。   Next, FIG. 9 shows a detailed configuration of the switching power supply 120 shown in FIG.

スイッチング電源120は、電源スイッチ122を介して受け取った商用電源121よりの電力に対して、まずノイズフィルタ123により進入するノイズ成分を取り除き、その後スイッチングレギュレータ用制御回路126及びトランス126を含むスイッチング回路124により所定の高周波信号を生成して5端子レギュレータ127及びロジック回路用の+5V電源回路128、及び熱陰極蛍光ランプ131〜134より構成されるバックライト駆動用の電源回路129に供給している。なお、5端子レギュレータ127は、GND端子を基準に+35V、+26V、+17V、+9Vの各直流電源を生成する4つの回路127a〜127dより構成されている。 また、図9における165は、AFC検知回路であり、スイッチング電源120に供給されている電力がストップした時にこれを検出するための回路であり、このAFC回路165よりの出力信号(AFC信号)は、システムコントローラ160への緊急用の割り込み信号となっている。   The switching power supply 120 first removes a noise component entering by the noise filter 123 from the power from the commercial power supply 121 received via the power switch 122, and then the switching circuit 124 including the switching regulator control circuit 126 and the transformer 126. Thus, a predetermined high-frequency signal is generated and supplied to a power supply circuit 129 for driving a backlight constituted by a 5-terminal regulator 127, a + 5V power supply circuit 128 for logic circuit, and hot cathode fluorescent lamps 131-134. The five-terminal regulator 127 is composed of four circuits 127a to 127d that generate + 35V, + 26V, + 17V, and + 9V DC power supplies with respect to the GND terminal. In addition, reference numeral 165 in FIG. 9 denotes an AFC detection circuit, which is a circuit for detecting when the power supplied to the switching power supply 120 is stopped. An output signal (AFC signal) from the AFC circuit 165 is This is an emergency interrupt signal to the system controller 160.

本実施例の表示装置は環境温度の変動に関わらず常に良好な表示品質を得るために、FLCパネル150に温度センサ105を設け、検知された温度に基づいて駆動電圧と1走査線駆動時間(1H)及び駆動波形に最適値を選びFLCパネルの駆動制御を行う。この温度補償に関する部分の構成を図10に示す。   The display device of this embodiment is provided with a temperature sensor 105 in the FLC panel 150 in order to always obtain good display quality regardless of environmental temperature fluctuations, and based on the detected temperature, the driving voltage and one scanning line driving time ( 1H) and an optimum value is selected for the drive waveform, and drive control of the FLC panel is performed. FIG. 10 shows a configuration of a portion related to this temperature compensation.

本実施例においては、温度センサインタフェース171を通して温度センサ105の検知温度に対応するアナログ信号をアナログデジタル変換器904によりデジタル信号による温度情報に変換する。また、トリマインタフェース174を通して画質調整トリマからのアナログ信号をアナログデジタル変換器905によりデジタル信号へ変換し温度情報に加えて微調整する。この調整された温度情報に基づき温度補償テーブルを検索して駆動電圧を決定するVopコードと、1H時間を決定する1Hコードを得る。   In this embodiment, an analog signal corresponding to the temperature detected by the temperature sensor 105 is converted into temperature information by a digital signal by the analog-digital converter 904 through the temperature sensor interface 171. Further, an analog signal from the image quality adjustment trimmer is converted into a digital signal by the analog-digital converter 905 through the trimmer interface 174 and finely adjusted in addition to the temperature information. Based on the adjusted temperature information, a temperature compensation table is searched to obtain a Vop code for determining a drive voltage and a 1H code for determining 1H time.

VopコードはVopコントローラ173を構成するデジタルアナログ変換器に供給され、アナログ信号DAOUTに変換される。液晶駆動電圧レギュレータ183はアナログ信号DAOUTに基づいて液晶駆動電圧V1、V5、V3、V4、V2を生成する。   The Vop code is supplied to a digital / analog converter constituting the Vop controller 173 and converted into an analog signal DAOUT. The liquid crystal drive voltage regulator 183 generates liquid crystal drive voltages V1, V5, V3, V4, and V2 based on the analog signal DAOUT.

1Hコードはシステムコントローラ内のタイマユニットにセットされ液晶駆動の基本クロックを生成する。この基本クロックはドライバコントローラ190に供給され、さらにCSCLKとしてU−SEGドライバ、L−SEGドライバ、COMドライバへ供給される。   The 1H code is set in a timer unit in the system controller and generates a liquid crystal driven basic clock. This basic clock is supplied to the driver controller 190, and further supplied as CSCLK to the U-SEG driver, L-SEG driver, and COM driver.

駆動波形は、アナログデジタル変換器904より出力され画質調整トリマにより調整される前の温度情報に基づいて波形設定部903により決定される。即ち、ユーザによる画質調整トリマの操作には依存しない。波形決定部903では予め定められた波形から温度情報に基づいて最適な波形が選択され、波形データとしてドライバコントローラ190にセットされる。波形データはCSCLKに同期してU−SEGドライバ、L−SEGドライバへはSWFD0−3として、COMドライバへはCWFD0−3として供給される。後述する通り本実施例の駆動波形はCSCLK5クロックで1Hを構成し、1Hの時間はCSCLKのパルス幅の可変によりFLCパネルの温度に最適な値に調整される。   The drive waveform is determined by the waveform setting unit 903 based on temperature information output from the analog-digital converter 904 and before being adjusted by the image quality adjustment trimmer. That is, it does not depend on the operation of the image quality adjustment trimmer by the user. The waveform determining unit 903 selects an optimal waveform from the predetermined waveform based on the temperature information and sets it as waveform data in the driver controller 190. Waveform data is supplied as SWFD0-3 to the U-SEG driver and L-SEG driver in synchronization with CSCLK, and as CWFD0-3 to the COM driver. As will be described later, the drive waveform of this embodiment constitutes 1H with the CSCLK5 clock, and the time of 1H is adjusted to the optimum value for the temperature of the FLC panel by varying the pulse width of CSCLK.

なお、このドライバコントローラ190の動作については後述する。   The operation of the driver controller 190 will be described later.

次に、以上の構成を備える本実施例におけるFLCDインタフェース2とFLCD3との間の表示データ及び各種制御命令等の授受について以下に詳説する。   Next, transfer of display data and various control commands between the FLCD interface 2 and the FLCD 3 in the present embodiment having the above-described configuration will be described in detail below.

先に説明したFLCDインタフェース2からの、
書き込みラインアドレス+RGBI+RGBI…
のデータはデータ転送バス310を介して転送され、その先頭の書き込みアドレスは受信アドレスレジスタへ、それ以降の画素データRGBIRGBI…のデータはバッファ521,522のいずれか一方へ格納される。システムコントローラ160は受信アドレスレジスタ526のアドレスを読み走査アドレスレジスタ527へ書き込んだのち、DSTレジスタ528へ1走査線の駆動開始を指示する。また、このシステムコントローラ160は、温度センサ105より得た温度に依存した時間間隔でFLCDインタフェース2に対してデータ転送要求信号を発生する。
From the FLCD interface 2 described above,
Write line address + RGBI + RGBI ...
Are transferred via the data transfer bus 310, the head write address is stored in the reception address register, and the subsequent pixel data RGBIRGBI... Is stored in one of the buffers 521, 522. The system controller 160 reads the address of the reception address register 526 and writes it to the scanning address register 527, and then instructs the DST register 528 to start driving one scanning line. Further, the system controller 160 generates a data transfer request signal to the FLCD interface 2 at time intervals depending on the temperature obtained from the temperature sensor 105.

従って、FLCDインタフェース2のフレームメモリ制御回路307は、例えばCPU300から32ライン分の転送要求を指示されている場合、FLCD3よりのデータ転送要求を受ける毎に先に示したフォーマットに従って1ライン単位に出力する。こうして、指示された全てのラインの転送が完了し、次の転送要求指示を受けていない場合であって、なおかつ、FLCD3からデータ転送要求信号を受けると、その旨をCPU300に割り込み信号として通知する。   Therefore, when the frame memory control circuit 307 of the FLCD interface 2 is instructed to transfer requests for 32 lines from the CPU 300, for example, every time a data transfer request from the FLCD 3 is received, the frame memory control circuit 307 outputs in line units according to the format shown above. To do. In this way, when transfer of all the specified lines is completed and the next transfer request instruction has not been received, and when a data transfer request signal is received from the FLCD 3, it notifies the CPU 300 as an interrupt signal. .

CPU300はこの通知を受けると、部分書換えした画像の未転送データがあるか判断し、もしなければ、フレームメモリ306内に格納されている全画面の画像データをインタレース方式で、FLCD3に転送指示させる。すなわち、この割り込み信号を受信する度に、例えば、1ライン目、3ライン目…1023ライン目、2ライン目、…1024ライン目という順序で、1ラインずつ転送を行なわせるべく、フレームメモリ制御回路307に指示を与える。なお、実際には、FLCD3からの転送要求信号が来た場合には、次の転送要求信号が来た場合に転送させるラインの指定を行う。FLCD3側の制御については後述する。   Upon receiving this notification, the CPU 300 determines whether there is untransferred data of the partially rewritten image. If not, the CPU 300 instructs the FLCD 3 to transfer the image data of the entire screen stored in the frame memory 306 in an interlaced manner. Let That is, each time this interrupt signal is received, for example, the frame memory control circuit performs transfer line by line in the order of the first line, the third line,..., The 1023rd line, the second line,. An instruction is given to 307. Actually, when a transfer request signal is received from the FLCD 3, a line to be transferred when the next transfer request signal is received is designated. The control on the FLCD 3 side will be described later.

上記如く、画像に変動がない場合に、インタレース転送する理由は以下の通りである。   As described above, the reason for interlaced transfer when there is no change in the image is as follows.

本実施例で使用したFLCD3は、先に説明したように、表示画像を記憶保持する機能を有するので、理論上、変更箇所のみの画像の転送を行えば良い。しかし、全く変更がなくリフレッシュすることがない画像と、変更があって新たに駆動表示された(部分書換えられた)画像との間での輝度に微小ならが差が発生することがわかったからである。   Since the FLCD 3 used in the present embodiment has a function of storing and holding the display image as described above, theoretically, it is only necessary to transfer the image of only the changed portion. However, because it was found that there was a slight difference in brightness between an image that did not change at all and that did not refresh and an image that was changed and was newly displayed (partially rewritten). is there.

すなわち、本実施例におけるFLCD3は、表示画像の部分的な更新があった場合には、その更新された部分のみでFLCDの表示を更新するが、表示画像に対する変化がない場合には、フレームメモリ306内の全画像をインタレース的にFLCD3に転送する処理を行う。各ラインを順次転送するのではなく、インタレース転送する理由は、一般に、液晶表示器はその応答が早くないので、見かけ上の表示画像の更新を早くするためである。   That is, when the display image is partially updated, the FLCD 3 in this embodiment updates the display of the FLCD only with the updated portion. When there is no change to the display image, the FLCD 3 A process of transferring all the images in 306 to the FLCD 3 in an interlaced manner is performed. The reason for interlaced transfer instead of sequentially transferring each line is that the liquid crystal display generally does not respond quickly, so that the apparent display image can be updated faster.

以上説明した処理内容に従って、FLCDインタフェース2内のCPU300の動作処理手順を、図11を用いて説明する。   The operation processing procedure of the CPU 300 in the FLCD interface 2 will be described with reference to FIG.

以下で使用する各フラグの意味は次の通りである。   The meaning of each flag used below is as follows.

A)量子化完了フラグ:
フレームメモリ制御回路307が2値化中間調処理回路305から出力されてきた画像データをフレームメモリ306に格納し終えたか否かを示す情報を保持するフラグ。
A) Quantization completion flag:
A flag that holds information indicating whether or not the frame memory control circuit 307 has finished storing the image data output from the binarized halftone processing circuit 305 in the frame memory 306.

B)転送完了フラグ:
フレームメモリ制御回路307が、CPU300によって指示された位置の画像のFLCD3への転送が完了したか否か示す情報を保持するフラグ。
B) Transfer completion flag:
A flag that holds information indicating whether or not the frame memory control circuit 307 has transferred the image at the position designated by the CPU 300 to the FLCD 3.

C)転送要求フラグ:
FLCD3が次のデータ転送要求を要求してきたか否かを示す情報を保持するフラグ。ただし、この転送要求フラグは、フレームメモリ制御回路307が、CPU300で指示されたライン数分の転送が完了していない限りはセットされない(なぜなら、この間の転送要求信号は、フレームメモリ制御回路307の転送タイミングに使用しており、その転送要求信号に対する割り込み信号は発生しないからである)。
C) Transfer request flag:
A flag that holds information indicating whether the FLCD 3 has requested the next data transfer request. However, this transfer request flag is not set unless the frame memory control circuit 307 completes the transfer for the number of lines instructed by the CPU 300 (because the transfer request signal during this period is sent from the frame memory control circuit 307. This is because it is used for transfer timing and no interrupt signal is generated for the transfer request signal).

さて、今、書換検出/フラグ生成回路303からリードした領域フラグ(32ビット)が、図示のようになっているものとする(タイミングT1)。   Now, it is assumed that the area flag (32 bits) read from the rewrite detection / flag generation circuit 303 is as illustrated (timing T1).

この場合、CPU300は、その先頭から調べて最初に“1”にセットされている領域位置(以下「領域NO」という。)“2”を検出できる。そこで、この領域NOに従ってフレームメモリ制御回路307、2値化中間調処理回路305、ラインアドレス生成回路304の各々にセットするアドレス及びライン数を演算し、その順番にセットする。   In this case, the CPU 300 can detect the area position (hereinafter referred to as “area NO”) “2” that is initially set to “1” by checking from the head. Therefore, the address and the number of lines to be set in each of the frame memory control circuit 307, the binary halftone processing circuit 305, and the line address generation circuit 304 are calculated according to this area NO, and are set in that order.

フレームメモリ制御回路307を最初にした理由は、各回路のイネーブル信号(図3参照)がイネーブル状態になった場合に、その動作を行うからであり、逆にセットしてしまうと下位の回路の準備ができていないにも拘らず上位の回路が出力してしまうからである。   The reason why the frame memory control circuit 307 is first used is that the operation is performed when the enable signal (see FIG. 3) of each circuit is in an enable state. This is because a higher-order circuit outputs even though it is not ready.

SVGAチップ302は、最後のラインアドレス生成回路304にアドレス及びライン数のセットを行うと、それをトリガとして下位の2値化中間調処理回路305のイネーブル信号をセットしてデータの転送を始める。   When the address and the number of lines are set in the last line address generation circuit 304, the SVGA chip 302 sets the enable signal of the lower binary halftone processing circuit 305 as a trigger and starts data transfer.

2値化中間調処理回路305は、これに従いRGB各8ビットに基づいて誤差拡散処理によりRGBI各4ビットの画像データを生成するが、CPU300によって設定されたライン(5ライン目)に到達してはじめて下位のフレームメモリ制御回路307へのイネーブル信号をセットし、処理結果を出力する。   The binarization halftone processing circuit 305 generates RGBI 4-bit image data by error diffusion processing based on 8-bit RGB in accordance with this, but reaches the line (fifth line) set by the CPU 300. First, an enable signal to the lower frame memory control circuit 307 is set, and the processing result is output.

フレームメモリ制御回路307は、2値化中間調処理回路305から入力した処理済みの画像データを、CPU300から指示されたフレームメモリ306のアドレス位置から順次格納していく。こうして、フレームメモリ制御回路307がその格納処理が完了すると、CPU300に対して格納完了を意味する割り込み信号を出力する。CPU300は、この割り込み信号を受けて量子化完了フラグをセットし(タイミングT2)、フレームメモリ制御回路307に対してFLCD3への転送指示(アドレス及びライン数のセット)を行う。   The frame memory control circuit 307 sequentially stores the processed image data input from the binarized halftone processing circuit 305 from the address position of the frame memory 306 instructed by the CPU 300. Thus, when the frame memory control circuit 307 completes the storage process, it outputs an interrupt signal indicating the storage completion to the CPU 300. In response to this interrupt signal, the CPU 300 sets a quantization completion flag (timing T2), and instructs the frame memory control circuit 307 to transfer to the FLCD 3 (set address and number of lines).

また、CPU300は、領域フラグ中の領域NO“2”以外にセットされている領域NOがあるか否かを検索し、もし領域NO“2”以外にセットされている領域NOがあればその部分に対しても同様の処理を行なわせる。図示の場合、領域NO“4”に関しても、書き込みが確認されているから、領域NO“4”に関しても上記のフレームメモリ306への格納までの処理を行なわせる。そして、この格納処理が完了すると(タイミングT3)、それ以降の領域フラグ中のセットされている領域NOに対して同様の処理を行っていく。   Further, the CPU 300 searches whether there is an area NO set other than the area NO “2” in the area flag, and if there is an area NO set other than the area NO “2”, that portion. The same processing is performed for. In the case shown in the figure, the writing is confirmed for the area NO “4”, and therefore the processing up to the storage in the frame memory 306 is also performed for the area NO “4”. When this storage process is completed (timing T3), the same process is performed for the area NO set in the subsequent area flags.

この過程で、フレームメモリ制御回路307から先に転送指示された領域NO“2”の転送が完了した旨の割り込みを受けると、領域NO“2”に対する転送完了フラグを1にセットし(タイミングT4)、量子化完了フラグが“1”になっている他の領域NOがあるか否かを判断する。そして、量子化完了フラグが“1”になっている他の領域NOがあれば、FLCD3への転送を行うよう指示する。   In this process, upon receiving an interrupt from the frame memory control circuit 307 indicating that the transfer of the area NO “2” previously instructed is completed, the transfer completion flag for the area NO “2” is set to 1 (timing T4). ), It is determined whether or not there is another region NO in which the quantization completion flag is “1”. Then, if there is another area NO whose quantization completion flag is “1”, an instruction to transfer to the FLCD 3 is given.

なお、タイミングT4とタイミングT3のいずれが早く発生するかは、処理するデータ量に依存し、不定である。   Note that which of timing T4 and timing T3 occurs earlier depends on the amount of data to be processed and is undefined.

こうして、転送完了通知を受け、その時点で次に転送すべきデータがなくなると、FLCD3からのデータ転送要求信号に基づく割り込み信号をフレームメモリ制御回路307が出力してくる(タイミングT5)。これを受け、CPU300は、書換検出/フラグ生成回路303の領域フラグのリード処理を行う。   In this way, when the transfer completion notification is received and there is no more data to be transferred next, the frame memory control circuit 307 outputs an interrupt signal based on the data transfer request signal from the FLCD 3 (timing T5). In response to this, the CPU 300 performs an area flag read process of the rewrite detection / flag generation circuit 303.

そして、このときリードした領域フラグ中に“1”のビットがないとき、先に説明したように、フレームメモリ306のインタレース転送(1ラインずつ飛び越し転送)を行うべく、転送する1ラインのアドレスをセットする。この転送が完了すると、フレームメモリ制御回路307は、FLCD3からデータ転送要求信号を受けることになるが、その時点で転送が1ラインのデータ転送が完了しているから、CPU300に割り込みをかける。   When there is no “1” bit in the read area flag at this time, the address of one line to be transferred in order to perform interlaced transfer (interlaced transfer line by line) of the frame memory 306 as described above. Set. When this transfer is completed, the frame memory control circuit 307 receives a data transfer request signal from the FLCD 3. At that time, since the transfer of one line of data has been completed, the frame memory control circuit 307 interrupts the CPU 300.

CPU300は、この割り込みがかかる度に、書換検出/フラグ生成回路303から領域フラグをリードするが、全てのビットが“0”の間は、先のインタレース転送を継続して処理を行うことになる。   The CPU 300 reads the area flag from the rewrite detection / flag generation circuit 303 every time this interrupt is applied, but continues the previous interlaced transfer while all the bits are “0”. Become.

以上説明した様に本実施例によれば、図11における領域フラグを読み出し、その中に1つでも“1”がセットされている領域NOがある場合には、あたかも領域フラグが図示のフラグテーブルを右方向にシフトしていくかの如く各処理を行なう。   As described above, according to the present embodiment, when the area flag in FIG. 11 is read and there is any area NO in which “1” is set in one of them, the area flag is as shown in the flag table shown in the figure. Each process is performed as if the right is shifted to the right.

次に、本実施例における上記FLCDインタフェース2の処理を実現するためのCPU300の処理の例を図12〜図15のフローチャートに従って説明する。以下の制御手順は、例えばROM308に格納されている。   Next, an example of processing of the CPU 300 for realizing the processing of the FLCD interface 2 in this embodiment will be described with reference to the flowcharts of FIGS. The following control procedures are stored in the ROM 308, for example.

図12は、本実施例のFLCDインタフェース2内のCPU300のメイン処理ルーチンを示すフローチャートである。   FIG. 12 is a flowchart showing a main processing routine of the CPU 300 in the FLCD interface 2 of this embodiment.

FLCDインタフェース2に電源が投入されると、図12の処理に移行する。そしてまずステップS1で、FLCDインタフェース2内の各回路の初期化等の一連の初期化処理を実行する。このとき、FLCD3に対しても、Unit Start等のコマンド発行及びそれに対するFLCD3よりのステータス受信の処理も行う。   When the FLCD interface 2 is powered on, the process proceeds to the process of FIG. First, in step S1, a series of initialization processing such as initialization of each circuit in the FLCD interface 2 is executed. At this time, the FLCD 3 also issues a command such as Unit Start and receives status information from the FLCD 3 in response thereto.

次にステップS2でホスト1のバス102(図1の符号6)を介して表示ドット数等、表示に関する状態指示があったか否かを判断する。表示ドット数等、表示に関する状態指示があればステップS3に進み、指示された処理、例えば表示ドット数にするべく、書換検出/フラグ生成回路303を初めとする各回路305〜307に対する環境情報としてセットする。   Next, in step S2, it is determined whether or not there has been a state instruction regarding display, such as the number of display dots, via the bus 102 of the host 1 (reference numeral 6 in FIG. 1). If there is a state instruction regarding display such as the number of display dots, the process proceeds to step S3, and environmental information for each circuit 305 to 307 including the rewrite detection / flag generation circuit 303 is set to the instructed process, for example, the display dot number. set.

一方、ステップS2で、ホスト1からの指示がなかったと判断した場合にはステップS4に進み、現在の状況を探索する。そして続くステップS5で現在の状況に応じた処理を行う。例えば、FLCD3の表示能力の変更などがある。   On the other hand, if it is determined in step S2 that there is no instruction from the host 1, the process proceeds to step S4 to search for the current situation. In subsequent step S5, processing corresponding to the current situation is performed. For example, the display capability of the FLCD 3 is changed.

本実施例におけるFLCD3は、1280×1024ドットの表示能力を有しているが、例えばホスト1より1024×768にするよう指示を受けた場合には、画像はFLCD3の表示画面の中央に表示される方が、操作者に自然な感じを与えるので好ましい。そこで本実施例ではステップS3における処理において、これを実現するための表示画面の変更処理等を行っている。例えば、書換検出/フラグ生成回路303は、書換えられたライン位置を特定するときに、書換えられたアドレスを、1ライン分のバイト数で除算することにより上記処理を行っている。なお、この場合には、この1ライン分のバイト数は、表示ドット数によって決まる。   The FLCD 3 in this embodiment has a display capacity of 1280 × 1024 dots. However, for example, when an instruction is given from the host 1 to set it to 1024 × 768, the image is displayed at the center of the display screen of the FLCD 3. Is preferable because it gives the operator a natural feeling. Therefore, in the present embodiment, in the process in step S3, a display screen changing process for realizing this is performed. For example, the rewrite detection / flag generation circuit 303 performs the above process by dividing the rewritten address by the number of bytes for one line when specifying the rewritten line position. In this case, the number of bytes for one line is determined by the number of display dots.

また、同時に、FLCD3側でも対応した処理を行う必要があり、このためにその旨のコマンドをFLCDインタフェース2よりシリアル通信線311を介してFLCD3に発行し、互いの動作の対応をとる。   At the same time, it is necessary to perform corresponding processing on the FLCD 3 side. For this reason, a command to that effect is issued from the FLCD interface 2 to the FLCD 3 via the serial communication line 311 to correspond to each other's operations.

なお、以下の説明では、1280×1024ドットの表示指示を受けた場合を説明する。   In the following description, a case where a display instruction of 1280 × 1024 dots is received will be described.

フレームメモリ制御回路307は、上述したようにCPU300から指示されたライン数の画像のFLCD3への転送指示を受けると、FLCD3から送られてくるデータ転送要求信号に同期して転送を行うが、CPU300からFLCD3への転送指示を受けていない場合、或いは、指示された転送が完了した場合には、FLCD3からこのデータ転送要求信号を受けると、それをそのままCPU300に対する割り込み信号として出力する。一方、フレームメモリ制御回路307は、一連の転送要求を受け、その転送を行っている最中にFLCD3からデータ転送要求を受けている場合には、その信号をCPU300に出力しない。   When the frame memory control circuit 307 receives an instruction to transfer an image of the number of lines instructed from the CPU 300 to the FLCD 3 as described above, the frame memory control circuit 307 performs the transfer in synchronization with the data transfer request signal sent from the FLCD 3. When a transfer instruction from the FLCD 3 is not received, or when the instructed transfer is completed, when this data transfer request signal is received from the FLCD 3, it is output as an interrupt signal to the CPU 300 as it is. On the other hand, if the frame memory control circuit 307 receives a series of transfer requests and receives a data transfer request from the FLCD 3 during the transfer, the frame memory control circuit 307 does not output the signal to the CPU 300.

以下、この割り込み信号を受けた場合のCPU300の処理、すなわち、送るべきデータの転送が完了した後の割り込み処理を図13を参照して説明する。図13は、フレームメモリ制御回路307からデータ転送要求信号を受けたときに起動するCPU300における割り込みルーチンのフローチャートである。   Hereinafter, the processing of the CPU 300 when receiving this interrupt signal, that is, the interrupt processing after the transfer of data to be sent is completed will be described with reference to FIG. FIG. 13 is a flowchart of an interrupt routine in the CPU 300 that is activated when a data transfer request signal is received from the frame memory control circuit 307.

フレームメモリ制御回路307からデータ転送要求信号を受けると、まず、ステップS11で書換検出/フラグ生成回路303より領域フラグ(32ビット)をリードすると共に、書換検出/フラグ生成回路303の内部のリセットするべき領域フラグをゼロクリアする。   When the data transfer request signal is received from the frame memory control circuit 307, first, in step S11, the area flag (32 bits) is read from the rewrite detection / flag generation circuit 303 and the rewrite detection / flag generation circuit 303 is reset. The power region flag is cleared to zero.

続いてステップS12でリードした領域フラグ中に、セットされているビットがあるか否か、つまり、書換えられた部分があるか否かを判断する。ここで、セットされているビットがなく、全てのビットが“0”であると判断した場合にはステップS13に進み、インタレース転送を行う処理を行う。即ち、VRAM301に対して何等書き込みが検出されていない場合には、FLCD3からデータ転送要求を受ける度にインタレース転送(フレームメモリ306から1ラインのデータを、且つ、飛び越して転送する旨の指示)を行うことになる。そして当該処理を終了してリターンする。   Subsequently, in step S12, it is determined whether or not there is a set bit in the read area flag, that is, whether or not there is a rewritten portion. Here, if it is determined that there is no set bit and all the bits are “0”, the process proceeds to step S13 to perform processing for interlaced transfer. In other words, when no writing is detected in the VRAM 301, every time a data transfer request is received from the FLCD 3, an interlace transfer is performed (an instruction to transfer one line of data from the frame memory 306 in an interlaced manner). Will do. Then, the process ends and returns.

一方、ステップS12でリードした領域中に、セットされたビットが存在する場合にはステップS14に進み、各回路へセットするアドレス及びライン数を演算する。なお、領域NO10〜12(289〜384ラインの領域)に対するビットが共にセットされている場合には、これらを1つの領域として、アドレス及びライン数を演算する。   On the other hand, if the set bit exists in the area read in step S12, the process proceeds to step S14 to calculate the address and the number of lines to be set in each circuit. If the bits for the areas NO10 to 12 (area of 289 to 384 lines) are set together, the addresses and the number of lines are calculated using these as one area.

ステップS14における演算が完了すると、処理はステップS15〜S17に移行し、フレームメモリ制御回路307、2値化中間調処理回路305、ラインアドレス生成回路304にそれぞれ対応する情報をセットし、2値化中間調処理(量子化処理)を開始させる。上述したように、ラインアドレス生成回路304には書換えられた領域の先頭ラインよりも5ライン前のアドレスをセットする。ただし、領域NO“1”が書換えられた場合には、その5ライン前は存在しない。この場合には、領域NOから割り出されたアドレスをそのまま活用する。そして当該処理を終了してリターンする。   When the calculation in step S14 is completed, the process proceeds to steps S15 to S17, and information corresponding to the frame memory control circuit 307, the binary halftone processing circuit 305, and the line address generation circuit 304 is set and binarized. Halftone processing (quantization processing) is started. As described above, the line address generation circuit 304 is set to an address five lines before the first line of the rewritten area. However, when the area NO “1” is rewritten, there is no line five lines before. In this case, the address determined from the area NO is used as it is. Then, the process ends and returns.

以上の処理の結果、領域フラグをリードし、その中にセットビットが存在する場合の最初の量子化処理が開始される。   As a result of the above processing, the region flag is read, and the first quantization processing is started when there is a set bit in the region flag.

図14は、フレームメモリ制御回路307が、2値化中間調処理回路305から量子化後の画像データを受け、それをフレームメモリ306に格納する作業が完了した場合に、同回路307より出力される割り込み信号に対する処理を示すフローチャートである。   FIG. 14 shows the output from the circuit 307 when the frame memory control circuit 307 receives the quantized image data from the binarized halftone processing circuit 305 and stores it in the frame memory 306. 6 is a flowchart showing processing for an interrupt signal.

まず、ステップS21で、フレームメモリ制御回路307が現在部分書換え画像のFLCD3への転送処理を行っている最中か否かを判断する。フレームメモリ制御回路307が現在部分書換え画像のFLCD3への転送処理を行っている最中である場合にはステップS23に進む。   First, in step S21, it is determined whether or not the frame memory control circuit 307 is currently performing a transfer process of the partially rewritten image to the FLCD 3. If the frame memory control circuit 307 is currently transferring the partially rewritten image to the FLCD 3, the process proceeds to step S23.

一方、フレームメモリ制御回路307が現在部分書換え画像のFLCD3への転送処理を行っていない場合、すなわち、その時点ではインタレース転送を行っており、最初の部分書換え画像のフレームメモリ306への格納が完了したと判断した場合にはステップS22に進み、今、格納が完了した量子化後の画像データの転送を行なわせるべく、フレームメモリ制御回路307にそのアドレス、及び、ライン数をセットし、部分書換え画像の転送を行なわせる。そしてステップS23に進む。   On the other hand, when the frame memory control circuit 307 is not currently transferring the partially rewritten image to the FLCD 3, that is, at that time, the interlaced transfer is being performed, and the first partially rewritten image is stored in the frame memory 306. If it is determined that the processing has been completed, the process proceeds to step S22, and the address and the number of lines are set in the frame memory control circuit 307 in order to transfer the quantized image data that has been stored. The rewritten image is transferred. Then, the process proceeds to step S23.

ステップS23では、既に読み込んだ領域フラグを調べて、次に量子化する領域があるか否かを判断する。次に量子化する領域がない場合には当該処理を終了する。   In step S23, the already read area flag is checked to determine whether there is an area to be quantized next. Next, if there is no region to be quantized, the process is terminated.

一方、ステップS23で未量子化処理の領域があると判断した場合にはステップS24に進み、未量子化処理の領域に対するアドレス及びライン数を演算し、ステップS25〜ステップS27において、各回路に情報をセットし、次の量子化処理を開始させる。なお、このステップS24〜ステップS27の処理は、上述したステップS14〜ステップS17と同じであるので、その詳述は省略する。そして当該処理を終了する。   On the other hand, if it is determined in step S23 that there is an unquantized processing region, the process proceeds to step S24, where the address and the number of lines for the unquantized processing region are calculated. In steps S25 to S27, information is transmitted to each circuit. To start the next quantization process. Note that the processing from step S24 to step S27 is the same as that from step S14 to step S17 described above, and therefore detailed description thereof is omitted. Then, the process ends.

次に、フレームメモリ制御回路307より、CPU300によって指示された部分書換え画像のFLCD3への転送が完了した場合に通知される割り込み処理を、図15のフローチャートを参照して説明する。   Next, interrupt processing notified when the frame memory control circuit 307 completes transfer of the partially rewritten image instructed by the CPU 300 to the FLCD 3 will be described with reference to the flowchart of FIG.

まず、ステップS31で、次に転送すべきデータがあるか否かを判断する。転送すべきデータがないケースは、部分書換えに対する全ての領域の画像をFLCD3に転送し終えた場合と、先に説明した量子化処理が完了していず、それを待っている場合の2通りである。いずれにしても、転送すべきデータがないと判断したら、当該処理を終了する。   First, in step S31, it is determined whether there is data to be transferred next. There are two cases where there is no data to be transferred: when the image of all areas for partial rewriting has been transferred to the FLCD 3, and when the above-described quantization processing has not been completed and is waiting for it. is there. In any case, when it is determined that there is no data to be transferred, the processing is terminated.

また、ステップS31で、転送すべきデータがあると判断した場合にはステップS32に進み、その領域をFLCD3に転送すべく、フレームメモリ制御回路307に対して転送開始ラインアドレス及びライン数をセットして転送処理を開始させる。そして当該処理を終了する。   If it is determined in step S31 that there is data to be transferred, the process proceeds to step S32, and the transfer start line address and the number of lines are set to the frame memory control circuit 307 in order to transfer the area to the FLCD 3. To start the transfer process. Then, the process ends.

以上説明したように、CPU300は、上記処理を行うことにより、上述した部分書換え部分の表示の更新、及び、変化がない場合のインタレース表示を行なわせることが可能になる。これらの処理の中核となるのは、CPU300は勿論であるが、フレームメモリ制御回路307に依存する部分、すなわち、フレームメモリ306を設けたことによる影響が大である。   As described above, the CPU 300 can update the display of the above-described partial rewrite portion and perform interlaced display when there is no change by performing the above processing. The core of these processes is of course the CPU 300, but the influence of the provision of the frame memory 306, that is, the part depending on the frame memory control circuit 307 is significant.

以上説明したように本実施例によれば、VRAM301への書き込みとFLCD3への表示更新が、全く非同期に行えるので、FLCD3の特徴を最大限に利用した表示を行なわせることが可能になる。   As described above, according to the present embodiment, writing to the VRAM 301 and display updating to the FLCD 3 can be performed completely asynchronously, so that display utilizing the characteristics of the FLCD 3 to the maximum can be performed.

なお、上記実施例では、フレームメモリ制御回路307は、CPU300から部分書換えによる転送指示があった場合、その部分書換え画像の転送中ではFLCD3からのデータ転送要求信号による割り込み信号をCPU300に出力しないとしたが、その動作中の状況に拘らず割り込み信号を出力するようにしても良い。   In the above embodiment, when the frame memory control circuit 307 receives a transfer instruction by partial rewriting from the CPU 300, the frame memory control circuit 307 must output an interrupt signal based on the data transfer request signal from the FLCD 3 to the CPU 300 during the transfer of the partially rewritten image. However, an interrupt signal may be output regardless of the operating state.

この場合には、CPU300は、部分書換え指示を行った場合に、転送するライン数を知っていることになるから、割り込み信号を受ける毎にカウントダウンし、その値を検査すれば、その割り込みが転送完了による割り込みなのか、インタレース転送中の割り込みなのかを判断できる。   In this case, the CPU 300 knows the number of lines to be transferred when a partial rewrite instruction is issued. Therefore, the CPU 300 counts down every time an interrupt signal is received and checks the value to transfer the interrupt. It can be determined whether the interrupt is due to completion or an interrupt during interlace transfer.

また、上記実施例におけるCPU300の処理手順は、一例であって、これによって本願発明が限定されるものではない。要は、先に説明したごとく、部分書換え画像をFLCD3に転送する際、フレームメモリ306を介在させ、非同期に行うようになっていれば良い。   Further, the processing procedure of the CPU 300 in the above embodiment is an example, and the present invention is not limited thereby. In short, as described above, when the partially rewritten image is transferred to the FLCD 3, it is sufficient that the frame memory 306 is interposed to perform the asynchronous rewriting.

次に、本実施例におけるFLCDインタフェース2とFLCD3間のシリアル通信線311を介して行われるコミュニケーションについて説明する。   Next, communication performed via the serial communication line 311 between the FLCD interface 2 and the FLCD 3 in this embodiment will be described.

なお、図3ではシリアル通信線311は1本の線で示されているが、実際には全二重通信可能なRS−232C仕様のものを使用しているおり、その線数は同シリアルインタフェース仕様(クロスインタフェース)に準拠しているものとする。また、データ転送バス310には、先に説明したデータバスとデータ転送要求線が含まれるが、これ以外にもFLCDインタフェース2の電源(情報処理装置側の電源)がオンになった場合に、その旨をFLCD3に通知するための1本の論理レベル信号を送出する信号線も含まれる。勿論、これ以外にも転送クロック等の所定の信号も含まれる。   In FIG. 3, the serial communication line 311 is shown as a single line, but actually, the RS-232C specification capable of full-duplex communication is used, and the number of lines is the same as the serial interface. It shall conform to the specifications (cross interface). The data transfer bus 310 includes the data bus and the data transfer request line described above. In addition, when the power supply of the FLCD interface 2 (the power supply on the information processing apparatus side) is turned on, A signal line for transmitting one logic level signal for notifying the FLCD 3 to that effect is also included. Of course, other predetermined signals such as a transfer clock are also included.

また、シリアル通信線311における通信は、調歩同期式の9600bps、データビット長8ビット、偶数パリティ規格で行われる。但し、これらは一般にシリアル通信においては通常の如く行われている条件であり、本発明特有のものではないので詳細説明を省略する。   In addition, communication on the serial communication line 311 is performed in accordance with an asynchronous system of 9600 bps, a data bit length of 8 bits, and an even parity standard. However, these are conditions that are generally performed in the serial communication as usual, and are not specific to the present invention, and thus detailed description thereof is omitted.

以下に説明するコミュニケーションによって、FLCD3を含む本実施例システムを最適な状態で使用することが可能になる。例えば、ホスト側の電源が投入された後に、FLCD3の電源が投入された場合であっても、たとえ部分書換えによる画像のみが転送されて全画面の表示が行われなくなるという不具合もこれによって解消する。   The communication described below makes it possible to use the system of this embodiment including the FLCD 3 in an optimal state. For example, even when the power of the FLCD 3 is turned on after the host side is turned on, the problem that only the image by partial rewriting is transferred and the full screen is not displayed is also solved by this. .

本実施例におけるこのコミュニケーションは、原則として1バイト単位のデータを使用して行われる。これは、双方の制御部(CPU300やシステムコントローラ160)にとってのデータ転送及び受信量が少なくて済み、制御が簡単になるからである。   In principle, this communication is performed using data in units of 1 byte. This is because the amount of data transfer and reception for both control units (CPU 300 and system controller 160) is small, and the control becomes simple.

また、シリアル通信プロトコルとしては、FLCDインタフェース2側(CPU300)からFLCD3に対するコードと、FLCD3(システムコントローラ160)からFLCDインタフェース2に対するコードがある。混乱を避けるため、前者(FLCDインタフェース2→FLCD3)のコードを“コマンド”或いは“コマンドコード”と呼び、後者(FLCD3→FLCDインタフェース2)のコードを“アテンション”或いは“アテンションコード”と呼ぶ。   The serial communication protocol includes a code for the FLCD 3 from the FLCD interface 2 side (CPU 300) and a code for the FLCD interface 2 from the FLCD 3 (system controller 160). In order to avoid confusion, the former (FLCD interface 2 → FLCD3) code is called “command” or “command code”, and the latter (FLCD3 → FLCD interface 2) code is called “attention” or “attention code”.

なお、FLCDインタフェース2からFLCD3へのコマンドに対するFLCD3よりのステータスの返送と、FLCD3よりFLCDインタフェース2へのアテンション発行を起動要因とする特定コマンド/ステータスの送信も存在する。   In addition, there is a return of a status from the FLCD 3 in response to a command from the FLCD interface 2 to the FLCD 3, and a transmission of a specific command / status using an issue of attention from the FLCD 3 to the FLCD interface 2 as an activation factor.

本実施例のコマンドの詳細と、それに対するFLCD3からのステータスを図16に示す。なお、図示において、大項目“コマンド”中のコード欄の“H”は16進数を示し、“x”は可変4ビットを示している。また、大項目“ステータス”における“B”は2進数であることを、“x”は可変1ビット(コマンドにおける“x”とは相違する)を示している。   FIG. 16 shows the details of the command of this embodiment and the status from the FLCD 3 corresponding thereto. In the figure, “H” in the code column of the major item “command” indicates a hexadecimal number, and “x” indicates variable 4 bits. In addition, “B” in the major item “status” indicates a binary number, and “x” indicates a variable 1 bit (different from “x” in the command).

以下、順を追って各コマンド及びそれに対するステータスを説明する。   Hereinafter, each command and its status will be described in order.

Request Unit ID:00H
このコマンドは、接続されたFLCD3の種別を問い合わせるコマンドである。
Request Unit ID: 00H
This command is a command for inquiring the type of the connected FLCD 3.

ステータス:
FLCD3は、このコマンドを受信した場合に、システムコントローラ160内のROM161に記憶されているID情報を付加して、FLCDインタフェース2に、正常時には00xxxxxxBという、異常時には01xxxxxxBという形式のステータスを送出する。
status:
When the FLCD 3 receives this command, it adds ID information stored in the ROM 161 in the system controller 160 and sends a status in the form of 00xxxxB when normal and 01xxxxB when abnormal.

ここで、下位6ビットの最上位ビットはFLCD3がカラー表示であるか(:0)、モノクロ表示であるか(:1)を示し、次の上位2ビットは画面サイズ(最大表示可能ドット数)が例えば15インチであるか(:00)、21インチであるか(:01)を示すビットが含まれる。つまり、FLCDインタフェース2側では、このコマンド“00H”を発行することで、どのようなFLCDが接続されているかを知ることが可能になっている。なお、本実施例ではカラー表示であるが、FLCDインタフェース2にはモノクロ表示の表示装置も接続することができ、係るコマンドが用意されている。   Here, the most significant bits of the lower 6 bits indicate whether the FLCD 3 is in color display (: 0) or monochrome display (: 1), and the next upper 2 bits are the screen size (the maximum number of dots that can be displayed). Is, for example, 15 inches (: 0) or 21 inches (: 01). That is, on the FLCD interface 2 side, it is possible to know what FLCD is connected by issuing this command “00H”. Although color display is used in this embodiment, a monochrome display device can be connected to the FLCD interface 2, and such a command is prepared.

異常時(エラー時)について規定されているのは、FLCDインタフェース2からFLCD3に対してコマンドを送出したとき、ノイズ等の影響を受けて正常に送られなかった場合にも対処するためであり、このような時は上位2ビットが“01”で始まるステータスを返す。なお、エラー時におけるステータスは、各コマンドに対して共通であるので、ここで受信したコマンドに対するエラー時のアテンションを説明する。   The reason for the abnormality (at the time of error) is to cope with the case where the command is sent from the FLCD interface 2 to the FLCD 3 and is not sent normally due to the influence of noise, etc. In such a case, a status whose upper 2 bits begin with “01” is returned. Since the status at the time of error is common to each command, the attention at the time of error for the received command will be described here.

エラー時のステータスの下位6ビットは、エラーの種別を示す種別データ4ビットと、その内容を示す2ビットの内容データの組み合わせで構成される。種別データと内容データは次の通りである。   The lower 6 bits of the status at the time of error are composed of a combination of 4 bits of type data indicating the type of error and 2 bits of content data indicating the content. The type data and content data are as follows.

種別データ:Send Diagnostic エラー
内容データ:
“Send Diagnostic(自己診断結果)”に対応するエラーであり、システムコントローラ160内のROM161のチェックサムエラー、ワークメモリとして使用されるRAM162のエラー(書き込みと読み出しでのベリファイエラー)、ACフェールエラー、その他の表示動作中のエラーが含まれる。なお、FLCD3としては他にケーブル外れエラーがあるが、通常この状態時には通信を行うことはできない。
Type data: Send Diagnostic error Content data:
This is an error corresponding to “Send Diagnostics (self-diagnostic result)”, a checksum error of the ROM 161 in the system controller 160, an error of the RAM 162 used as a work memory (verification error in writing and reading), an AC failure error, Includes errors during other display operations. The FLCD 3 also has a cable disconnection error, but normally communication cannot be performed in this state.

種別データ:受信時エラー
受信時のエラーであり、パリティーエラー、オーバーラン、定義外コマンド等がある。
Type data: Error at reception This is an error at reception, such as parity error, overrun, undefined command, etc.

種別データ:Send Host ID エラー
内容データ:
“Send Host ID”コマンドを受信した際に、そのHost(FLCDインタフェース2)が定義外IDであると判断したことを示すエラー
種別データ:Set Modeエラー
内容データ
“Set Mode”に対するものであり、遷移不能(指定されたモードへの移行不能を示す)、定義外動作Modeが行われたことを示す。
Type data: Send Host ID error Contents data:
When the “Send Host ID” command is received, an error indicating that the Host (FLCD interface 2) is determined to be an undefined ID. Type data: Set Mode error Content data “Set Mode” Impossible (indicates inability to transition to the designated mode), indicates that an undefined operation mode has been performed.

種別データ:Read/Write エラー
内容データ:
“Read/Write”コマンドに対するもので、Read Only領域に対しての書き込み、Hidden領域に対するアクセス、Address未定義であることを示す。
Type data: Read / Write error Contents data:
This is for the “Read / Write” command, and indicates that writing to the Read Only area, access to the Hidden area, and Address are not defined.

種別データ:Set Address エラー
内容データ:
“Set Address”コマンドに対応するものであり、範囲外addressが設定されたことを示す。
Type data: Set Address error Contents data:
This corresponds to the “Set Address” command and indicates that an out-of-range address has been set.

種別データ:Unit Start エラー
内容データ:
“Unit Start”コマンドに対応するものであり、未だSartできる状態ではない、Error状態である、既にStartしている、を示す。
Type data: Unit Start error Contents data:
This corresponds to the “Unit Start” command, and indicates that the state is not yet ready for starting, is in the error state, and has already started.

種別データ:Request Attention エラー
内容データ:
“Request Attention”コマンドに対応するものであり、送信すべきアテンションがないことを示す。
Type data: Request Attention error Contents data:
This corresponds to the “Request Attention” command and indicates that there is no attention to be transmitted.

種別データ:Request Status エラー
内容データ:
“Request Status”コマンドに対応するものであり、送信すべきstatusがないことを示す。
Type data: Request Status error Contents data:
This corresponds to the “Request Status” command and indicates that there is no status to be transmitted.

以上である。なお、上記はその一例であって、例えば種別データは4ビットであるから、原理的には16通りの種別データを定義できる。また、先に説明したように、FLCD3が、受信したコマンドに対するエラーが発生した際に送出するステータスは各コマンドに共通であるので、以下に説明するコマンドについてのエラー時のアテンションについての説明は省略する。   That's it. Note that the above is an example. For example, since the type data is 4 bits, 16 types of type data can be defined in principle. Further, as described above, since the status transmitted by the FLCD 3 when an error occurs with respect to the received command is common to each command, description of the attention at the time of error for the command described below is omitted. To do.

Request 1H:01H
FLCD3は、詳細を後述するように、温度センサ105によって検出されたFLCパネル温度に依存してその動作速度(1走査分の画像表示周期)を変えている。このコマンドは、FLCDインタフェース2がFLCD3に対して、現在の1走査分の駆動速度がどのようになっているのか(FLCDパネルの1H情報)を問い合わせるためのものである。FLCD3からの応答であるステータスは、図16に示す如く、下位6ビットでもって現在の1走査駆動周期を示す1H情報を返す。
Request 1H: 01H
As will be described in detail later, the FLCD 3 changes its operation speed (image display period for one scan) depending on the FLC panel temperature detected by the temperature sensor 105. This command is for the FLCD interface 2 to inquire the FLCD 3 about the current driving speed for one scan (1H information of the FLCD panel). As a response from the FLCD 3, as shown in FIG. 16, 1H information indicating the current one scanning drive cycle is returned with lower 6 bits.

FLCDインタフェース2はこのコマンド発行による応答ステータスを受け、インタレースの飛び越し間隔を変えたり、部分書換えと全画面の更新の割合を変えたりする。   The FLCD interface 2 receives the response status by issuing this command, changes the interlace jump interval, and changes the rate of partial rewriting and full screen update.

上述したように、FLCDインタフェース2では、FLCD3に転送すべきデータがなくなった場合、インタレース表示させるが、例えば、FLCD3の所定の領域に動画等を表示させている間は、その表示更新された部分のみの画像が更新されていことになる。従って、この動画の表示時間が長いと、未変更部分と変更部分の画像の輝度差が発生し、それが徐々に強調されてしまう。   As described above, when there is no more data to be transferred to the FLCD 3, the FLCD interface 2 displays an interlaced display. For example, while a moving image or the like is displayed in a predetermined area of the FLCD 3, the display is updated. This means that the image of only the part has been updated. Therefore, when the display time of this moving image is long, a luminance difference between the image of the unchanged portion and the changed portion is generated, and this is gradually emphasized.

そこで、部分書換えが継続している間でも、ある程度の間隔で、全画面分の画像を表示するようにすることが必要になる。係る点を考慮して、本実施例では、最低でも1Hzの周期内で1画面全部の更新(フレームメモリ306内の全画像データ転送)を行うように制御している。この1Hz、すなわち、1秒間に表示できるフレーム数が、FLCD3の1走査ラインの駆動周期が温度に依存して変化するので、かかるコマンドを用いる必要があるのである。   Therefore, it is necessary to display an image for the entire screen at a certain interval even while partial rewriting continues. In consideration of such a point, in this embodiment, control is performed so that one screen is updated (transfers all image data in the frame memory 306) within a period of at least 1 Hz. This 1 Hz, that is, the number of frames that can be displayed in one second changes with the drive cycle of one scanning line of the FLCD 3 depending on the temperature, so it is necessary to use such a command.

また、このコマンドは、画面に変化がなくなった際のインタレース表示における飛び越し間隔にも影響する。すなわち、温度があまり高くない場合には、FLCD3の表示速度は遅くなるため、かかる場合におけるインタレース表示における飛び越し間隔を大きめにして全画像の見掛け上の更新を早くする。逆に、十分な表示速度が可能な温度であれば、当然飛び越し間隔は小さくできることになる。   This command also affects the interlace display interval when there is no change in the screen. That is, when the temperature is not so high, the display speed of the FLCD 3 is slowed down, so that the interlaced display interval in such a case is increased to speed up the apparent update of all images. On the contrary, if the temperature allows a sufficient display speed, the interlace interval can naturally be reduced.

Unit Start:02H
このコマンドは、接続されたFLCD3の描画を起動する(駆動開始を指示する)ためものである。これを受けて、はじめてFLCD3は画像の表示を行うことが可能になる。FLCD3は、Busy信号を出力し、正常に動作が開始されたか否かを応答すれば良いので、正常時におけるステータスには図示の如くオペランドはない。
Unit Start: 02H
This command is for starting drawing of the connected FLCD 3 (instructing to start driving). Only after this, the FLCD 3 can display an image. The FLCD 3 only needs to output a Busy signal and respond as to whether or not the operation has started normally. Therefore, there is no operand in the normal status as shown in the figure.

Request Attention inf.:03H
このコマンドは、FLCD3からのアテンションを受信したとき、そのアテンションの詳細内容の送信を要求するためのものである。これを受けて、FLCD3側からは下位6ビットにアテンションの内容を示すコードを付加して送出する。
Request Attention inf. : 03H
This command is used to request transmission of the detailed contents of the attention when the attention is received from the FLCD 3. In response to this, the FLCD 3 sends the lower 6 bits with a code indicating the content of the attention.

Request Attention Bit:04H
このコマンドは、FLCD3がもっているアテンションステータスビットの送信を要求するためのものである。FLCDが持っているアテンションステータスには、例えば、FLCDがReadyになったかどうか、1H情報が変更されたかどうか、コントラストが変更されたかどうか、エラーが発生したかどうか等であり、FLCD3側からはこれらの内容を示すデータを下位6ビットにセットしたステータスを送出してくる。
Request Attention Bit: 04H
This command is for requesting transmission of the attention status bit possessed by the FLCD 3. The attention status of the FLCD includes, for example, whether the FLCD has become Ready, whether the 1H information has been changed, whether the contrast has been changed, whether an error has occurred, etc. A status in which the data indicating the contents of is set in the lower 6 bits is transmitted.

Get Mode:05H
現在のFLCD3の表示モードの送信要求をするためのコマンドである。FLCD3の表示モードには、詳細を後述するように例えば、動作モード番号0である通常動作モード(LED及びバックライトが点灯し走査を行う通常描画状態表示モード)、動作モード番号1であるスタティックモード(画像データの受信をやめ、LED及びバックライトが点灯し走査停止状態である表示画像をフリーズするモード:静止画鑑賞に適する)、動作モード番号2であるスリープモード(画像の表示をやめ、バックライトの駆動もやめるモード:省電力・バックライトとFLCDの延命効果)がある。FLCD3は、現在このいずれの表示モードで動作しているかを示す動作モード番号をステータスとして返す。
Get Mode: 05H
This is a command for requesting transmission of the display mode of the current FLCD 3. As will be described in detail later, the display mode of the FLCD 3 includes, for example, a normal operation mode having an operation mode number 0 (a normal drawing state display mode in which an LED and a backlight are turned on and performing scanning), and a static mode having an operation mode number 1. (Mode that stops receiving image data and freezes the display image in which the LED and backlight are lit and scanning is stopped: suitable for still image viewing) Sleep mode that is operation mode number 2 (stops image display and back There is also a mode to stop driving the light: power saving, life extension effect of backlight and FLCD). The FLCD 3 returns an operation mode number indicating which display mode is currently operating as a status.

Request Status:06H
これはFLCD3から送られてきたアテンションにパリティーエラー等が発生した際に、そのステータスを再送するよう要求するためのコマンドである。FLCD3は、これを受けて再度、前回送出したものと同じ内容を示すアテンションを送出することになる。
Request Status: 06H
This is a command for requesting retransmission of the status when a parity error or the like occurs in the attention sent from the FLCD 3. In response to this, the FLCD 3 again sends attention indicating the same content as that sent last time.

Attention Clear:0AH
このコマンドはFLCD3のアテンションをクリアさせるものである。FLCDは正常にクリアされたか否かを通知すれば良いので、もし正常であれば全ビット“0”のステータスを送出する。
Attention Clear: 0AH
This command clears the attention of the FLCD 3. The FLCD only needs to notify whether or not it has been cleared normally. If it is normal, the status of all the bits “0” is transmitted.

Get Contrast Enh.:0BH
このコマンドは、FLCD3の輝度・画質トリマ106、107の設定値等により定まるコントラストエンハンスメント値を獲得するためのものであり、これに対するレスポンス(ステータス中の6ビット)に従って、先に説明したデガンマ回路309のデガンマテーブル内容を更新する。なお、デガンマテーブルを更新した場合、部分書換えされた画像のみのコントラストが変更されてしまうので、VRAM301の全画像に対して書き込みがなされたものとして、全画像の2値化処理を行わせ、全画像をFLCD3に転送することになる。
Get Contrast Enh. : 0BH
This command is for acquiring a contrast enhancement value determined by the setting values of the brightness / image quality trimmers 106 and 107 of the FLCD 3, and the degamma circuit 309 described above according to the response (6 bits in the status) to this. Update the contents of the degamma table. Note that when the degamma table is updated, the contrast of only the partially rewritten image is changed, so that all the images in the VRAM 301 are written and binarization processing is performed on all the images. All images are transferred to the FLCD 3.

Get Multi:0CH
本実施例におけるFLCD3は、3つの走査モードを有しており、FLCDインタフェース2よりの画像データのヘッダ部にセットされるスキャンモード情報と、後述するSet Multiコマンドにより指定される3つの走査モードでの動作が可能であり、Set Multiでの指定が先のマルチスキャンモードでの指定に優先する。
Get Multi: 0CH
The FLCD 3 in the present embodiment has three scan modes. The scan mode information set in the header portion of the image data from the FLCD interface 2 and the three scan modes specified by the Set Multi command described later. The setting in Set Multi has priority over the designation in the previous multi-scan mode.

この3つの走査モードは、入力した1ラインの画像データに対して、nライン(現時点では、nは1、2、4のいずれかである)の画像として表示するモードであり、01Hである1本同時選択モード、02Hである2本同時選択モード、03Hである4本同時選択モードを有している。例えば、近年、マルチメディアがさけばれる中、動画表示のデフォルトは、せいぜい300×200ドット程度の大きさであり、アプリケーションによってはそのサイズが固定のものもある。これでは、表示画像が小さくなりすぎるので、受信した原画像1ラインに対して2ライン、もしくは4ライン分同じ画像を表示する。   These three scanning modes are modes in which an input line of image data is displayed as an image of n lines (currently, n is any one of 1, 2, and 4). There are a simultaneous selection mode, a 2-simultaneous selection mode of 02H, and a 4-simultaneous selection mode of 03H. For example, in recent years, when multimedia is being avoided, the default of moving image display is at most about 300 × 200 dots, and some applications have a fixed size. In this case, since the display image becomes too small, two lines or four lines of the same image are displayed with respect to one line of the received original image.

このようにして、そのままでは小さい画像であっても視覚的に負担のない画像を表示することが可能になる。また、FLCDインタフェース2にとっては、同じラインのデータを複数回転送することがないので、負担は少ない。但し、主走査方向に関しては、同じ画素をn回続けて転送するよう、フレームメモリ制御回路307に指示する。なお、主走査方向への繰り返し回数も別途指示するようにしても良いのは勿論である。   In this way, it is possible to display an image with no visual burden even if it is a small image as it is. In addition, for the FLCD interface 2, data on the same line is not transferred a plurality of times, so the burden is small. However, in the main scanning direction, the frame memory control circuit 307 is instructed to continuously transfer the same pixel n times. Of course, the number of repetitions in the main scanning direction may be separately designated.

このGet Multiコマンドは、現在のFLCDのかかる状態がどのようになっているのかを送信要求するためのものである(現在の状態はステータスの6ビットで返される)。このコマンドを設けた理由は、後述するSet Multiコマンドでもって、FLCD3に対して上記nを“2”にセットした以降、情報処理システム(例えばパーソナルコンピュータ)側の電源を遮断して、再度投入した際の画像データの送り手と受けての不整合を防止するためのものである。   This Get Multi command is for requesting transmission of the current state of the FLCD (the current state is returned in the 6 bits of the status). The reason for providing this command is that the information processing system (for example, a personal computer) is turned off and then turned on again after setting n to “2” for the FLCD 3 with the Set Multi command described later. This is to prevent inconsistency between the image data sender and the receiver.

Send Diagnostic:1xH
このコマンドは、FLCD3に自己診断を行わせ、その結果を送信するよう要求するためのものである。“x”で示される4ビットには、その診断モードを指定する。診断モードにはいくつかあって、FLCD3は指定されたモードに対する診断結果をステータス情報として返す。
Send Diagnostic: 1xH
This command is for requesting the FLCD 3 to perform self-diagnosis and to transmit the result. The 4 bits indicated by “x” designate the diagnosis mode. There are several diagnosis modes, and the FLCD 3 returns a diagnosis result for the designated mode as status information.

Send Host ID:2xH
このコマンドは、FLCDインタフェース2のID(種類)をFLCD3に通知するためのものである。“x”の4ビット中、2ビットはFLCDインタフェース2のバージョン、残りの2ビットにはFLCDインタフェース2のカードのID(情報処理装置の種類にもなる)である。FLCD3は、受信したIDを許容できると判断した場合には全ビット“0”のステータスを返す。
Send Host ID: 2xH
This command is for notifying the FLCD 3 of the ID (type) of the FLCD interface 2. Of the 4 bits of “x”, 2 bits are the version of the FLCD interface 2, and the remaining 2 bits are the ID of the card of the FLCD interface 2 (also the type of information processing apparatus). When the FLCD 3 determines that the received ID is acceptable, it returns a status of all bits “0”.

Set Mode:3xH
このコマンドは、“Get Mode”コマンドに対応するものであり、“x”の4ビットでもって、FLCD3に対し、通常モード、スタティックモード、スリープモードのいずれかを設定を指示する上述した動作モード番号を送る。FLCD3からは正常にそのモードへの移行ができた場合には、全ビット“0”のステータスを返す。このコマンドの発行タイミングであるが、例えば、ホスト1のユーザがそのモードとするよう指示入力し、FLCDインタフェース2にこの指示があった場合等である。また、所定期間(この期間はユーザによりプログラマブルである)経過しても画像に変化がなくなった場合に、スタティックモードへ移行することもある。
Set Mode: 3xH
This command corresponds to the “Get Mode” command, and has the 4 bits “x” and instructs the FLCD 3 to set the normal mode, static mode, or sleep mode as described above. Send. When the FLCD 3 can normally shift to the mode, the status of all bits “0” is returned. The command issuance timing is, for example, when the user of the host 1 inputs an instruction to enter the mode and the FLCD interface 2 receives this instruction. In addition, when a predetermined period (this period is programmable by the user) elapses and the image no longer changes, the mode may be shifted to the static mode.

Set Multi:4xH
このコマンドは、先に説明した“Get Multi”に対応するものであり、FLCD3における1ラインの画像を1、2、或いは4ライン分の画像として表示させるための指示を行うものである。“x”で示される4ビットは、0の場合にはFLCDインタフェース2よりの画像データのヘッダ部にセットされるスキャンモード情報によることを示し、01Hは1本同時選択モード、02Hは2本同時選択モード、03Hは4本同時選択モードである。
Set Multi: 4xH
This command corresponds to “Get Multi” described above, and gives an instruction to display an image of one line on the FLCD 3 as an image of 1, 2, or 4 lines. The 4 bits indicated by “x” indicate that the scan mode information set in the header portion of the image data from the FLCD interface 2 when 0, 01H is the one-line selection mode, and 02H is the two-line selection mode simultaneously. The selection mode, 03H, is a four simultaneous selection mode.

ステータスは正常には全ビット“0”を返す。本実施例では、例えば横640ドット、縦480ドットのいわゆるVGAモードが選択した場合には、それを検出して、2ライン同時駆動を行なわせ、FLCD3の1280ドット×960ドットを駆動対象にさせる。但し、ユーザの好みに応じて変更できるようにするこも望まれるので、情報処理装置のFLCDインタフェースの環境設定ユーティリティプログラムによって各種設定を行なえるようにしても良い。   The status normally returns all bits “0”. In this embodiment, for example, when a so-called VGA mode of horizontal 640 dots and vertical 480 dots is selected, it is detected and two lines are driven simultaneously, and 1280 dots × 960 dots of the FLCD 3 are driven. . However, since it is desired to be able to change according to the user's preference, various settings may be made by the environment setting utility program of the FLCD interface of the information processing apparatus.

さて、これ以降の、Write High/Low Memory(8xH、9xH)、Read High/Low Memory(08H,09H)は、FLCD3内のシステムコントローラ160(アドレス空間は64Kバイト)の任意のアドレスにデータを書き込んだり、読み込み指示を与えたりするためのものである。Write High/Low Memoryそれぞれの下位4ビットでもって書き込むべきデータ1バイトを示すことになる。なお、Read High/Low Memoryに関してはオペランド(可変4ビット)は存在しないのは当然である。   From this point on, Write High / Low Memory (8xH, 9xH) and Read High / Low Memory (08H, 09H) write data to any address in the system controller 160 (address space is 64K bytes) in the FLCD 3. Or give reading instructions. One byte of data to be written is indicated by the lower 4 bits of each of Write High / Low Memory. It should be noted that there is no operand (variable 4 bits) with respect to Read High / Low Memory.

いずれにしても、書き込むべきアドレス、あるいは読み込むべきアドレスを指定することが必要になるが、このアドレスは図示のSet HH/MH/ML/LL Addressコマンド(Ax、Bx、Cx、DxH)それぞれの下位4ビット(計16ビット)でもって設定する。アドレスは、読み込もうとするアドレス、或いは書き込もうとするアドレスである。こうしてアドレスが確定した後に、Read コマンド或いはWriteコマンドで読み込み或いは書き込みを行うことになる。   In any case, it is necessary to specify an address to be written or an address to be read. This address is lower than each of the illustrated Set HH / MH / ML / LL Address commands (Ax, Bx, Cx, DxH). Set with 4 bits (16 bits in total). The address is an address to be read or written. After the address is determined in this way, reading or writing is performed with a Read command or a Write command.

なお、Readコマンドでは、指定されたアドレスのバイトの内容のうち上位4ビット或いは下位4ビットをステータスとして返すが、それ以外のコマンドに対してはそれが正常であれば全ビット“0”のアテンションを返す。   In the Read command, the upper 4 bits or lower 4 bits of the contents of the byte at the specified address are returned as the status. For other commands, if it is normal, the attention of all bits “0” is returned. return it.

これらFLCD3内のメモリに対する読み込み或いは書き込みは、主としてデバッグに用いられるが、勿論これに限定されるものではなく、FLCD3内のワーク領域を変更させることで換えることも可能である。また、FLCD3内のシステムコントローラ160の動作処理プログラムをRAMに常駐させて実行するようにして、そのRAM上にホスト1から機能を向上させたプログラムを格納させることも可能になる。   The reading or writing with respect to the memory in the FLCD 3 is mainly used for debugging, but is not limited to this, and can be changed by changing the work area in the FLCD 3. It is also possible to store an operation processing program of the system controller 160 in the FLCD 3 resident in the RAM and store a program with improved functions from the host 1 on the RAM.

以上、FLCDインタフェース2からFLCD3に対して送出されるコマンド(コマンドコード)及びそれに対する応答ステータスを述べた。   The command (command code) sent from the FLCD interface 2 to the FLCD 3 and the response status to the command have been described above.

次に、FLCD3が自発的にFLCDインタフェース2に対してアテンションを送出する場合を説明する。   Next, a case where the FLCD 3 spontaneously sends attention to the FLCD interface 2 will be described.

FLCD3によるアテンションは次のフォーマットである。即ち、
10xxxxxxB
である。つまり、最上位ビット(MSB)を“1”にする。
Attention by the FLCD 3 is in the following format. That is,
10xxxxxxxxB
It is. That is, the most significant bit (MSB) is set to “1”.

理由は、FLCDインタフェース2があるコマンドをFLCD3に対して送出すると同時に、FLCD3が自発的にアテンションをFLCD120に対して送出した場合において、FLCDインタフェース2側としては送出したコマンドに対するレスポンスを受信したのではなく、自発的なアテンションを受信したと判断できるようにするためである。つまり、先に説明したように、コマンド発行に対する全ての応答アテンションはそのMSBが“0”であるので、FLCDインタフェース2側ではその判断が容易になる。   The reason is that when the FLCD interface 2 sends a command to the FLCD 3 and the FLCD 3 voluntarily sends an attention to the FLCD 120, the FLCD interface 2 side does not receive a response to the sent command. This is to make it possible to determine that a spontaneous attention has been received. That is, as described above, the MSB of all response attentions for command issuance is “0”, so that determination on the FLCD interface 2 side is easy.

さて、FLCD3からのアテンションの下位6ビットは以下の通りである。   The lower 6 bits of the attention from the FLCD 3 are as follows.

ビット0:FLCDがREADYになった場合にセット、
ビット1:1H情報が変更された場合にセット、
ビット2:コントラストエンハンスメントが変更された場合にセット、
ビット3:未定義
ビット4:FLCDに回復可能なエラーが発生した場合にセット、
ビット5:FLCDに回復不可能なエラーが発生した場合にセット、
以上である。
Bit 0: Set when FLCD becomes READY,
Bit 1: 1 Set when the 1H information is changed,
Bit 2: Set when contrast enhancement is changed,
Bit 3: Undefined Bit 4: Set when a recoverable error occurs in the FLCD,
Bit 5: Set if an unrecoverable error occurs on the FLCD,
That's it.

ここで、回復可能なエラーには、例えばアテンション状態でない場合、画像データが所定期間経過しても送られてこない場合、定義外表示モードが設定されたされている場合等がある。また、回復不可能なエラーには温度センサ105の断線による検出不能、その短絡による検出不能、A/D変換器によるサンプリングタイムアウト、変換終了タイムアウト、データセットタイムアウト、自己診断によるROMチェックエラー、RAMチェックエラー等がある。   Here, the recoverable error includes, for example, when it is not an attention state, when image data is not sent even after a predetermined period, and when a non-definition display mode is set. Unrecoverable errors cannot be detected due to disconnection of temperature sensor 105, cannot be detected due to short circuit, sampling timeout by A / D converter, conversion end timeout, data set timeout, ROM check error by self-diagnosis, RAM check There are errors.

なお、ROMチェック等は、FLCDインタフェースからの指示によって行われる自己診断でも行うが、ここで言うエラーは、次に説明するFLCD3に電源が投入されたときの初期チェックにおけるエラー発生時のものである。   The ROM check or the like is also performed by self-diagnosis performed by an instruction from the FLCD interface. However, the error referred to here is the one when an error occurs in the initial check when the FLCD 3 described below is turned on. .

また、FLCDインタフェース2がコマンドを発行すると共に、FLCD3が自発的なアテンションを発行した際、すなわち、双方が最初のコードを送出した場合には、FLCD3からのアテンションを優先して処理する。理由は、FLCDからの要求は画像表示というユーザとのインタフェースで一番近いところにあるからである。   When the FLCD interface 2 issues a command and the FLCD 3 issues a spontaneous attention, that is, when both send the first code, the attention from the FLCD 3 is processed with priority. This is because the request from the FLCD is closest to the user interface of image display.

以上の各コマンド及びアテンションによる通信プロトコルのFLCDインタフェース2サイドより見た具体的な例を図17〜図19を用いて説明する。FLCD3については後でまとめて説明を行う。   A specific example viewed from the FLCD interface 2 side of the communication protocol based on the above commands and attentions will be described with reference to FIGS. The FLCD 3 will be described later together.

図17は、FLCDインタフェース2からFLCD3に対して、FLCD3のIDを獲得する場合のシーケンスを示している。   FIG. 17 shows a sequence in the case of acquiring the ID of the FLCD 3 from the FLCD interface 2 to the FLCD 3.

まず、FLCDインタフェース2(CPU300)は、FLCD3に対してシリアル通信線311を介し、Request Unit ID(00H)を送出する。これを受けて、FLCD3(システムコントローラ160)は、自身のROM161等に書き込まれたFLCD固有の情報を読み込み、それをステータスとしてFLCDインタフェース2に返す。   First, the FLCD interface 2 (CPU 300) sends a Request Unit ID (00H) to the FLCD 3 via the serial communication line 311. In response to this, the FLCD 3 (system controller 160) reads information unique to the FLCD written in its own ROM 161 and returns it to the FLCD interface 2 as a status.

なお、上記シーケンスにおいて、例えば、FLCDインタフェース2から発行したコマンドに通信上のエラーが発生した場合(例えばパリティーエラー等)、FLCD3はその受信が正常には行われなかったことを示すためにエラーステータスを返す。FLCDインタフェース2はこのステータスを受信した場合には再度同じコマンドを発生する処理を行う。また、逆に、FLCD3からのアテンションに通信上のエラーがあった場合、FLCDインタフェース2は、Request Statusコマンドを送出し、ステータスの再送を促す。   In the above sequence, for example, when a communication error occurs in a command issued from the FLCD interface 2 (for example, a parity error), the FLCD 3 displays an error status to indicate that the reception has not been performed normally. return it. When the FLCD interface 2 receives this status, it again performs the process of generating the same command. Conversely, when there is a communication error in the attention from the FLCD 3, the FLCD interface 2 sends a Request Status command to prompt the status to be retransmitted.

図18は、FLCD3から自発的なアテンションを発生した場合(ここでは、コントラストエンハンスメントが変更されたときに発生するアテンションの場合)のシーケンスを示している。   FIG. 18 shows a sequence when spontaneous attention is generated from the FLCD 3 (in this case, attention is generated when the contrast enhancement is changed).

まず、FLCD3は後述する図59のステップS415に示す処理により、シリアル通信線311を介してコントラストエンハンスメントが変更となった旨を示す自発的なアテンションを示す“10000100B”をFLCDインタフェース2に送信する。   First, the FLCD 3 transmits “10000100B” indicating spontaneous attention indicating that the contrast enhancement has been changed to the FLCD interface 2 via the serial communication line 311 by the process shown in step S415 of FIG.

FLCDインタフェース2側では、このアテンションを受けて、コントラストエンハンスメントが変更された旨を知ることができるので、どのように変更されたのかを問い合わせるためのRequest Statusコマンド(06H)を送出する。これを受けて、FLCD3はステップS413で保持しているコントラストエンハンスメントを示すバイナリデータをFLCDインタフェース2に送出する。   Since the FLCD interface 2 can receive this attention and know that the contrast enhancement has been changed, it sends out a Request Status command (06H) for inquiring how the contrast enhancement has been changed. In response, the FLCD 3 sends binary data indicating the contrast enhancement held in step S413 to the FLCD interface 2.

FLCDインタフェース2は、このコントラストエンハンスメント値を受け、ROM308を参照することでデガンマ回路309内のデガンマテーブルを書換える。そして、このアテンションに対する処理を終了すべく、Attention Clearコマンドを発行する。FLCD3は、これによってコントラスト値によるデガンマ変換が完了された、もしくは変更されることが約束されたことを知ることになるので、了解した旨のアテンション“00000000B”を返し、本処理を終える。   The FLCD interface 2 receives this contrast enhancement value and rewrites the degamma table in the degamma circuit 309 by referring to the ROM 308. Then, an Attention Clear command is issued to end the processing for this attention. Since the FLCD 3 knows that the de-gamma conversion based on the contrast value has been completed or has been promised to be changed, the FLCD 3 returns an attention “00000000B” to the effect that it has been accepted, and ends this processing.

図19は、FLCDインタフェース2からのコマンド発行(ここでは、Set
Mulitコマンド)と、FLCD3からの自発的なアテンション(ここでは温度センサ105による1Hが変更された旨を報知するアテンション)が入れ違いになった場合のシーケンスを示している。
FIG. 19 shows command issuance from the FLCD interface 2 (here, Set
A sequence in a case where the (Multi command) and a spontaneous attention from the FLCD 3 (here, an attention for notifying that 1H has been changed by the temperature sensor 105) are reversed are shown.

FLCDインタフェース2は、受信したアテンションのMSBが“1”になっていることを知ると、このアテンションは、FLCD3がアテンションを発行してきたと判断し、先に送信したSet Multiコマンドに対する処理は後回しにする。そして、そのReques Attention inf.コマンドを発行して、1走査駆動周期値を送信するよう指示する。FLCD3は、これを受けて、現在の温度センサ105からの温度値に基づく1Hを、図10に示す温度補償テーブル901を参照して、下位6ビットにその値をセットしてFLCDインタフェース2に送信する。   When the FLCD interface 2 knows that the MSB of the received attention is “1”, this attention determines that the FLCD 3 has issued an attention, and postpones the processing for the previously sent Set Multi command. . Then, the Request Attention inf. A command is issued to instruct transmission of one scan driving cycle value. In response to this, the FLCD 3 sends 1H based on the temperature value from the current temperature sensor 105 to the FLCD interface 2 with reference to the temperature compensation table 901 shown in FIG. To do.

FLCDインタフェース2は、これを受けて、上述したように自身の動作内容を変更すると共に、FLCD3に対してAttention Clearコマンドを発行し、FLCD3からの“00000000B”を受信することで、FLCD3からのアテンションに対する処理を終了する。   In response to this, the FLCD interface 2 changes its own operation content as described above, issues an Attention Clear command to the FLCD 3, and receives "00000000B" from the FLCD 3, thereby receiving an attention from the FLCD 3. The process for is terminated.

この後、FLDC3は先に受信したSet Mulitコマンドに対する処理を行いステータスを返す。FLCDインタフェース2は、このステータスが正常終了である00000000Bを受けて、Set Mulitコマンドに対する処理を終了する。   Thereafter, the FLDC 3 performs processing for the previously received Set Multi command and returns a status. The FLCD interface 2 receives 00000000B whose status is normal end, and ends the processing for the Set Multi command.

以上の説明では、一部のコマンド及びアテンションに対してのプロトコルを説明したが、その他のコマンド或いはアテンションに対してのプロトコルも略同じシーケンスを踏むことになるのは、上記説明からすれば容易に想到できよう。従って、これ以外の説明については省略する。   In the above description, the protocol for some commands and attentions has been described, but the protocol for other commands or attentions also follows the same sequence. I can think of it. Therefore, the description other than this is omitted.

次に、本実施例のFLCD3の電源投入と、FLCDインタフェース2の電源投入(情報処理装置の電源投入でもある)における動作を説明する。   Next, the operation when the FLCD 3 according to this embodiment is turned on and when the FLCD interface 2 is turned on (also turning on the information processing apparatus) will be described.

一般には、例えばパーソナルコンピュータ等のホスト側装置と表示装置とが一体に構成されていても、あるいは別体に構成されていても、かかる構成上の相違はさほど問題はならない。なぜなら、一般の表示装置は、単に上位装置から垂れ流しで出力された画像データを表示するだけであり、上位装置よりの情報が停止するとその表示も停止するからであり、互いにコミュニケーションを取ることがないからである。   In general, for example, even if a host side device such as a personal computer and a display device are configured integrally or separately, such a difference in configuration does not cause much problem. This is because a general display device simply displays image data output from the host device, and when the information from the host device stops, the display also stops and does not communicate with each other. Because.

しかしながら、上述した本実施例のFLCD3は、FLCDパネル150に自己記憶機能があり、表示装置もある程度のインテリゼンスを持っているため、互いに相手の状態を把握して処理することが必要である。そこで本実施例では、以下のようにしてこの問題を解決した。   However, since the FLCD 3 of this embodiment described above has a self-memory function in the FLCD panel 150 and the display device also has a certain level of intelligence, it is necessary to grasp and process each other's state. In this embodiment, the problem is solved as follows.

データ転送バス310には、FLCDインタフェース2の電源が投入されたか否かを示す1本の信号線が含まれる。この信号線を用いることで、以下の通りの制御が可能となっている。   The data transfer bus 310 includes one signal line indicating whether the power of the FLCD interface 2 is turned on. By using this signal line, the following control is possible.

ケース1.FLCDインタフェース2の電源が先に投入されていて、その後でFLCD3に電源が投入された場合
この場合には、FLCD3はその電源投入時の初期処理段階で、データ転送バス310内のPOWERON信号がLであることにより、FLCDインタフェース2の電源が投入されていることを知ることができるので、これを検出して、且つ、自身の初期化処理が完了した場合に、アテンション(10000001B=FLCD3がready状態になったことを示している)をFLCDインタフェース2に送出する。
Case 1. When the power of the FLCD interface 2 is turned on first and then the power of the FLCD 3 is turned on. In this case, the FLCD 3 is in the initial processing stage when the power is turned on, and the POWERON signal in the data transfer bus 310 is set to L. Therefore, it is possible to know that the power of the FLCD interface 2 is turned on. When this is detected and the initialization process of the FLCD interface 2 is completed, the attention (10000001B = FLCD3 is in the ready state) Is sent to the FLCD interface 2.

FLCDインタフェース2はこのアテンションを受信することで、FLCD3が動作可能になったことを認識して、Attention Clearコマンドを発行し、FLCD3からのアテンション“00000000B”の受信を待ち、次にUnit Startを送出することによりFLCD3にBUSY信号の送出を催し、持って画像の表示を行なわせる。   Upon receiving this attention, the FLCD interface 2 recognizes that the FLCD 3 is ready to operate, issues an Attention Clear command, waits for the reception of the attention “00000000B” from the FLCD 3, and then sends a unit start. As a result, a BUSY signal is sent to the FLCD 3 to display the image.

なお、実際には、FLCD3に電源が投入されると、例えば、電源投入時におけるコントラスト値、後述する1H値を得るために、FLCDインタフェース2は、コントラスト値、1Hの送出要求をコマンドを発行し、それぞれの情報を獲得する処理を行う。   Actually, when the FLCD 3 is turned on, for example, the FLCD interface 2 issues a command for sending a contrast value of 1H in order to obtain a contrast value when the power is turned on, and a 1H value to be described later. , Process to acquire each information.

ケース2.FLCD3が先に電源が投入されていて、FLCDインタフェース2が後から電源が投入される場合(例えば、ホスト1の電源遮断を行ないながらも、表示装置であるFLCD3の電源遮断を忘れてしまった場合等)
この場合、FLCDインタフェース2は、自身の初期化処理が終了すると、POWERON信号がFLCDインタフェースによりLにセットされるのを待ち、Unit Startコマンドを発行する。これを受けて、FLCD3は自身の動作を再開することが可能になる。
Case 2. When the FLCD 3 is turned on first and the FLCD interface 2 is turned on later (for example, when the power of the FLCD 3 as a display device is forgotten while the host 1 is turned off) etc)
In this case, when the initialization process of the FLCD interface 2 is completed, the FLCD interface 2 waits for the POWERON signal to be set to L by the FLCD interface, and issues a Unit Start command. In response to this, the FLCD 3 can resume its own operation.

説明が前後するが以下、FLCD3内のシステムコントローラ160の動作処理を説明する。以下の説明は、システムコントローラ160のメインとしてチップ構成のコンピュータ(MPU)を用いた場合を例として説明する。   Although the description will be omitted, the operation processing of the system controller 160 in the FLCD 3 will be described below. In the following description, a case where a chip configuration computer (MPU) is used as the main of the system controller 160 will be described as an example.

図20はこの場合におけるFLCD3の電源投入後又はリセット状態時における動作開始時の基本処理を示すフローチャートである。   FIG. 20 is a flowchart showing the basic processing at the start of operation after power-on of the FLCD 3 or in the reset state in this case.

電源スイッチ122が入り、装置に電源が投入されると図20の処理に移行し、まずステップS41でシステムコントローラ160の最初の初期化処理が行われ、割り込みの設定が行われる。続いてステップS42でシステムコントローラ160による自己診断ルーチンが実行され、自己の動作が正常であるか否かが判断される。そして、つづくステップS43でステップS42における自己診断ルーチンでのAFC信号およびENABLE信号の診断の結果、AFC回路165よりのAFC信号が出力されていない場合、およびケーブル11が外れた状態でENABLE信号がローレベルでない場合であるか否か判断する。ケーブルが正しく接続されていない場合や、スイッチング電源120の入力か何かの原因により再び低下した場合には再びステップS41に戻り、以後のFLCパネル150の表示制御を行わないようにする。これにより、不用意に表示制御が行われ、所望以外の表示がなされることを有効に防止している。   When the power switch 122 is turned on and the apparatus is turned on, the process proceeds to the process shown in FIG. 20. First, in step S41, the initial initialization process of the system controller 160 is performed, and an interrupt is set. Subsequently, in step S42, a self-diagnosis routine is executed by the system controller 160, and it is determined whether or not its own operation is normal. In step S43, if the AFC signal from the AFC circuit 165 is not output as a result of diagnosis of the AFC signal and ENABLE signal in the self-diagnosis routine in step S42, and the ENABLE signal is low when the cable 11 is disconnected. It is determined whether or not it is a level. If the cable is not properly connected or if the voltage drops again due to the input of the switching power supply 120 or some other cause, the process returns to step S41, and the subsequent display control of the FLC panel 150 is not performed. Thereby, display control is performed carelessly, and it is possible to effectively prevent display other than desired.

一方、ステップS43でケーブル11が接続されておりENABLE信号がローレベルであり、またスイッチング電源120が正常であった場合で、AFC信号が出力されている場合にはステップS44に進み、システムコントローラ160の初期化処理の2が行われ、リソースの設定などが行われる。続いてステップS45でドライバコントローラ190の初期化処理を行う。続いてステップS46で、パワーONウエイト処理を実行し、その後ステップS47の動作選択処理に移行する。   On the other hand, if the cable 11 is connected in step S43, the ENABLE signal is low level, the switching power supply 120 is normal, and the AFC signal is output, the process proceeds to step S44, where the system controller 160 Initialization process 2 is performed, and resource settings and the like are performed. In step S45, the driver controller 190 is initialized. Subsequently, in step S46, a power ON wait process is executed, and then the operation selection process in step S47 is performed.

また、本実施例装置においては、電源投入時にのみ図20の処理を実行するのではなく、割り込みの設定が行われた後は、割り込みがかかった場合にも実行される。   Further, in the present embodiment apparatus, the processing of FIG. 20 is not executed only when the power is turned on, but is also executed when an interrupt is generated after the interrupt is set.

即ち、何等かの原因でスイッチング電源への電力の供給がとだえた事をACF検知回路165が検出し、AFC信号が出力された場合や、FLCDインタフェース2からのリセット信号を受けた場合、およびENABLE信号がオフとなった場合にもこの初期化等の処理が実行される。   That is, when the ACF detection circuit 165 detects that the power supply to the switching power supply has been stopped for some reason and an AFC signal is output, when a reset signal is received from the FLCD interface 2, and ENABLE Even when the signal is turned off, processing such as initialization is executed.

AFC検知回路165が電源異常等を検知してAFC信号を出力した場合にはAFC検知で示すAFC検知割り込み処理S50が実行される。そして、この割り込み処理に移行するとまずステップS51で他のすべての割り込みを禁止する。そして続くステップS52でパワーOFFルーチンを実行する。その後ステップS53で15V電源をオフしてLED表示器109を消勢する。そしてステップS41よりの初期化処理を実行する。   When the AFC detection circuit 165 detects an abnormality in the power supply and outputs an AFC signal, an AFC detection interrupt process S50 indicated by AFC detection is executed. When the interruption process is started, all other interruptions are prohibited in step S51. In step S52, the power OFF routine is executed. Thereafter, in step S53, the 15V power supply is turned off and the LED display 109 is turned off. Then, the initialization process from step S41 is executed.

一方、本実施例装置がリセット状態となった場合には、リセット割り込み処理S55が実行される。そして、この割り込み処理に移行するとまずステップS56で他のすべての割り込みを禁止する。そして続くステップS57でパワーOFFシーケンスを実行する。その後ステップS53で15V電源をオフしてLED表示器109を消勢する。そしてステップS41よりの初期化処理を実行する。   On the other hand, when the apparatus according to the present embodiment is in a reset state, a reset interrupt process S55 is executed. When the interruption process is started, first, all other interruptions are prohibited in step S56. In subsequent step S57, the power OFF sequence is executed. Thereafter, in step S53, the 15V power supply is turned off and the LED display 109 is turned off. Then, the initialization process from step S41 is executed.

更に、図6に示す本実施例装置とFLCDインタフェース2との間のケーブル11がコネクタ15より何等かの理由で外れた場合や、ケーブル11が途中で断線したような場合には、ENABLE信号がリセットされてローレベルとならない状態となる。この場合にはENABLE信号オフで示すケーブル外れ割り込み処理S58が実行される。そして、この割り込み処理に移行すると、ステップS59で他のすべての割り込みを禁止する。そして上述したステップS57に進み、パワーOFFシーケンスを実行し、その後ステップS53で15V電源をオフしてLED表示器109を消勢する。そしてステップS41よりの初期化処理を実行する。   Further, when the cable 11 between the apparatus of this embodiment shown in FIG. 6 and the FLCD interface 2 is disconnected from the connector 15 for some reason, or when the cable 11 is disconnected halfway, the ENABLE signal is It is reset and does not go low. In this case, cable disconnection interrupt processing S58 indicated by ENABLE signal OFF is executed. When the interrupt process is started, all other interrupts are prohibited in step S59. Then, the process proceeds to step S57 described above, and a power OFF sequence is executed. Thereafter, in step S53, the 15V power supply is turned off and the LED display 109 is turned off. Then, the initialization process from step S41 is executed.

次に図21を参照して図20のステップS42に示す自己診断ルーチンの詳細を説明する。   Next, the details of the self-diagnosis routine shown in step S42 of FIG. 20 will be described with reference to FIG.

まずステップS61でENABLE信号およびAFC回路165よりのAFC信号をチェックする信号チェック処理を行う。続いてステップS62でROM161のチェック処理を行う。続いてステップS63のRAM162のチェック処理を実行してリターンする。   First, in step S61, signal check processing for checking the ENABLE signal and the AFC signal from the AFC circuit 165 is performed. In step S62, the ROM 161 is checked. Subsequently, the check process of the RAM 162 in step S63 is executed, and the process returns.

このステップS61における信号チェック処理の詳細を図22に示す。   Details of the signal check processing in step S61 are shown in FIG.

まず、ステップS65でAFC信号がハイレベルであり、AFC信号が出力されていないか(電源が正常であるか)否かを調べる。AFC信号が出力されていない場合にはステップS66に進み、例えばFLCDインタフェース2において読み出し可能なエラーステータスのACフェールビットをセットしてリターンする。   First, in step S65, it is checked whether the AFC signal is at a high level and the AFC signal is not output (the power supply is normal). If the AFC signal is not output, the process proceeds to step S66, for example, an AC fail bit of an error status that can be read in the FLCD interface 2 is set, and the process returns.

一方、AFC信号が出力されている場合にはステップS65よりステップS67に進み、ENABLE信号がローレベルでケーブルが正しく接続された状態であるか否かを調べる。ENABLE信号がローレベルでケーブルが正しく接続された状態である場合には当該処理を終了してリターンする。   On the other hand, if the AFC signal is output, the process proceeds from step S65 to step S67, and it is checked whether the ENABLE signal is at a low level and the cable is correctly connected. If the ENABLE signal is at a low level and the cable is correctly connected, the process is terminated and the process returns.

一方、ENABLE信号がローレベルでなく、ケーブルが正しく接続された状態でない場合にはステップS67よりステップS68に進み、例えばFLCDインタフェース2において読み出し可能なエラーステータスのケーブル外れビットをセットしてリターンする。   On the other hand, if the ENABLE signal is not at a low level and the cable is not properly connected, the process proceeds from step S67 to step S68, where, for example, a cable disconnection bit of an error status that can be read in the FLCD interface 2 is set and the process returns.

図21のステップS62におけるROM161のチェック処理の詳細を図23に示す。ROMのチェック処理においては、ROM領域の全データをワード単位で加算し、オーバーフローを無視した16ビット符号無し整数を、予め計算された値(チェックサム=xxxxh)と比較し、合致することを確認する処理を行う。   FIG. 23 shows details of the check process of the ROM 161 in step S62 in FIG. In the ROM check process, all data in the ROM area is added in units of words, and a 16-bit unsigned integer that ignores overflow is compared with a pre-calculated value (checksum = xxxxh) to confirm that they match. Perform the process.

まずステップS71で、加算結果を格納するレジスタであるsumをクリアする。続いてステップS72でROMチェックを行うアドレス値を保持するアドレスレジスタにROMのスタートアドレスを格納する。そして、ステップS73でROMのアドレスレジスタで特定されるアドレスより書き込まれている内容を読み出し、レジスタsumの内容と加算する。この時、この加算結果は、オーバーフローを無視した16ビット符号無し整数となる。   First, in step S71, sum, which is a register for storing the addition result, is cleared. Subsequently, in step S72, the ROM start address is stored in an address register holding an address value for ROM check. In step S73, the contents written from the address specified by the ROM address register are read out and added to the contents of the register sum. At this time, the addition result is a 16-bit unsigned integer ignoring overflow.

そして、ステップS74でアドレスレジスタの値をROMの次のアドレスを指定するように更新する。そしてステップS75でこの更新したアドレス値がROMのエンドアドレスを越えているか否か、即ち、ROMの全領域に対する処理が終了したか否かを調べる。すべての領域に対する処理が終了していない場合にはステップS73に戻り、ステップS74で更新した次のワードの内容の読み出し及びレジスタsumの内容との加算処理を行う。   In step S74, the value of the address register is updated so as to designate the next address of the ROM. In step S75, it is checked whether or not the updated address value exceeds the ROM end address, that is, whether or not the processing for the entire area of the ROM has been completed. If the processing for all the areas has not been completed, the process returns to step S73, and the content of the next word updated in step S74 is read and added with the content of the register sum.

一方、ステップS75でROMの全領域に対する処理が終了した場合にはステップS75よりステップS76に進み、レジスタsumの加算結果と予め計算された値(チェックサム=xxxxh)とを比較する。そして、レジスタsumの加算結果と予め計算された値(チェックサム=xxxxh)とが一致した場合にはROMは正常であるとしてそのままリターンする。   On the other hand, if the processing for all the areas of the ROM is completed in step S75, the process proceeds from step S75 to step S76, and the addition result of the register sum is compared with a pre-calculated value (checksum = xxxxh). When the addition result of the register sum matches the value calculated in advance (checksum = xxxxh), the ROM is returned as normal and the process returns.

ここで、レジスタsumの加算結果と予め計算された値(チェックサム=xxxxh)とが異なる場合には、ROMのエラーであり、ステップS77で回復不可能なエラーとしてのエラービットをセットしてリターンする。その後は、例えば上述したFLCDインタフェース2に回復不可能エラーアクションを発行し動作モード中の寡黙モードに移行する処理を行う。   Here, if the addition result of the register sum is different from the pre-calculated value (checksum = xxxxh), it is a ROM error, and an error bit as an unrecoverable error is set in step S77 and returned. To do. Thereafter, for example, an unrecoverable error action is issued to the above-described FLCD interface 2 to perform a process of shifting to the silent mode in the operation mode.

続いて、図21のステップS63におけるRAM162のチェック処理の詳細を図24及び図25に示す。RAMのチェック処理においては、RAM領域にワード単位でデータを書き込んだ後に、このデータを読み出して、書き込んだデータを合致することを確認する。書き込むデータは例えば(00h)及び(FFh)とし、書き込みに際しては書き込むべきアドレスに記憶されているデータはレジスタに一旦退避し、当該アドレスに対するチェックが終了した時点で再びRAMに戻される。   Next, details of the check process of the RAM 162 in step S63 of FIG. 21 are shown in FIGS. In the RAM check process, after data is written in the RAM area in units of words, this data is read and it is confirmed that the written data matches. The data to be written is, for example, (00h) and (FFh). At the time of writing, the data stored in the address to be written is temporarily saved in a register, and is returned to the RAM again when the check for the address is completed.

本実施例においては、レジスタ群がRAM内に複数セット割り当てられている。このレジスタ群をレジスタバンク0、レジスタバンク1、…と呼ぶ。まず最初にRAMの先頭からレジスタバンク1までの領域についてチェックを行うべく、ステップS81でレジスタをレジスタバンクの1と設定する。続いてステップS82で書き込むパターンデータとしての(00h)をパターン0としてpatn0レジスタに登録し、続いて書き込むパターンとしての(FFh)をパターン1としてpatn1レジスタに登録する。そしてステップS83でRAMの最初のアドレスであるRAMスタートアドレスをアドレスレジスタにセットする。   In this embodiment, a plurality of register groups are allocated in the RAM. This register group is referred to as register bank 0, register bank 1,. First, in order to check the area from the top of the RAM to the register bank 1, the register is set to 1 in the register bank in step S81. In step S82, (00h) as pattern data to be written is registered as a pattern 0 in the patn0 register, and (FFh) as a pattern to be subsequently written is registered as a pattern 1 in the patn1 register. In step S83, a RAM start address, which is the first RAM address, is set in the address register.

これでRAMチェックの準備ができたため、続くステップS84でアドレスレジスタで指定されるRAMの番地の内容を読み出してきて退避レジスタに格納する。続いてステップS85でpatn0レジスタの内容をアドレスレジスタで指定されるRAMの番地に書き込み、続いて書いた内容を読み出してきてpatnレジスタに格納する。そしてステップS86で読み出してきたpatnの内容と書き込んだpatn0レジスタの内容とを比較する。   Since the RAM check is now ready, in step S84, the contents of the RAM address designated by the address register are read out and stored in the save register. In step S85, the contents of the patn0 register are written to the RAM address specified by the address register, and the written contents are read out and stored in the patn register. In step S86, the contents of patn read out are compared with the contents of the written patn0 register.

ここで、RAMエラーとなり両レジスタの内容が異なっている時には図25のステップS101に進み、退避レジスタに退避していた内容をアドレスレジスタで示されるRAMの番地に書き込む。そしてステップS102でエラーステータスのRAMエラービットをセットしてリターンする。その後は、例えば上述したFLCDインタフェース2に回復不可能エラーアクションを発行し動作モード中の寡黙モードに移行する処理を行う。   If a RAM error occurs and the contents of both registers differ, the process proceeds to step S101 in FIG. 25, and the contents saved in the save register are written to the RAM address indicated by the address register. In step S102, the error status RAM error bit is set and the process returns. Thereafter, for example, an unrecoverable error action is issued to the above-described FLCD interface 2 to perform a process of shifting to the silent mode in the operation mode.

一方、ステップS86で読み出してきたpatnの内容と書き込んだpatn0レジスタの内容とが一致していた場合にはステップS87に進み、続いてpatn1レジスタの内容をアドレスレジスタで指定されるRAMの番地に書き込み、続いて書いた内容を読み出してきてpatnレジスタに格納する。そして続くステップS88で読み出してきたpatnの内容と書き込んだpatn1レジスタの内容とを比較する。ここで、RAMエラーとなり両レジスタの内容が異なっている時にはステップS101に進む。   On the other hand, if the contents of patn read in step S86 match the contents of the written patn0 register, the process proceeds to step S87, and then the contents of the patn1 register are written to the RAM address specified by the address register. Subsequently, the written contents are read out and stored in the patn register. In step S88, the contents of patn read out are compared with the contents of the written patn1 register. If a RAM error occurs and the contents of both registers are different, the process proceeds to step S101.

一方、ステップS88で読み出してきたpatnの内容と書き込んだpatn1レジスタの内容とが一致していた場合にはステップS89に進み、ステップS84で退避レジスタに退避しておいたRAMのアドレスレジスタで示される番地の内容を元に戻す。続くステップS90でアドレスレジスタをインクリメントして次にチェックすべきRAMアドレスとする。そしてステップS91でレジスタバンク1までの領域のチェックがすべて終了し、アドレスレジスタの内容がレジスタバンク1のアドレス以上となったか否かを調べる。レジスタバンク1までのアドレスである場合にはステップS84に戻り、次の番地に対するチェックを続行する。   On the other hand, if the contents of patn read in step S88 and the contents of the written patn1 register match, the process proceeds to step S89, and is indicated by the address register of the RAM saved in the save register in step S84. Restore the contents of the address. In subsequent step S90, the address register is incremented to be the RAM address to be checked next. Then, in step S91, all the areas up to the register bank 1 are checked, and it is checked whether or not the contents of the address register are equal to or greater than the address of the register bank 1. If the address is up to register bank 1, the process returns to step S84, and the check for the next address is continued.

一方、レジスタバンク1までの領域に対するチェックが終了してアドレスレジスタの内容がレジスタバンク1のアドレス以上となった場合には図25に示すステップS92に進む。   On the other hand, when the check for the area up to the register bank 1 is completed and the content of the address register is equal to or greater than the address of the register bank 1, the process proceeds to step S92 shown in FIG.

ステップS92では、レジスタバンク1の領域を先頭にRAMの最後までのRAMチェックを行うべく、レジスタをレジスタバンクの0と設定して書き込みパターン0とパターン1を改めてレジスタに設定する。続くステップS93でアドレスレジスタで指定されるRAMの番地の内容を読み出してきて退避レジスタに格納する。続いてステップS94でpatn0レジスタの内容をアドレスレジスタで指定されるRAMの番地に書き込み、続いて書いた内容を読み出してきてpatnレジスタに格納する。そして続くステップS95で読み出してきたpatnの内容と書き込んだpatn0レジスタの内容とを比較する。ここで、RAMエラーとなり両レジスタの内容が異なっている時にはステップS101に進む。   In step S92, in order to perform a RAM check from the register bank 1 area to the end of the RAM, the register is set to 0 in the register bank, and write pattern 0 and pattern 1 are set in the register again. In step S93, the contents of the RAM address designated by the address register are read out and stored in the save register. In step S94, the contents of the patn0 register are written to the RAM address designated by the address register, and the written contents are read out and stored in the patn register. In step S95, the contents of patn read out are compared with the contents of the written patn0 register. If a RAM error occurs and the contents of both registers are different, the process proceeds to step S101.

一方、ステップS95で読み出してきたpatnの内容と書き込んだpatn0レジスタの内容とが一致していた場合にはステップS96に進み、続いてpatn1レジスタの内容をアドレスレジスタで指定されるRAMの番地に書き込み、続いて書いた内容を読み出してきてpatnレジスタに格納する。そして続くステップS97で読み出してきたpatnの内容と書き込んだpatn1レジスタの内容とを比較する。ここで、RAMエラーとなり両レジスタの内容が異なっている時にはステップS101に進む。   On the other hand, if the contents of patn read in step S95 match the contents of the written patn0 register, the process proceeds to step S96, and then the contents of the patn1 register are written to the RAM address specified by the address register. Subsequently, the written contents are read out and stored in the patn register. Then, in step S97, the read patn content is compared with the written patn1 register content. If a RAM error occurs and the contents of both registers are different, the process proceeds to step S101.

一方、ステップS97で読み出してきたpatnの内容と書き込んだpatn1レジスタの内容とが一致していた場合にはステップS98に進み、ステップS93で退避レジスタに退避しておいたRAMのアドレスレジスタで示される番地の内容を元に戻す。続くステップS99でアドレスレジスタをインクリメントして次にチェックすべきRAMアドレスとする。そしてステップS100でRAM領域のチェックがすべて終了し、アドレスレジスタの内容がRAMの最終アドレス以上となったか否かを調べる。最終のアドレス以下である場合にはステップS93に戻り、次の番地に対するチェックを続行する。   On the other hand, if the contents of patn read in step S97 and the contents of the written patn1 register match, the process proceeds to step S98, and is indicated by the RAM address register saved in the save register in step S93. Restore the contents of the address. In subsequent step S99, the address register is incremented to be a RAM address to be checked next. In step S100, all the RAM area checks are completed, and it is checked whether or not the contents of the address register are equal to or higher than the final address of the RAM. If it is equal to or less than the final address, the process returns to step S93, and the check for the next address is continued.

一方、RAM領域に対するチェックが終了してアドレスレジスタの内容がRAMの最終アドレス以上となった場合には処理を終了してリターンする。   On the other hand, if the check for the RAM area is completed and the content of the address register is equal to or greater than the final address of the RAM, the process is terminated and the process returns.

続いて、図26を参照して図20のステップS46におけるパワーONウエイト処理を説明する。    Next, the power ON wait process in step S46 of FIG. 20 will be described with reference to FIG.

まずステップS111で電源スイッチコントローラ181に指示してLEDの電源となる15V電源をオンする。続いて16ms待った後ステップS112でLED109を点灯させる。更に16ms待った後ステップS113でシステムコントローラ160に対するAFC割り込みを許可する。次にステップS114でFLCDインタフェース2側よりのRESET信号がこの時点でリセットされた状態でありHレベルでない場合にはこれがHレベルとなるのを待つ。   First, in step S111, the power switch controller 181 is instructed to turn on the 15V power source that is the LED power source. Subsequently, after waiting for 16 ms, the LED 109 is turned on in step S112. After waiting for another 16 ms, an AFC interrupt to the system controller 160 is permitted in step S113. Next, in step S114, if the RESET signal from the FLCD interface 2 side is reset at this time and is not at the H level, it waits for it to become the H level.

続いてステップS115でFLCDインタフェース2側の電源が投入されていることを示すPOWERON信号がセットされていることを確認する。ここでもしPOWERON信号がセットされていない場合には、FLCDインタフェース側の電源が投入されるのを待つ。ここで、ホスト側の電源が投入された状態となりPOWERON信号がセットされている状態であればステップS116に進み、システムコントローラ160の図9に示すFLC制御部分を初期化(停止状態)する。   In step S115, it is confirmed that the POWERON signal indicating that the power supply on the FLCD interface 2 side is turned on is set. Here, if the POWERON signal is not set, it waits for the power supply on the FLCD interface side to be turned on. If the host-side power supply is turned on and the POWERON signal is set, the process proceeds to step S116, and the FLC control portion shown in FIG. 9 of the system controller 160 is initialized (stopped).

更にステップS117で内部変数を初期化する。具体的には、エラー状態を示すステータス(errstat)を0クリアし、続いて表示モードコントロール(dispmode)を表示を行わないモードであるnotstartedにセットする。また走査モード(scanmode)を×1の走査モード(×1mode)にセットし、直前の走査アドレス(preadd)にダミーアドレスをセットし、タイマユニット902のON/OFFフラグ(timer)をOFFにセットし、FLC制御部をOFFしてFLCDパネル150の表示を行わない様に制御する初期化処理などを行う。   In step S117, internal variables are initialized. Specifically, the status (errstat) indicating the error state is cleared to 0, and then the display mode control (dispmode) is set to notstarted, which is a mode in which no display is performed. Also, the scan mode is set to x1 scan mode (x1 mode), a dummy address is set to the immediately preceding scan address (preadd), and the ON / OFF flag (timer) of the timer unit 902 is set to OFF. Then, initialization processing is performed to control the FLC control unit so as not to display the FLCD panel 150 by turning off the FLC control unit.

次に、ステップS118で先の自己診断ルーチン等によるエラーステータスがセットされているか否かを調べる。エラーステータスがセットされていなければステップS119に進み、パワーONシーケンスを実行する。続くステップS120でステップS116で停止状態としたFLC制御部の動作を有効とし、SCSWをオンとしてトリマインタフェース174を起動して画質調整トリマ107の設定値及び温度センサ105の検出値に基づく駆動信号を制御する。そしてステップS121でFLCDインタフェース2側に対してシリアルインタフェース11を介してユニットレディアテンションを発行してリターンする。   Next, in step S118, it is checked whether or not an error status is set by the above self-diagnosis routine or the like. If the error status is not set, the process proceeds to step S119, and the power ON sequence is executed. In the following step S120, the operation of the FLC control unit stopped in step S116 is enabled, the SCSW is turned on, the trimmer interface 174 is activated, and a drive signal based on the set value of the image quality adjustment trimmer 107 and the detected value of the temperature sensor 105 is generated. Control. In step S121, unit ready tension is issued to the FLCD interface 2 side via the serial interface 11, and the process returns.

一方、ステップS118でエラーステータスがセットされている場合にはステップS122に進み、FLCDインタフェース2側に対してシリアルインタフェース11を介して自己診断エラーアテンションの発行処理を実行する。続いてステップS123でエラー状態を示すerrstatをエラーにセットする。次にステップS124でLED109を後述する回復不可能モードの場合のLED109を早い周期でON−OFFするブリンクモードに設定し、LED109を早い周期でブリンクさせる。これにより、FLCD3がエラー発生状態であることが容易に目視確認できる。そしてステップS119のパワーONシーケンスに移行する。   On the other hand, if the error status is set in step S118, the process proceeds to step S122, and a self-diagnosis error attention issuance process is executed via the serial interface 11 on the FLCD interface 2 side. In step S123, errstat indicating an error state is set as an error. Next, in step S124, the LED 109 in the non-recoverable mode, which will be described later, is set to a blink mode in which the LED 109 is turned on and off at an early cycle, and the LED 109 is blinked at an early cycle. Thereby, it can be easily visually confirmed that the FLCD 3 is in an error occurrence state. Then, the process proceeds to the power ON sequence in step S119.

次に、図26のステップS119のパワーONシーケンスルーチンを図27を参照して説明する。   Next, the power ON sequence routine of step S119 in FIG. 26 will be described with reference to FIG.

まず、ステップS130でVOPコントローラ173をリセットする。そして続くステップS131で色彩スイッチルーチンを実行し、続くステップS132において(S/CCR)をハイレベルとする。そしてステップS133で温度補償ルーチンを実行し、ステップS134で温度補償ルーチンの処理の結果であるリターンコード(終了コード)が0であるか否かを調べる。ここでリターンコードが0でない場合にはステップS139に進み、リターンコードとして(ffff)Hをセツトしてリターンする。   First, in step S130, the VOP controller 173 is reset. In step S131, the color switch routine is executed, and in step S132, (S / CCR) is set to the high level. In step S133, a temperature compensation routine is executed. In step S134, it is checked whether a return code (end code) as a result of the temperature compensation routine processing is zero. If the return code is not 0, the process proceeds to step S139, where (ffff) H is set as the return code, and the process returns.

一方、ステップS134でリターンコードが0の場合にはステップS135に進み、各ドライバ回路の出力チャネル電源(VEE)を付勢するためのVEESW信号をONとする。VOPコントローラ173に各ドライバ回路の出力チャネル電源をオンする様に指示する。その後16ms経過するのを待ち、ステップS136でDRVSW信号をONとして液晶駆動電圧レギュレータの出力を投入する。続いてステップS137でBLSW信号をONし、バックライトコントローラ172に指示してバックライト電源を投入する。そして、リターンコードとして0をセツトしてリターンする。   On the other hand, if the return code is 0 in step S134, the process proceeds to step S135, and the VEESW signal for energizing the output channel power supply (VEE) of each driver circuit is turned ON. The VOP controller 173 is instructed to turn on the output channel power supply of each driver circuit. After waiting for 16 ms, the DRVSW signal is turned ON in step S136 and the output of the liquid crystal drive voltage regulator is turned on. In step S137, the BLSW signal is turned ON, and the backlight controller 172 is instructed to turn on the backlight power. Then, 0 is set as a return code and the process returns.

以上に説明したFLCD3のパワーON時の一連の動作の結果における信号のタイミングチャートを図28に示す。図のシリアル通信は、1で図26に示すFLCDよりのUnit Readyアテンションの発行及びこれに対するClearアテンションコマンドの返送がおこなわれ、その後3で示すバックライトの点灯後通常表示モードに移行してのFLCD2よりのUnitStartコマンドの送信及び4に示すStatusの送信へと移行することになる。   FIG. 28 shows a timing chart of signals in the result of a series of operations when the FLCD 3 described above is powered on. In the serial communication shown in FIG. 1, the unit ready attention is issued and the Clear attention command is returned from the FLCD shown in FIG. 26, and then the FLCD 2 is shifted to the normal display mode after the backlight is turned on. Then, the process proceeds to the transmission of the unit start command and the transmission of the status shown in 4.

次に、このパワーONに続く図20に示すステップS47以下の動作選択処理を図29〜図31を参照して説明する。   Next, the operation selection process after step S47 shown in FIG. 20 following the power ON will be described with reference to FIGS.

動作選択処理では、まずステップS140でワークレジスタの初期化処理を実行する。ワークレジスタの0(rw0)をユーザトリマ監視タイミング用描画ライン数カウンタ(linc)値とし、ワークレジスタの1(rw1)をdispmodeで設定される表示動作に、及びエラー状態をerrstatとし、ワークレジスタの2(rw2)を画像データヘッダ部に付加された走査モード(scanmode)に、ワークレジスタの3(rw3)を直前の走査アドレス(preadd)に、ワークレジスタの4(rw4)をステータス及びアテンションの送信に際し、送信データに加え、送信の優先順位と送信後の保持動作情報、及びアテンションにおいてはアテンションインフォメーションを含む送信イメージを設定しなければならず、係る送信イメージ等をバッファリングする送信データバッファのバッファポインタ(buffpointer)に、ワークレジスタの5(rw5)をタイマユニット902のON/OFFフラグ(timer)に設定して夫々を初期化する。   In the operation selection process, first, a work register initialization process is executed in step S140. The work register 0 (rw0) is the user trimmer monitoring timing drawing line number counter (link) value, the work register 1 (rw1) is the display operation set by dispmode, and the error state is errstat. 2 (rw2) is sent to the scan mode (scannode) added to the image data header, work register 3 (rw3) is sent to the immediately preceding scan address (readed), and work register 4 (rw4) is sent to the status and attention. At this time, in addition to the transmission data, the transmission priority order, the holding operation information after the transmission, and the transmission image including the attention information must be set in the attention, and the buffer of the transmission data buffer for buffering the transmission image, etc. Pointer ( The uffpointer), initializes 5 is set to ON / OFF flag of the timer unit 902 (timer) respectively a (rw5) the work register.

続いてステップS141でFLCDインタフェース2の電源が投入されており、FLCDインタフェース2よりのPOWERON信号がハイレベルか否かを調べる。POWERON信号がハイレベルであればステップS142に進み、rw1を調べ、動作モードが通常動作モードであるNORMALであるか否かを調べる。ここで、動作モードが通常動作モード(NORMAL)でなければステップS176に進む。   Subsequently, in step S141, it is checked whether the power of the FLCD interface 2 is turned on and the POWERON signal from the FLCD interface 2 is at a high level. If the POWERON signal is at a high level, the process proceeds to step S142, where rw1 is checked to see if the operation mode is NORMAL, which is the normal operation mode. If the operation mode is not the normal operation mode (NORMAL), the process proceeds to step S176.

一方、rw1がNORMALであり、動作モードが通常動作モードであればステップS143に進み、rw5を調べる。rw5はタイマユニット902が動作中であるか否かを示しており、rw5がONであればタイマユニット902が動作中であることを示している。ここで、タイマユニット902が動作中でない場合にはステップS144に進み、タイマを再起動すると共に、rw5をONして図30のステップS145に進む。   On the other hand, if rw1 is NORMAL and the operation mode is the normal operation mode, the process proceeds to step S143 to check rw5. rw5 indicates whether or not the timer unit 902 is in operation. If rw5 is ON, it indicates that the timer unit 902 is in operation. If the timer unit 902 is not in operation, the process proceeds to step S144, the timer is restarted, rw5 is turned on, and the process proceeds to step S145 in FIG.

一方、ステップS143で、rw5がONでタイマユニット902が動作中である場合には、そのまま図30のステップS145に進む。ステップS145では、ユーザトリマ監視タイミング用描画ライン数カウンタ(linc)であるrw0が0であるか否かを調べる。rw0が0でない場合にはステップS146の通常描画処理を実行する。そして続くステップS147でユーザトリマ監視タイミング用描画ライン数カウンタ(linc)であるrw0を1つデクリメントすると共に、タイムアウトのリトライカウンタ(ahdiret)に0を格納する。そして続くステップS148でAttention Time Outか否かを調べる。Attention Time OutでなければステップS149に進む。そして、ここでFLCDインタフェース2よりの受信データがあるか否かを調べる。受信データがなければステップS150に進み、FLCDインタフェース2への送信データがあるか否かを調べる。送信データもなければステップS141に戻り、以上の通常描画処理を行う。   On the other hand, if rw5 is ON and the timer unit 902 is operating in step S143, the process proceeds to step S145 in FIG. In step S145, it is checked whether rw0, which is a drawing line number counter (link) for user trimmer monitoring timing, is zero. If rw0 is not 0, the normal drawing process of step S146 is executed. In step S147, rw0, which is the user trimmer monitoring timing drawing line number counter (link), is decremented by 1, and 0 is stored in the timeout retry counter (ahdiret). In subsequent step S148, it is checked whether or not it is Attention Time Out. If it is not Attention Time Out, the process proceeds to step S149. Then, it is checked whether there is data received from the FLCD interface 2 or not. If there is no reception data, the process proceeds to step S150 to check whether there is transmission data to the FLCD interface 2 or not. If there is no transmission data, the process returns to step S141, and the normal drawing process described above is performed.

以上の状態時に、ステップS150で送信データが発生した場合にはステップS150よりステップS151以降の処理に進み、送信モード処理を実行する。まずステップS151でPhase Overlaid Driveの後処理を行ってFLCDパネル150の駆動を停止させる。そして続くステップS152で送信バッファデータの送信処理を行う。その後rw4にこのバッファアドレスポインタの値をセットしてバッファを再び読み出し使用可能にすると共にrw5をOFFとしてタイマユニット902のON/OFFフラグをリセットする。そしてステップS141に戻る。   In the above state, if transmission data is generated in step S150, the process proceeds from step S150 to step S151 and subsequent steps, and transmission mode processing is executed. First, in step S151, post-processing of Phase Overdrive is performed to stop driving of the FLCD panel 150. In subsequent step S152, transmission buffer data transmission processing is performed. Thereafter, the value of this buffer address pointer is set in rw4 to enable the buffer to be read again and used, and rw5 is turned off to reset the ON / OFF flag of the timer unit 902. Then, the process returns to step S141.

一方、ステップS149で受信データがある場合にはステップS149よりステップS155に進み、Phase Overlaid Driveの後処理を行ってFLCDパネル150の駆動を停止させる。そして続くステップS156でSC受信処理ルーチンを実行してFLCDインタフェース2よりのデータを受信する。   On the other hand, if there is received data in step S149, the process proceeds from step S149 to step S155, and post-processing of Phase Overdrive is performed to stop driving of the FLCD panel 150. In step S156, the SC reception processing routine is executed to receive data from the FLCD interface 2.

その後ステップS157でSC受信で受信した画像データヘッダ部に付加されているデータのRAM162のワークレジスタ領域へのセットを行う。即ち、rw1の表示動作モード(dispmode)及びエラー状態(errstat)をセットし、(rw4)の送信データバッファのバッファポインタ(buffpointer)を更新し、rw5のタイマユニット902のON/OFFフラグ(timer)をOFFとし、更にrw6に画像データのヘッダ部から走査モードを抽出するマスク1(scmodmsk1)をセットする。c0000Hであれば画像データヘッダ部に従い、0000Hであれば通信による指定による。また、rw7に画像データのヘッダ部から走査モードを抽出するマスク2(scmodmsk2)をセットする。00000Hであれば画像データヘッダ部、又は×1指定となり、4000Hであれば×2指定、8000Hであれば×4指定である。通信による指定による。そしてステップS141に戻る。   Thereafter, in step S157, the data added to the image data header portion received by SC reception is set in the work register area of the RAM 162. That is, the display operation mode (dispmode) and error state (errstat) of rw1 are set, the buffer pointer (buffpointer) of the transmission data buffer of (rw4) is updated, and the ON / OFF flag (timer) of the timer unit 902 of rw5 Is set to OFF, and a mask 1 (scmodmsk1) for extracting the scanning mode from the header portion of the image data is set in rw6. If it is c0000H, it follows the image data header part, and if it is 0000H, it is specified by communication. In addition, a mask 2 (scmodmsk2) for extracting the scanning mode from the header portion of the image data is set in rw7. If it is 00000H, the image data header part or x1 is designated. If it is 4000H, x2 is designated. If it is 8000H, x4 is designated. According to specification by communication. Then, the process returns to step S141.

更に、ステップS148でアテンションタイムアウトの場合にはステップS148よりステップS160に進み、Phase Overlaid Driveの後処理を行ってFLCDパネル150の駆動を停止させる。そして続くステップS161でアテンションタイムアウトを示すフラグ(attntmoutflg)をセット(ON)する。次にステップS162でLED109を回復不可能モードの早い周期で点滅するブリンキングモードに設定する。これにより、操作者は表示装置のLEDの表示を一目みるのみで装置がエラー状態であることを容易に目視確認可能となっている。   Further, in the case of an attention timeout in step S148, the process proceeds from step S148 to step S160, where post-processing of Phase Overdrive is performed to stop driving of the FLCD panel 150. In a subsequent step S161, a flag (attntmoutflg) indicating an attention timeout is set (ON). Next, in step S162, the LED 109 is set to a blinking mode that blinks at an early cycle of the non-recoverable mode. As a result, the operator can easily visually check that the device is in an error state only by looking at the LED display on the display device.

その後ステップS163でエラー状態を示すerrstatをエラーにセットし、rw1の表示動作モード(dispmode)及びエラー状態(errstat)をセットし、rw5のタイマユニット902のON/OFFフラグ(timer)をOFFとしてステップS141に戻る。   In step S163, errstat indicating an error state is set as an error, the display operation mode (dispmode) and error state (errstat) of rw1 are set, and the ON / OFF flag (timer) of the timer unit 902 of rw5 is set to OFF. Return to S141.

一方、ステップS145でrw0のユーザトリマ監視タイミング用描画ライン数カウンタが0の場合にはステップS165に進み、Phase Overlaid Driveの後処理を行ってFLCDパネル150の駆動を停止させる。そして続くステップS166で温度補償ルーチンを、ステップS167で色彩調整スイッチルーチンを実行する。   On the other hand, if the drawing line number counter for user trimmer monitoring timing of rw0 is 0 in step S145, the process proceeds to step S165, and post-processing of Phase Overdrive is performed to stop driving of the FLCD panel 150. In step S166, a temperature compensation routine is executed, and in step S167, a color adjustment switch routine is executed.

その後ステップS168で、ワークレジスタの0(rw0)をユーザトリマ監視タイミング用描画ライン数カウンタ(linc)値とし、ワークレジスタの1(rw1)をdispmodeで設定される表示動作に、及びエラー状態をerrstatとし、ワークレジスタの4(rw4)を送信データバッファのバッファポインタ(buffpointer)に、ワークレジスタの5(rw5)のタイマユニット902のON/OFFフラグ(timer)をOFFに設定してステップS141に戻る。   After that, in step S168, 0 (rw0) of the work register is set to the drawing line number counter (linc) value for user trimmer monitoring timing, 1 (rw1) of the work register is set to the display operation set by dispmode, and the error state is set to errstat. Then, the work register 4 (rw4) is set to the buffer pointer (buffpointer) of the transmission data buffer, the ON / OFF flag (timer) of the timer unit 902 of the work register 5 (rw5) is set to OFF, and the process returns to step S141. .

また、図29のステップS141の判定でPOWERON信号がハイレベルでない場合には、FLCDインタフェース2側の電源が投入されていないため、ステップS170の処理に移行し、ここで64μs待った後ステップS171で再度POWERON信号がハイレベルか否かを調べる。ここでもPOWERON信号がハイレベルでない場合にはステップS172でパワーOFFシーケンスを実行して図20のステップS41よりの電源投入時の処理に移行する。   If the POWERON signal is not at the high level in the determination in step S141 in FIG. 29, the power supply on the FLCD interface 2 side is not turned on, so the process proceeds to step S170, and after waiting for 64 μs, again in step S171. It is checked whether the POWERON signal is at a high level. Again, if the POWERON signal is not at a high level, the power OFF sequence is executed in step S172, and the process proceeds to the power-on processing from step S41 in FIG.

一方、ステップS171でPOWERON信号がハイレベルであった場合にはステップS171よりステップS173に進み、rw5がON(タイマユニット902が動作中)であるか否かを調べる。タイマユニットが動作中でない場合にはステップS141に戻る。   On the other hand, if the POWERON signal is at a high level in step S171, the process proceeds from step S171 to step S173 to check whether rw5 is ON (timer unit 902 is operating). If the timer unit is not operating, the process returns to step S141.

一方、ステップS173でタイマユニット902が動作中の場合にはステップS174に進み、パネル駆動停止処理を行ってFLCDパネル150の駆動を停止させる。そして続くステップS175ワークレジスタの4(rw4)を送信データバッファのバッファポインタ(buffpointer)に、ワークレジスタの5(rw5)のタイマユニット902のON/OFFフラグ(timer)をOFFに設定してステップS141に戻る。   On the other hand, if the timer unit 902 is operating in step S173, the process proceeds to step S174, and panel drive stop processing is performed to stop driving of the FLCD panel 150. Then, in step S175, the work register 4 (rw4) is set to the buffer pointer (buffpointer) of the transmission data buffer, and the ON / OFF flag (timer) of the timer unit 902 of the work register 5 (rw5) is set to OFF. Return to.

更に、ステップS142の表示動作モードの判断で通常動作モードでなかった場合にはステップS142よりステップS176に進み、ワークレジスタの1(rw1)の設定が本実施例表示装置で通常の動作モードとして遷移可能な他の2つの表示動作モードであるスタテック動作モード(static)か、あるいは低消費電力モードであるスリープ動作モード(sleep)であるか否かを判断する。いずれかのモードでない場合にはステップS180に進む。   Further, if the normal operation mode is not determined in the determination of the display operation mode in step S142, the process proceeds from step S142 to step S176, and the setting of 1 (rw1) of the work register is changed to the normal operation mode in the display device of this embodiment. It is determined whether it is a static operation mode (static) that is two other possible display operation modes, or a sleep operation mode (sleep) that is a low power consumption mode. If it is not in any mode, the process proceeds to step S180.

一方、いずれかのモードであった場合にはステップS176よりステップS177に進み、ユーザトリマである、輝度調整トリマ106、画質調整トリマ107をチェックする。そして、色彩調整スイッチ108の設定に従う色彩スイッチルーチンを実行する。   On the other hand, if the mode is one of the modes, the process advances from step S176 to step S177 to check the brightness adjustment trimmer 106 and the image quality adjustment trimmer 107 which are user trimmers. Then, a color switch routine according to the setting of the color adjustment switch 108 is executed.

その後、ステップS179でrw1をdispmodeで設定される表示動作に、及びエラー状態をerrstatとし、ワークレジスタの4(rw4)を送信データバッファのバッファポインタ(buffpointer)に設定してステップS180に進む。   Thereafter, in step S179, rw1 is set to display mode set by dispmode, the error state is set to errstat, work register 4 (rw4) is set to the buffer pointer (buffpointer) of the transmission data buffer, and the process proceeds to step S180.

ステップS180では、ステップS176と同様にワークレジスタの1(rw1)の設定が本実施例表示装置で通常の動作モードとして遷移可能な他の2つの表示動作モードであるスタテック動作モード(static)か、あるいは低消費電力モードであるスリープ動作モード(sleep)であるか否かを判断する。いずれかのモードでない場合にはステップS182に進む。   In step S180, similarly to step S176, the setting of 1 (rw1) of the work register is the static operation mode (static) which is the other two display operation modes that can be changed as the normal operation mode in the display device of this embodiment. Alternatively, it is determined whether or not the sleep operation mode (sleep) which is the low power consumption mode. If it is not in any mode, the process proceeds to step S182.

一方、いずれかのモードであった場合にはステップS180よりステップS181に進み、LED109を短い周期で点滅させるブリンキング表示としてステップS182に進む。   On the other hand, if it is any mode, the process proceeds from step S180 to step S181, and the process proceeds to step S182 as a blinking display in which the LED 109 blinks in a short cycle.

ステップS182では約1Hの時間の待ち、ステップS183に進む。ステップS183でAttention Time Outか否かを調べる。Attention Time OutでなければステップS184に進む。そして、ここでFLCDインタフェース2よりの受信データがあるか否かを調べる。受信データがなければステップS185に進み、FLCDインタフェース2への送信データがあるか否かを調べる。送信データもなければステップS141に戻り、以上の通常描画処理を行う。   In step S182, the process waits for about 1H and then proceeds to step S183. In step S183, it is checked whether or not it is Attention Time Out. If it is not Attention Time Out, the process proceeds to step S184. Then, it is checked whether there is data received from the FLCD interface 2 or not. If there is no reception data, the process proceeds to step S185 to check whether there is transmission data to the FLCD interface 2. If there is no transmission data, the process returns to step S141, and the normal drawing process described above is performed.

以上の状態時に、ステップS185で送るべき送信データが発生している場合にはステップS185よりステップS186の処理に進み、送信バッファのデータをシリアル通信ラインを介してFLCDインタフェース2に送信する。その後ステップS187でrw4にこのバッファアドレスポインタの値をセットして次のバッファ格納データを読み出し使用可能にする。そしてステップS141に戻る。   In the above state, if transmission data to be transmitted is generated in step S185, the process proceeds from step S185 to step S186, and the data in the transmission buffer is transmitted to the FLCD interface 2 via the serial communication line. In step S187, the value of this buffer address pointer is set in rw4 so that the next buffer storage data can be read and used. Then, the process returns to step S141.

一方、ステップS184で受信データがある場合にはステップS184よりステップS190に進み、SC受信処理ルーチンを実行してFLCDインタフェース2よりのデータを受信する。その後ステップS191でSC受信で受信した画像データヘッダ部に付加されているデータのRAM162のワークレジスタ領域へのセットを行う。即ち、rw1の表示動作モード(dispmode)をセットし、(rw4)の送信データバッファのバッファポインタ(buffpointer)を更新し、rw6に画像データのヘッダ部から走査モードを抽出するマスク1(scmodmsk1)をセットする。c0000Hであれば画像データヘッダ部に従い、0000Hであれば通信による指定による。また、rw7に画像データのヘッダ部から走査モードを抽出するマスク2(scmodmsk2)をセットする。00000Hであれば画像データヘッダ部、又は×1指定となり、4000Hであれば×2指定、8000Hであれば×4指定である。通信による指定による。そしてステップS141に戻る。   On the other hand, if there is received data in step S184, the process proceeds from step S184 to step S190, and the SC reception processing routine is executed to receive data from the FLCD interface 2. Thereafter, in step S191, the data added to the image data header portion received by SC reception is set in the work register area of the RAM 162. That is, the display operation mode (dispmode) of rw1 is set, the buffer pointer (buffpointer) of the transmission data buffer of (rw4) is updated, and the mask 1 (smodmodsk1) that extracts the scanning mode from the header portion of the image data is set to rw6. set. If it is c0000H, it follows the image data header part. If it is 0000H, it is specified by communication. Also, a mask 2 (scmodmsk2) for extracting the scanning mode from the header portion of the image data is set in rw7. If it is 00000H, the image data header part or x1 is designated. If it is 4000H, x2 is designated. If it is 8000H, x4 is designated. According to specification by communication. Then, the process returns to step S141.

更に、ステップS183でアテンションタイムアウトの場合にはステップS183よりステップS195に進み、アテンションタイムアウトを示すフラグ(attntmoutflg)をセット(ON)する。次にステップS196でLED109を早い周期で点滅するブリンキングモードに設定する。これにより、操作者は表示装置のLEDの表示を一目みるのみで装置がエラー状態であることを容易に目視確認可能となっている。   Further, in the case of an attention timeout in step S183, the process proceeds from step S183 to step S195, and a flag (attntmoutflg) indicating the attention timeout is set (ON). In step S196, the LED 109 is set to a blinking mode that blinks at an early cycle. As a result, the operator can easily visually check that the device is in an error state only by looking at the LED display on the display device.

その後ステップS197でエラー状態を示すerrstatをエラーにセットし、rw1の表示動作モード(dispmode)及びエラー状態(errstat)をセットし、rw5のタイマユニット902のON/OFFフラグ(timer)をOFFとしてステップS141に戻る。   In step S197, errstat indicating an error state is set as an error, the display operation mode (dispmode) and error state (errstat) of rw1 are set, and the ON / OFF flag (timer) of the timer unit 902 of rw5 is set to OFF. Return to S141.

以上の説明中の表示モードについて説明すると、本実施例のFLCD3は正常動作状態時には大きく3つの表示モードを備えており、図32に示す様に、通常動作表示モード(Normal)、静止画像を表示する場合等に最適の静止表示モード(Static)、FLCD3の表示画面を全黒消去し、バックライトも消灯した低消費電力状態のスリープモード(Sleep)3つの表示モードを備えている。また、このほかに、回復不可能エラー発生時の表示モードもあり、この場合には画面表示は回復不可能エラー発生直前状態を維持する。そして、各動作モード状態を判別可能とするために、LED109の点滅制御も併せて行っており、上述した様にスリープモードではLEDを1秒間隔で点滅させ、回復不可能エラーでは更に早いブリンキングである0.5秒間隔で点滅させている。   The display mode in the above description will be described. The FLCD 3 of this embodiment has three display modes in the normal operation state. As shown in FIG. 32, the normal operation display mode (Normal) and the still image are displayed. There are three display modes that are optimal for a static display mode (Static), a sleep mode (Sleep) in a low power consumption state in which the display screen of the FLCD 3 is completely black erased, and the backlight is also turned off. In addition, there is a display mode when an unrecoverable error occurs. In this case, the screen display maintains the state immediately before the unrecoverable error occurs. In order to make it possible to determine the state of each operation mode, the LED 109 is also controlled to blink. In the sleep mode, as described above, the LED blinks at intervals of 1 second, and in the case of an unrecoverable error, faster blinking is performed. It is blinking at 0.5 second intervals.

本実施例では、以上の様に各動作状態でLEDの点灯状態を区別しているので、しばらく表示装置より離れていたものが、このLEDの点灯状態をみるだけで現在の表示装置の状態を知ることができる。この結果、スリープモードでの動作にもかかわらず電源断状態と間違えることもなく、また、回復不可能エラー発生状態か否かも容易に知ることができ、誤操作を防げると共に、適切な対処をすることも可能となる。   In the present embodiment, as described above, the lighting state of the LED is distinguished in each operation state, so that what has been far from the display device for a while can know the current state of the display device only by looking at the lighting state of this LED. be able to. As a result, it is not mistaken for a power-off state in spite of the operation in the sleep mode, and it is possible to easily know whether or not an unrecoverable error has occurred, thereby preventing erroneous operation and taking appropriate measures. Is also possible.

以下、図30に示す通常描画処理の詳細を説明する。この処理の説明の前に本実施例におけるFLCDパネル150の画像データ表示位置を説明する。FLCDパネル150の画像データ表示位置は、RGBWの4色で1つの画素を形成しており、画素データも4色のD0〜D3で表されており、例えば本実施例の表示パネルが1280画素×1024ラインである場合には、図33に示す様に1つのコモンスキャンラインアドレスA0〜A11に対しセグメントデータは合計5119で構成されている。   Details of the normal drawing process shown in FIG. 30 will be described below. Prior to the description of this process, the image data display position of the FLCD panel 150 in this embodiment will be described. The image data display position of the FLCD panel 150 forms one pixel with four colors of RGBW, and the pixel data is also represented by four colors D0 to D3. For example, the display panel of this embodiment has 1280 pixels × In the case of 1024 lines, as shown in FIG. 33, the segment data is composed of 5119 in total for one common scan line address A0 to A11.

そして、ホスト側のFLCDインタフェース2は、BUSY信号をネガティブとしてノットビジイとする。これを受けたFLCDインタフェース2は、AHDLをハイレベルとすると同時に、12ビットのスキャンアドレスを画像データバスPD0〜PD15にFCLKに同期させて1クロック分送出する。このため、FLCD3のNFXコントローラ101はこれをFLCD3の1ライン書き込み周期(1H)に合わせて受け取って再びBUSYをハイレベルとする。   Then, the FLCD interface 2 on the host side sets the BUSY signal to negative and sets it to not busy. Receiving this, the FLCD interface 2 sets AHDL to the high level and simultaneously sends a 12-bit scan address to the image data buses PD0 to PD15 in synchronization with FCLK for one clock. Therefore, the NFX controller 101 of the FLCD 3 receives this in accordance with the one-line writing period (1H) of the FLCD 3, and sets BUSY to the high level again.

この間のタイミングチャートを図34に示す。   A timing chart during this period is shown in FIG.

更に、この図34に示すタイミングチャートに従って、FLCDインタフェース2より送られる実際のデータフォーマットを図35に示す。図35に示す様に、PD0〜PD15を用いてFCLK信号に同期して順次D0〜D15よりD5104〜D5119までの表示データが順次送られてくることになる。   Furthermore, FIG. 35 shows an actual data format sent from the FLCD interface 2 in accordance with the timing chart shown in FIG. As shown in FIG. 35, display data from D0 to D15 to D5104 to D5119 are sequentially sent in synchronization with the FCLK signal using PD0 to PD15.

ここで、AHDLがハイレベルの時のスキャンアドレスと同時に、上述した様に表示モードも送られる。この場合の転送手順を図36に示す。図36に示す様にスキャンアドレスは12ビットであり、上位4ビットに余裕があるため、これを利用して最上位の2ビットで走査モードを指示できる様にしている。即ち、最上位2ビットが(00)であれば×1、(01)であれば×2、(10)であれば×4の走査モードである。
この走査モードは画像データに先立って送出されるヘッダ部に常にセットされる。そして、直前に送出された走査モードデータと異なる走査モードを受け取った場合、今までの走査モードが受け取った走査モードに変更される。ただし、シリアル通信によるSetMultiコマンドにより走査モードが指定された場合、コマンドにより指定された走査モードが優先される。
Here, the display mode is also sent as described above simultaneously with the scan address when AHDL is at the high level. The transfer procedure in this case is shown in FIG. As shown in FIG. 36, the scan address is 12 bits, and the upper 4 bits have room, so that the scan mode can be instructed by the most significant 2 bits using this. That is, if the most significant 2 bits are (00), the scanning mode is x1, if it is (01), the scanning mode is x2, and if it is (10), the scanning mode is x4.
This scanning mode is always set in the header portion sent prior to the image data. When a scan mode different from the scan mode data sent immediately before is received, the previous scan mode is changed to the received scan mode. However, when the scan mode is specified by the SetMulti command by serial communication, the scan mode specified by the command is given priority.

以上の様にしてFLCDインタフェース2より送られてくる表示データの受信及びFLCDパネル150への描画処理(図30に示す通常描画処理)の詳細を図37〜図43を参照して以下に説明する。   Details of reception of display data sent from the FLCD interface 2 and drawing processing on the FLCD panel 150 as described above (normal drawing processing shown in FIG. 30) will be described below with reference to FIGS. .

図30のステップS146の通常描画処理では、まずステップS201で、SDIを送出し、ドライバコントローラ190の図8に示すバッファ521、522の何れかを入力し、他方より読み出しを行う様にチェンジする。続いてステップS202で割り込み要因レジスタをクリアする。その後ステップS203でFLCDインタフェース2に対する画像データ要求信号であるBUSY信号をネガティブとしてノットビジイとする。   In the normal drawing process in step S146 of FIG. 30, first, in step S201, SDI is sent out, one of the buffers 521 and 522 shown in FIG. In step S202, the interrupt factor register is cleared. Thereafter, in step S203, the BUSY signal, which is an image data request signal for the FLCD interface 2, is set to be negative and not busy.

FLCD3がBUSY信号をネガティブとしてノットビジイとすると、FLCDインタフェース2は、上述した様にAHDLをハイレベルとすると同時に、走査アドレスつき画像データを画像データバスPD0〜PD15にFCLKに同期させて順次送ってくる。ドライバコントローラ190がこの内の走査アドレスを受け取ると、受信アドレスレジスタ526に格納すると共にIREQ信号を送ってくるので、ステップS204でこれを受け取ったか否かを調べスキャンアドレス受信が終了したか否かを調べる。未だ受け取っていなければステップS205でAHDL信号がこないでAHDL信号のタイムアウトが発生したか否かを調べる。タイムアウトが発生していなければ上述のステップS204、205に戻る。   When the FLCD 3 sets the BUSY signal to be negative and is not busy, the FLCD interface 2 sequentially sets image data with scanning addresses to the image data buses PD0 to PD15 in synchronization with FCLK at the same time as setting the AHDL to the high level. . When the driver controller 190 receives the scan address, the driver controller 190 stores it in the reception address register 526 and sends an IREQ signal. Therefore, in step S204, it is checked whether or not the scan address has been received. Investigate. If it has not been received yet, it is checked in step S205 whether an AHDL signal has timed out without receiving an AHDL signal. If no time-out has occurred, the process returns to steps S204 and 205 described above.

ここで、ドライバコントローラ190がスキャンアドレスを受け取った場合にはステップS204よりステップS206に進み、FLCD3の1ライン書き込み周期(1H)に合わせてBUSY信号をハイレベルとする。そして続くステップS207で図36に示す受信したスキャンアドレスの上位2ビットのスキャンコードのみを抽出すべくスキャンコードのマスク処理を行ない、以下でスキャンモードコードの判別を行う。   If the driver controller 190 receives a scan address, the process proceeds from step S204 to step S206, and the BUSY signal is set to the high level in accordance with the one-line writing period (1H) of the FLCD 3. In subsequent step S207, scan code mask processing is performed to extract only the upper two bits of the scan code of the received scan address shown in FIG. 36, and the scan mode code is determined below.

まずステップS208で以前のモードと違うモードが指定されたMODE変更指示か否かを調べる。MODE変更でなければステップS209に進み、スキャンアドレスを調べ、アドレス範囲であるか否かを調べる。アドレス範囲指示であった場合にはステップS210に進み、同一アドレスであるか否かを調べる。同一アでレスでない場合には図38のステップS211に進む。   First, in step S208, it is checked whether or not the mode change instruction specifies a mode different from the previous mode. If it is not MODE change, it progresses to step S209, and a scan address is investigated and it is investigated whether it is an address range. If it is an address range instruction, the process proceeds to step S210 to check whether the addresses are the same. If it is not the same address, the process proceeds to step S211 in FIG.

ステップS211以下では通常のアドレス描画処理を行うことになる。まずステップS211で受信したスキャンアドレスをドライバコントローラ190の受信アドレスレジスタ526より読み出して再び走査アドレスレジスタ527に格納する。続いてステップS212で読み出したアドレス値を直前の走査アドレス値(preadd)としてrw3に格納する。そしてステップS213でタイマユニット902のコンペア割り込みビット(新しい走査アドレスの駆動開始タイミングとなるまで)を待つ。転送される画像データは、2つあるバッファ521、522の一方に格納される。   After step S211, normal address drawing processing is performed. First, the scan address received in step S211 is read from the reception address register 526 of the driver controller 190 and stored in the scan address register 527 again. Subsequently, the address value read in step S212 is stored in rw3 as the previous scan address value (preadd). In step S213, the CPU waits for a compare interrupt bit of the timer unit 902 (until the drive start timing of a new scan address). The transferred image data is stored in one of two buffers 521 and 522.

その後ステップS214で1Hをスタートさせ、図10に示す構成によりCOMドライバ104、セグメントドライバ102、103によるFLCDパネル150の駆動、表示データの書き換え制御を行う。そしてステップS215でタイマユニット902をクリアし、次のステップS216でドライバコントローラ190側の1H動作を行った後にドライバコントローラから送られるLATHD信号がハイレベルとなるのを待つ。そしてその後リターンする。   Thereafter, 1H is started in step S214, and the FLCD panel 150 is driven and the display data is rewritten by the COM driver 104 and the segment drivers 102 and 103 with the configuration shown in FIG. In step S215, the timer unit 902 is cleared, and in the next step S216, after the 1H operation on the driver controller 190 side is performed, it waits for the LATHD signal sent from the driver controller to become high level. Then return.

ドライバコントローラ190より各ドライバへは、走査アドレスレジスタ527に設定された情報に基づいて行われるが、これはシステムコントローラ160よりのDSTレジスタ528への書き込みが行われたことにより開始される。DSTレジスタ528への書き込みが行われると、タイマユニット902より出力されるTOUT0に同期して新しい1H期間としてドライバ制御信号の送出を開始し、同時に1Hディレイバッファであるバッファ521又は522に格納された画像データがU−SEGドライバ102、L−SEGドライバ103に分割されて転送される。なお、この1H制御の詳細は後述する。   The driver controller 190 sends each driver based on the information set in the scan address register 527. This is started when the system controller 160 writes to the DST register 528. When writing to the DST register 528 is performed, transmission of a driver control signal is started as a new 1H period in synchronization with TOUT0 output from the timer unit 902, and simultaneously stored in the buffer 521 or 522 which is a 1H delay buffer. The image data is divided and transferred to the U-SEG driver 102 and the L-SEG driver 103. Details of the 1H control will be described later.

これにより、通常アドレス描画が行われ、FLCD側の送られてきたラインの表示更新制御が行われることになる。   As a result, normal address drawing is performed, and display update control of the line sent on the FLCD side is performed.

一方、ステップS210の判断でアドレス範囲が同一アドレスであった場合にはステップS210よりステップS220に進み、受信したアドレス値を直前の走査アドレス値(preadd)としてrw3に格納する。そしてステップS221でダミーアドレスを走査アドレス(CSADS)レジスタ527にセットする。続いてステップS222でタイマユニット902のコンペア割り込みビット(直前の走査アドレスの駆動開始タイミングとなるまで)を待つ。   On the other hand, if it is determined in step S210 that the address range is the same address, the process proceeds from step S210 to step S220, and the received address value is stored in rw3 as the previous scan address value (preadd). In step S221, a dummy address is set in the scan address (CSADS) register 527. In step S222, the timer unit 902 waits for a compare interrupt bit (until the drive start timing of the immediately preceding scan address).

その後ステップS223でDSTレジスタ528に書き込んで1Hをスタートさせ、図10に示す構成によりCOMドライバ104、セグメントドライバ102、103によるFLCDパネル150の駆動、表示データの書き換え制御を行う。そしてステップS224でタイマユニット902をクリアし、次のステップS225でドライバコントローラ190側の1H動作を行った後にLATHD信号がハイレベルとなるのを待つ。   Thereafter, in step S223, data is written to the DST register 528 to start 1H, and the drive of the FLCD panel 150 and the display data rewrite control are performed by the COM driver 104 and the segment drivers 102 and 103 with the configuration shown in FIG. In step S224, the timer unit 902 is cleared. In the next step S225, after the 1H operation on the driver controller 190 side is performed, it waits for the LATHD signal to become high level.

LATHD信号がハイレベルとなるとステップS226でrw3にセットしていた直前の走査アドレス値(preadd)を走査アドレス(CSADS)レジスタ529に格納する。そしてステップS227でタイマユニット902のコンペア割り込みビット(次の走査アドレスの駆動開始タイミングとなるまで)を待つ。その後ステップS228で1Hをスタートさせる。そしてステップS229でタイマユニット902をクリアし、次のステップS230でドライバコントローラ190側の1H動作を行った後にLATHD信号がハイレベルとなるのを待つ。   When the LATHD signal becomes high level, the scan address value (preadd) just set to rw3 in step S226 is stored in the scan address (CSADS) register 529. In step S227, the CPU waits for the compare interrupt bit of the timer unit 902 (until the next scan address driving start timing). Thereafter, 1H is started in step S228. In step S229, the timer unit 902 is cleared, and in the next step S230, after the 1H operation on the driver controller 190 side is performed, it waits for the LATHD signal to become high level.

LATHD信号がハイレベルとなるとステップS231に進み、SDIを送出してセグメントデータの転送を開始してFLCDパネル150より次のラインの走査を開始する。そして、以下のステップS232〜ステップS236で上述したステップS221〜ステップS225と同様の処理を行い、その後ステップS237でrw3にダミーアドレスをセットしてこれを直前の走査アドレス値(preadd)とする。そしてリターンする。   When the LATHD signal becomes high level, the process proceeds to step S231, where SDI is sent and segment data transfer is started, and scanning of the next line is started from the FLCD panel 150. Then, in the following steps S232 to S236, processing similar to that in steps S221 to S225 described above is performed, and then in step S237, a dummy address is set in rw3, and this is set as the immediately preceding scan address value (preadd). Then return.

これにより、同一アドレスのくり返し表示制御が可能となる。   Thereby, repeated display control of the same address becomes possible.

更に、ステップS208の判定で走査モードの変更が指示されていた場合にはステップS208よりステップS240に進み、受信したスキャンモード値をrw2に格納する。そしてステップS241でダミーアドレスを走査アドレス(CSADS)レジスタ527にセットする。続いてステップS242でタイマユニット902のコンペア割り込みビット(ダミーアドレスの駆動開始タイミングとなるまで)を待つ。   Furthermore, if the change of the scan mode is instructed in the determination of step S208, the process proceeds from step S208 to step S240, and the received scan mode value is stored in rw2. In step S241, a dummy address is set in the scan address (CSADS) register 527. In step S242, the timer waits for the compare interrupt bit of the timer unit 902 (until the dummy address drive start timing comes).

その後ステップS243でDSTレジスタ528に書き込んで1Hをスタートさせ、図10に示す構成によりCOMドライバ104、セグメントドライバ102、103によるFLCDパネル150の駆動、表示データの書き換え制御を行う。そしてステップS244でDACT信号がローレベルとなるのを待ってステップS245に進み、rw5にOFFをセットし、タイマを停止する。   Thereafter, in step S243, writing to the DST register 528 is started to start 1H, and the drive of the FLCD panel 150 and the display data rewrite control are performed by the COM driver 104 and the segment drivers 102 and 103 with the configuration shown in FIG. Then, in step S244, the process waits for the DACT signal to become low level, and proceeds to step S245, where rw5 is set to OFF and the timer is stopped.

続いてステップS246でマスクした受信データの図36に示すコモンスキャンアドレスを除く4ビットを調べ、スキャンコード部分の下2ビットが0であるか否かを調べる。下2ビットが0であればステップS247に進み、スキャンモードをここで指定されたスキャンコードとして走査モードを指示された走査モードとする。そして、ドライバコントローラ190の走査アドレス(CSADS)レジスタ527等を更新してリターンする。   Subsequently, 4 bits excluding the common scan address shown in FIG. 36 of the received data masked in step S246 are checked to check whether the lower 2 bits of the scan code portion are 0 or not. If the lower 2 bits are 0, the process proceeds to step S247, where the scan mode is set to the scan code designated here, and the scan mode is designated. Then, the scan address (CSADS) register 527 of the driver controller 190 is updated and the process returns.

一方、ステップS246でスキャンコード部分の下2ビットが0でない場合にはステップS249に進む。この場合には、走査モードの指定が誤っていることが考えられるため、回復可能エラーアテンション(スキャンエラーアテンション)を選択し、ステップS250でFLCDインタフェース2に送信する。そして続くステップS251でrw2に現在のスキャンモードをセットしてバッファポインタを更新してrw4に格納してリターンする。その後通常の表示モードでの通常描画処理に移行することになる。   On the other hand, if the lower 2 bits of the scan code portion are not 0 in step S246, the process proceeds to step S249. In this case, since it is considered that the designation of the scan mode is incorrect, a recoverable error attention (scan error attention) is selected and transmitted to the FLCD interface 2 in step S250. In subsequent step S251, the current scan mode is set in rw2, the buffer pointer is updated, stored in rw4, and the process returns. Thereafter, the process shifts to normal drawing processing in the normal display mode.

更に、ステップS209でスキャンアドレスがアドレス範囲でなかった場合にはステップS260に進み、ダミーアドレスを走査アドレス(CSADS)レジスタ527にセットする。続いてステップS261でタイマユニット902のコンペア割り込みビット(ダミーアドレスの駆動開始タイミングとなるまで)を待つ。その後ステップS262でDSTレジスタ528に書き込んで1Hをスタートさせ、図10に示す構成によりCOMドライバ104、セグメントドライバ102、103によるFLCDパネル150の駆動、表示データの書き換え制御を行う。そしてステップS263でDACT信号がローレベルとなるのを待ってステップS264に進み、rw5にOFFをセットし、タイマを停止する。   Further, if the scan address is not in the address range in step S209, the process proceeds to step S260, and the dummy address is set in the scan address (CSADS) register 527. In step S261, the timer unit 902 waits for a compare interrupt bit (until the dummy address drive start timing comes). Thereafter, in step S262, data is written to the DST register 528 to start 1H, and the drive of the FLCD panel 150 and the display data rewrite control by the COM driver 104 and the segment drivers 102 and 103 are performed with the configuration shown in FIG. In step S263, the process waits for the DACT signal to become a low level, and then proceeds to step S264, where rw5 is set to OFF and the timer is stopped.

次にステップS265でアドレス範囲外のアテンションを選択する。そしてステップS266で同一のアテンションについてチェックし、ステップS267で同一アテンションがあるか否かを調べる。ここで。同一アテンションがある場合にはそのままリターンし、通常のスキャン停止モードに移行する。   In step S265, an attention outside the address range is selected. In step S266, the same attention is checked. In step S267, it is checked whether there is the same attention. here. If there is the same attention, the process returns to the normal scan stop mode.

一方、ステップS267で同一のアテンションがなかった場合にはステップS268に進み、選択したアドレス範囲外のアテンションを送信し、rw4のバッファポインタを更新する。そして上述同様リターンする。   On the other hand, if there is no same attention in step S267, the process proceeds to step S268, where an attention outside the selected address range is transmitted, and the buffer pointer of rw4 is updated. Then, the process returns as described above.

また、上述したステップS204、205のループ処理において、FLCDインタフェース2よりのAHDL信号がハイレベルとなることなくタイムアウトとなった場合にはステップS205より図42のステップS270に進み、BUSY信号をローレベルとし、続くステップS271でダミーアドレスを走査アドレス(CSADS)レジスタ527にセットする。ステップS272でタイマユニット902のコンペア割り込みビット(ダミーアドレスの駆動開始タイミングとなるまで)を待つ。   In the loop processing of steps S204 and 205 described above, if the AHDL signal from the FLCD interface 2 has timed out without going high, the process proceeds from step S205 to step S270 in FIG. 42, and the BUSY signal is set to low level. In a subsequent step S271, a dummy address is set in the scan address (CSADS) register 527. In step S272, the CPU waits for the compare interrupt bit of the timer unit 902 (until the dummy address driving start timing comes).

その後ステップS273でDSTレジスタ528に書き込んで1Hをスタートさせ、図10に示す構成によりCOMドライバ104、セグメントドライバ102、103によるFLCDパネル150の駆動、表示データの書き換え制御を行う。そしてステップS274でDACT信号がローレベルとなるのを待ってステップS275に進み、rw5にOFFをセットし、タイマを停止する。   After that, in step S273, the DST register 528 is written to start 1H, and the FLCD panel 150 is driven by the COM driver 104 and the segment drivers 102 and 103 and the display data is rewritten with the configuration shown in FIG. Then, in step S274, the process waits for the DACT signal to become low level and proceeds to step S275, where rw5 is set to OFF and the timer is stopped.

続いてステップS276でAHDLのタイムアウトのリトライカウンタ(ahdlretry)が0か否かを調べる。0であればステップS277に進み、回復可能エラーアテンション(AHDLタイムアウトアテンション)を選択し、ステップS278でFLCDインタフェース2に送信する。そして、ステップS280に進む。   In step S276, it is checked whether or not the AHDL timeout retry counter (ahdlretry) is zero. If 0, the process proceeds to step S277, where recoverable error attention (AHDL timeout attention) is selected, and is transmitted to the FLCD interface 2 in step S278. Then, the process proceeds to step S280.

ステップS280では、AHDLのタイムアウトのリトライカウンタ(ahdlretry)を1つ加算し、ワークレジスタの1(rw1)をdispmodeで設定される表示動作に、及びエラー状態をerrstatとし、ワークレジスタの3(rw3)をダミーアドレスに、ワークレジスタの4(rw4)のバッファポインタを更新する。そして通常スキャン停止モードにリターンする。   In step S280, the AHDL time-out retry counter (ahdlretry) is incremented, the work register 1 (rw1) is set to display operation set by dispmode, and the error state is set to errstat, and the work register 3 (rw3) Is updated to the buffer address of 4 (rw4) of the work register. Then, the process returns to the normal scan stop mode.

また、ステップS276でAHDLのタイムアウトのリトライカウンタ(ahdlretry)が0でない場合にはステップS279に進み、AHDLのタイムアウトのリトライカウンタ(ahdlretry)が40以下か否かを調べる。AHDLのタイムアウトのリトライカウンタ(ahdlretry)が40以下の場合にはステップS280に進む。   If the AHDL timeout retry counter (ahdlretry) is not 0 in step S276, the process advances to step S279 to check whether the AHDL timeout retry counter (ahdlretry) is 40 or less. If the AHDL timeout retry counter (ahdlretry) is 40 or less, the process advances to step S280.

一方、ステップS279でAHDLのタイムアウトのリトライカウンタ(ahdlretry)が40以下でない場合にはステップS281に進み、回復可能アテンションを選択する。そしてステップS282で同一のアテンションがあるか否かを調べる。ここで。同一アテンションがない場合にはステップS283に進み、回復不可能アテンションを選択する。そしてステップS284でこれを送信する。   On the other hand, if the retry counter (ahdlretry) of the AHDL timeout is not less than 40 in step S279, the process proceeds to step S281 and a recoverable attention is selected. In step S282, it is checked whether or not there is the same attention. here. If there is no same attention, the process proceeds to step S283, and an unrecoverable attention is selected. In step S284, this is transmitted.

続いてステップS287でエラーステータスにAHDLエラーをセットする。そして次にステップS288でLED109を短い周期(0.5秒間隔)でブリンクさせ、ステップS280に進む。   In step S287, an AHDL error is set in the error status. In step S288, the LED 109 blinks at a short cycle (0.5 second interval), and the process proceeds to step S280.

一方、ステップS282で同一アテンションがあった場合にはステップS285に進み、回復不可能アテンションを選択し、ステップS286でこのアテンションを送信することなく送信バッファの入れ換えを行う。そしてステップS287に進む。   On the other hand, if there is the same attention in step S282, the process proceeds to step S285, where an unrecoverable attention is selected, and the transmission buffer is replaced without transmitting this attention in step S286. Then, the process proceeds to step S287.

以上におけるAHDLのタイムアウト時間は、具体的にはBUSY信号を立ち上げた後25msとなっており、この時間が経過するとBUSY信号を出力し、回復可能エラーアテンションを発行した後再びBUSY信号をリセットしてハイレベルとし、再度のAHDL信号の受信を監視することになる。そして、AHDL信号がきた場合にはClearアテンション発行して以後正常動作に移行する。この状態遷移を図44に示す。   The timeout period of AHDL in the above is specifically 25 ms after the BUSY signal is raised. When this time elapses, the BUSY signal is output, and after issuing a recoverable error attention, the BUSY signal is reset again. Therefore, the reception of the AHDL signal again is monitored. When an AHDL signal is received, a Clear attention is issued and thereafter the normal operation is performed. This state transition is shown in FIG.

また、AHDLタイムアウトが発生して回復可能エラーアテンションを発行した後、このリトライが規定の回数(40回)に達した場合にはFLCDパネル150を走査しない寡黙モードに移行する。そして、Clearアテンション発行し、その後回復不可能アテンションを発行することになる。この状態遷移を図45に示す。   Further, after the AHDL timeout occurs and a recoverable error attention is issued, when this retry reaches a specified number of times (40 times), the mode shifts to a silent mode in which the FLCD panel 150 is not scanned. Then, a Clear attention is issued, and then an unrecoverable attention is issued. This state transition is shown in FIG.

更に、アテンションがクリアされても、AHDLを受け取るまではBUSYはローレベルに維持されており、25msが経過した時点で新たなAHDLタイムアウトが発生したものとして扱っている。この際の状態遷移を図46に示す。   Further, even if the attention is cleared, BUSY is maintained at a low level until AHDL is received, and it is treated that a new AHDL timeout has occurred when 25 ms elapses. The state transition at this time is shown in FIG.

以上の様にして表示データの授受に関してはFLCD3側の主導で行われており、以下に説明するFLCDパネルの温度により走査タイミングを補正して表示画質の高画質化を図ることを可能としている。   As described above, the display data is exchanged by the FLCD 3 side, and it is possible to improve the display image quality by correcting the scanning timing according to the temperature of the FLCD panel described below.

以下、本実施例におけるFLCDパネル150における検知温度に従った走査タイミングの補正制御を説明する。本実施例におけるセグメントドライバ102及び103、COMドライバ104による駆動波形の例を図47に示す。この波形は、図10に示すドライバコントローラ190よりのCWFD0−3及びSWFD0−3によって規定される波形であり、この波形は温度補償テーブルより出力される1Hコード及びタイマユニット902の発生する クロックタイミングにより1周期が決定され、液晶駆動電圧レギュレータ183の出力電圧V1、V5、V2、V3、V4及びVCにより波高値が決定される。   Hereinafter, the correction control of the scanning timing according to the detected temperature in the FLCD panel 150 in the present embodiment will be described. An example of drive waveforms by the segment drivers 102 and 103 and the COM driver 104 in this embodiment is shown in FIG. This waveform is a waveform defined by CWFD0-3 and SWFD0-3 from the driver controller 190 shown in FIG. 10, and this waveform depends on the 1H code output from the temperature compensation table and the clock timing generated by the timer unit 902. One period is determined, and the peak value is determined by the output voltages V1, V5, V2, V3, V4, and VC of the liquid crystal drive voltage regulator 183.

この本実施例のFLCDパネル駆動波形の例を図47に示す。図の走査選択信号がCOMドライバ104の駆動信号波形を示し、情報信号がSEGドライバ102、103の駆動波形を示している。VopcodeとFLCDパネル駆動電圧との関係は、以下に示すようなものとなる。   An example of the FLCD panel drive waveform of this embodiment is shown in FIG. The scan selection signal in the figure shows the drive signal waveform of the COM driver 104, and the information signal shows the drive waveform of the SEG drivers 102 and 103. The relationship between Vopcode and FLCD panel drive voltage is as shown below.

DAOUT=VopCode×5.0/256
V1−VC=VC−V2=3.49×DAOUT
=0.0681×VopCode [V]
V5−VC= 1.58×DAOUT
=0.0309×VopCode [V]
V3−VC=VC−V4=1.44×DAOUT
=0.0282×VopCode [V]
であり、1HCodeと1Hの関係は、
1H=(CSCLK周期)×5×(1HCode+1)×0.4×5
[μsec]となる。
DAOUT = VopCode × 5.0 / 256
V1-VC = VC-V2 = 3.49 × DAOUT
= 0.0681 x VopCode [V]
V5-VC = 1.58 x DAOUT
= 0.0309 x VopCode [V]
V3-VC = VC-V4 = 1.44 × DAOUT
= 0.0282 x VopCode [V]
The relationship between 1HCode and 1H is
1H = (CSCLK period) × 5 × (1HCode + 1) × 0.4 × 5
[Μsec].

以上の駆動波形を生成するFLCDパネルの駆動条件に対する温度特性の補償を、温度センサ105により検知されるFLCDパネル150近傍の温度信号に基づき、パネルに印加される駆動電圧(Vop)と駆動周期(1H)によって行なう。そして、すべての電気系のばらつきと、FLCDパネル特性のばらつきとを吸収するため、画質調整トリマ107により温度信号が微調整される。   Compensation of the temperature characteristics for the driving conditions of the FLCD panel that generates the above driving waveform is based on the temperature signal in the vicinity of the FLCD panel 150 detected by the temperature sensor 105 and the driving voltage (Vop) applied to the panel and the driving cycle ( 1H). Then, the temperature signal is finely adjusted by the image quality adjustment trimmer 107 in order to absorb all variations of the electrical system and variations of the FLCD panel characteristics.

なお、駆動波形電圧は、Vcを中心に温度変化に伴い上下対称に電圧値が変化する様に構成している。この補償は図10に示す構成により行う。   Note that the drive waveform voltage is configured such that the voltage value changes vertically symmetrically with a temperature change around Vc. This compensation is performed by the configuration shown in FIG.

図10に示す温度補償テーブル901の例を図48、図49に示す。図48は温度補償テーブル901に入力されるアナログ−デジタル変換回路904、905よりの入力AD値に対する出力1H時間及びVop駆動電圧出力値を示しており、AD値が小さいほど温度が高くなっており、AD値0で略60℃程度、175程度で略5℃程度となっている。本実施例では、60℃以上に温度が上昇することが無い様に設計されており、テーブルは60℃迄の補償データが備えられている。   Examples of the temperature compensation table 901 shown in FIG. 10 are shown in FIGS. FIG. 48 shows the output 1H time and the Vop drive voltage output value with respect to the input AD value from the analog-digital conversion circuits 904 and 905 input to the temperature compensation table 901. The temperature increases as the AD value decreases. When the AD value is 0, the temperature is approximately 60 ° C., and when the AD value is approximately 175, the temperature is approximately 5 ° C. In this embodiment, the temperature is designed not to rise above 60 ° C., and the table is provided with compensation data up to 60 ° C.

図49は各環境温度におけるスタート時とスタートから十分な時間が経過して内部温度が飽和した時点とにおけるフレーム周波数の例である。   FIG. 49 shows an example of the frame frequency at the start of each environmental temperature and at the time when the internal temperature is saturated after a sufficient time has elapsed from the start.

ここでフレーム周波数とは、本実施例における走査線1024本が書き換えられる時間の逆数である。   Here, the frame frequency is the reciprocal of the time during which 1024 scanning lines in this embodiment are rewritten.

次に、以上に概略を述べた温度補償の具体的な制御を図50〜図57を参照して以下に説明する。本実施例では、ユーザトリマ監視のインターバルは1Hに依存しない100ms毎であり、ユーザトリマの値が直前の値に対して変化しない場合には処理を終了し、変化があった場合には温度補償を行う。また、ユーザトリマに変化が無い場合においても、30秒毎に温度補償を行う。   Next, specific control of temperature compensation outlined above will be described below with reference to FIGS. In this embodiment, the user trimmer monitoring interval is every 100 ms that does not depend on 1H, and the process is terminated when the value of the user trimmer does not change with respect to the immediately preceding value, and when there is a change, the temperature compensation is performed. I do. Even when there is no change in the user trimmer, temperature compensation is performed every 30 seconds.

この温度補償ルーチンは、上述したステップS133又はステップS166の処理である。本実施例では、画質調整トリマ107よりトリマインタフェース174を介してシステムコントローラに入力されるアナログ調整信号Vuをアナログ−デジタル変換器905で対応するデジタル信号(UVR)に変換して取り込む必要があり、まずステップS301で、このアナログ−デジタル変換器905を入力する対象として指定する。   This temperature compensation routine is the process of step S133 or step S166 described above. In this embodiment, the analog adjustment signal Vu input to the system controller from the image quality adjustment trimmer 107 via the trimmer interface 174 needs to be converted into a corresponding digital signal (UVR) by the analog-digital converter 905 and fetched. First, in step S301, the analog-digital converter 905 is designated as an input target.

そしてステップS302でアナログ−デジタル変換器905を起動する。そして、続くステップS303でリターンコードが0か否かを調べる。これは、ステップS302でアナログ−デジタル変換器905が起動されると、所定時間内にアナログ−デジタル変換が行われ、変換終了の旨の割り込みがなされ、この時にアナログ−デジタル変換が終了した場合にはリターンコードが0となっており、0でなければアナログ−デジタル変換のタイムアウトが発生していることになる。このため、ステップS303でリターンコードが0でない場合には後述する図55に示すステップS345以下のアナログ−デジタル変換タイムアウト処理に移行する。   In step S302, the analog-digital converter 905 is activated. In subsequent step S303, it is checked whether the return code is 0 or not. This is because, when the analog-digital converter 905 is activated in step S302, analog-digital conversion is performed within a predetermined time, and an interruption to the effect of completion of conversion is made. At this time, analog-digital conversion is completed. The return code is 0, and if it is not 0, a timeout of analog-digital conversion has occurred. For this reason, when the return code is not 0 in step S303, the process proceeds to an analog-digital conversion timeout process in step S345 and subsequent steps shown in FIG.

一方、ステップS303でリターンコードが0の場合にはステップS304に進み、アナログ−デジタル変換器905の変換結果をユーザトリマAD値を保持するuvrレジスタにセットする。続いてステップS305で、温度補償タイミング用カウンタ(compc)を1つデクリメントする。そしてステップS306で温度補償タイミング用カウンタ(compc)が0か否かを調べる。温度補償タイミング用カウンタ(compc)が0でなければステップS307に進み、ステップS304でセットして読み込んだユーザトリマAD値とuvrprevに格納されている直前のユーザトリマAD値とを比較し、両値が等しいか否かを調べる。両値が等しければユーザによる調整は行われなかったことになるため、図51のステップS310に進む。   On the other hand, when the return code is 0 in step S303, the process proceeds to step S304, and the conversion result of the analog-digital converter 905 is set in the uvr register holding the user trimmer AD value. In step S305, the temperature compensation timing counter (compc) is decremented by one. In step S306, it is checked whether the temperature compensation timing counter (compc) is zero. If the temperature compensation timing counter (compc) is not 0, the process proceeds to step S307, where the user trimmer AD value set and read in step S304 is compared with the previous user trimmer AD value stored in uvrprev. Check if is equal. If the two values are equal, the adjustment by the user has not been performed, and the process proceeds to step S310 in FIG.

ステップS310では、ユーザトリマ監視のインターバルである100msを1Hで除算し、結果をユーザトリマ監視タイミング用描画カウンタ(linc)に格納してステップS311に進む.
そしてAHDLタイムアウトのカウンタ値をセットし,リターンコードに0をセットして当該処理を終了する。
In step S310, the user trimmer monitoring interval of 100 ms is divided by 1H, the result is stored in the user trimmer monitoring timing drawing counter (linc), and the process proceeds to step S311.
Then, the AHDL timeout counter value is set, 0 is set in the return code, and the process is terminated.

一方、ステップS306で温度補償タイミング用カウンタ(compc)が0である場合、又はステップS307で読み込んだユーザトリマAD値と直前のユーザトリマAD値とが異なっている場合には共にステップS315に進む。そしてステップS315でユーザトリマAD値を保持するuvrレジスタ値をuvrprevに格納する。そして、続くステップS316で温度センサ105より検知温度を読み込むべく、アナログ−デジタル変換器904を入力する対象として指定する。   On the other hand, if the temperature compensation timing counter (compc) is 0 in step S306, or if the user trimmer AD value read in step S307 is different from the previous user trimmer AD value, the process proceeds to step S315. In step S315, the uvr register value holding the user trimmer AD value is stored in uvrprev. In step S316, in order to read the detected temperature from the temperature sensor 105, the analog-digital converter 904 is designated as an input target.

そしてステップS317でアナログ−デジタル変換器904を起動する。そして、続くステップS320でリターンコードが0か否かを調べる。ステップS320でリターンコードが0でない場合には後述する図55に示すステップS345以下のアナログ−デジタル変換タイムアウト処理に移行する。   In step S317, the analog-digital converter 904 is activated. In subsequent step S320, it is checked whether the return code is 0 or not. If the return code is not 0 in step S320, the process proceeds to an analog-digital conversion timeout process in step S345 and subsequent steps shown in FIG.

一方、ステップS320でリターンコードが0の場合にはステップS321に進み、検知したパネル近傍の温度が予め定めた温度の上限値以上か否かを調べる。上限値以上であれば図56に示す温度上限ルーチン(comp htmperr)に移行する。   On the other hand, if the return code is 0 in step S320, the process proceeds to step S321, and it is checked whether or not the detected temperature near the panel is equal to or higher than a predetermined upper limit value of temperature. If it is equal to or higher than the upper limit value, the routine proceeds to a temperature upper limit routine (comp tmpperr) shown in FIG.

また、ステップS322で、検知したパネル近傍の温度が予め定めた温度の上限値以下の場合にはステップS323に進み、検知したパネル近傍の温度が予め定めた温度の下限値以下か否かを調べる。下限値以下であれば図57に示す温度下限ルーチン(comp ltmperr)に移行する。   In step S322, if the detected temperature near the panel is equal to or lower than the upper limit value of the predetermined temperature, the process proceeds to step S323 to check whether the detected temperature near the panel is equal to or lower than the lower limit value of the predetermined temperature. . If it is equal to or lower than the lower limit value, the routine proceeds to a temperature lower limit routine (comp tmpperr) shown in FIG.

更に、ステップS323で、検知したパネル近傍の温度が予め定めた温度の下限値以上の場合には図53に示すステップS325に進む。ステップS325では、検知したパネル近傍の温度が予め定めた境界温度以上か否かを調べる。検知したパネル近傍の温度が予め定めた境界温度以上でない場合にはステップS326に進み、検知した温度領域が高温域か否かを調べる。検知した温度領域が高温域の場合にはステップS330に進む。   Further, in step S323, if the detected temperature near the panel is equal to or higher than the lower limit value of the predetermined temperature, the process proceeds to step S325 shown in FIG. In step S325, it is checked whether the detected temperature near the panel is equal to or higher than a predetermined boundary temperature. If the detected temperature in the vicinity of the panel is not equal to or higher than the predetermined boundary temperature, the process proceeds to step S326, and it is checked whether or not the detected temperature range is a high temperature range. If the detected temperature region is a high temperature region, the process proceeds to step S330.

一方、検知した温度領域が高温域でない場合にはステップS326よりステップS327に進み、波形変更ルーチンを実行する。続いてステップS328で高温域用境界温度を新たな境界温度とする。そして続くステップS329で高温域用温度補償テーブルを選択する。そしてステップS330に進む。ステップS330では、ユーザトリマAD値を保持するuvrレジスタ値を新たな測定温度として登録し、温度センサ105のAD値と画質調整トリマ調整値を加えてadvalueに格納して図54のステップS335に進む。   On the other hand, if the detected temperature region is not the high temperature region, the process proceeds from step S326 to step S327, and the waveform change routine is executed. Subsequently, in step S328, the boundary temperature for the high temperature region is set as a new boundary temperature. In step S329, the temperature compensation table for the high temperature region is selected. Then, the process proceeds to step S330. In step S330, the uvr register value holding the user trimmer AD value is registered as a new measured temperature, the AD value of the temperature sensor 105 and the image quality adjustment trimmer adjustment value are added and stored in advance, and the process proceeds to step S335 in FIG. .

一方、ステップS325で検知したパネル近傍の温度が予め定めた境界温度以上の場合にはステップS331に進み、検知した温度領域が低温域か否かを調べる。検知した温度領域が低温域の場合にはステップS330に進む。   On the other hand, if the temperature in the vicinity of the panel detected in step S325 is equal to or higher than the predetermined boundary temperature, the process proceeds to step S331, and it is checked whether or not the detected temperature range is a low temperature range. If the detected temperature region is the low temperature region, the process proceeds to step S330.

一方、検知した温度領域が低温域でない場合にはステップS331よりステップS332に進み、波形変更ルーチンを実行する。このルーチンでは、検知温度に対応した温度補償テーブル中の波形データテーブルを参照して駆動条件を設定し、波形を決定して温度に応じて波形を変更可能とし、リターンコードを0に設定する処理である。続いてステップS333で低温域用境界温度を新たな境界温度とする。そして続くステップS329で低温域用温度補償テーブルを選択する。そしてステップS330に進む。   On the other hand, if the detected temperature region is not the low temperature region, the process proceeds from step S331 to step S332, and a waveform change routine is executed. In this routine, the drive condition is set with reference to the waveform data table in the temperature compensation table corresponding to the detected temperature, the waveform is determined, the waveform can be changed according to the temperature, and the return code is set to 0 It is. Subsequently, in step S333, the low temperature region boundary temperature is set as a new boundary temperature. In subsequent step S329, the temperature compensation table for the low temperature region is selected. Then, the process proceeds to step S330.

また、ステップS330よりステップS335に進むと、ステップS335で画質調整トリマ調整値を加えた温度センサ105のAD値を記憶するadvalueの値に従って、温度補償テーブルのタイマユニット902に対する1HCodeテーブルを読み出し、システムコントローラ160内のclkレジスタにセットする。続いてステップS336でこれを不図示の16ビットタイマにセットする。続いてステップS337でこのclkレジスタをインクリメントしてタイマレジスタ902へセットする1HCode(hcode)として出力する。   Further, when the process proceeds from step S330 to step S335, the 1HCode table for the timer unit 902 of the temperature compensation table is read according to the value of the value storing the AD value of the temperature sensor 105 to which the image quality adjustment trimmer adjustment value is added in step S335, and the system Set to the clk register in the controller 160. In step S336, this is set in a 16-bit timer (not shown). In step S337, the clk register is incremented and output as 1HCode (hcode) to be set in the timer register 902.

また、ステップS338で、画質調整トリマ調整値を加えた温度センサ105のAD値を記憶するadvalueの値に従って、温度補償テーブルのドライバコントローラ190に対するVopCodeテーブルを読み出す。続いてステップS339で読み出したVopCodeをVopコントローラ173のデジタルアナログ変換器にセットする。   In step S338, the VopCode table for the driver controller 190 of the temperature compensation table is read according to the value of the value storing the AD value of the temperature sensor 105 to which the image quality adjustment trimmer adjustment value is added. Subsequently, the VopCode read in step S339 is set in the digital / analog converter of the Vop controller 173.

また、ステップS339−2で温度補償タイミング用カウンタ(compc)に300をセットしてステップS340に進む。   In step S339-2, 300 is set in the temperature compensation timing counter (compc), and the flow advances to step S340.

そして次のステップS340で画質調整トリマ調整値を加えた温度センサ105のAD値を記憶するadvalueの値をコードテーブルとしてhcode(1Hをホストに通知するためのコード)にセットする。そして続くステップS341でこのデータが直前の値と同じか否かを調べる。直前の値と同じである場合にはステップS310に進む。   In the next step S340, the value of advance storing the AD value of the temperature sensor 105 to which the image quality adjustment trimmer adjustment value has been added is set as hcode (a code for notifying the host of 1H) as a code table. In subsequent step S341, it is checked whether this data is the same as the previous value. If it is the same as the previous value, the process proceeds to step S310.

一方、ステップS341でhcodeが直前の値と同じでない場合にはステップS342に進み、1Hコード変化アテンションを選択する。そしてステップS343でこのアテンションをFLCDインタフェース2の送信する。そしてステップS310に進む。   On the other hand, if hcode is not the same as the previous value in step S341, the process proceeds to step S342, and 1H code change attention is selected. In step S343, the attention is transmitted from the FLCD interface 2. Then, the process proceeds to step S310.

また、図52のステップS322で温度センサ105の検知温度が予め定めた上限値以上であった場合には図56に示すステップS360に進み、温度センサ105より検知温度を読み込むべく、アナログ−デジタル変換器904を入力する対象として指定する。そしてステップS361でアナログ−デジタル変換器904を起動する。そして、続くステップS362でリターンコードが0か否かを調べる。ステップS362でリターンコードが0でない場合には後述する図55に示すステップS345以下のアナログ−デジタル変換タイムアウト処理に移行する。   52, if the detected temperature of the temperature sensor 105 is equal to or higher than the predetermined upper limit value in step S322 of FIG. 52, the process proceeds to step S360 shown in FIG. 56, and analog-digital conversion is performed in order to read the detected temperature from the temperature sensor 105. The device 904 is designated as an input target. In step S361, the analog-digital converter 904 is activated. In subsequent step S362, it is checked whether the return code is 0 or not. If the return code is not 0 in step S362, the process proceeds to an analog-digital conversion time-out process in step S345 and subsequent steps shown in FIG.

一方、ステップS362でリターンコードが0の場合にはステップS363に進み、再度読み込んだ結果温度センサ105の検知温度が予め定めた上限値以上か否かを調べる。上限値以上でない場合には図52のステップS321に進む 。   On the other hand, if the return code is 0 in step S362, the process proceeds to step S363, and it is checked whether the detected temperature of the temperature sensor 105 is equal to or higher than a predetermined upper limit as a result of reading again. If not, the process proceeds to step S321 in FIG.

一方、ステップS363で検知温度が予め定めた上限値以上の場合には、温度センサであるサーミスタの断線であると判断してステップS364に進み、エラー状態を示すerrstatにエラー状態をセットし、続くステップS365で自己診断結果コードdiagnosisのサーミスタ断線エラービットを設定する。そしてステップS366でサーミスタ断線エラーアテンションを選択する。続いてステップS377でこのアテンションをFLCDインタフェース2に送信する。そして、ステップS388でLED109をエラー状態を示す短い周期のブランキング状態に設定して当該処理を終了してリターンする。   On the other hand, if the detected temperature is equal to or higher than the predetermined upper limit value in step S363, it is determined that the thermistor that is the temperature sensor is disconnected, and the process proceeds to step S364, where the error state is set in errstat indicating the error state, and then continues. In step S365, the thermistor disconnection error bit of the self-diagnosis result code diagnosis is set. In step S366, the thermistor disconnection error attention is selected. In step S377, the attention is transmitted to the FLCD interface 2. In step S388, the LED 109 is set to a short-period blanking state indicating an error state, the process is terminated, and the process returns.

また、図52のステップS323で温度センサ105の検知温度が予め定めた下限値以下であった場合には図57に示すステップS390に進み、温度センサ105より検知温度を読み込むべく、アナログ−デジタル変換器904を入力する対象として指定する。そしてステップS391でアナログ−デジタル変換器904を起動する。そして、続くステップS392でリターンコードが0か否かを調べる。ステップS392でリターンコードが0でない場合には後述する図55に示すステップS345以下のアナログ−デジタル変換タイムアウト処理に移行する。   52, if the detected temperature of the temperature sensor 105 is equal to or lower than a predetermined lower limit value in step S323 of FIG. 52, the process proceeds to step S390 shown in FIG. The device 904 is designated as an input target. In step S391, the analog-digital converter 904 is activated. In subsequent step S392, it is checked whether or not the return code is 0. If the return code is not 0 in step S392, the process proceeds to an analog-digital conversion timeout process in step S345 and subsequent steps shown in FIG.

一方、ステップS392でリターンコードが0の場合にはステップS393に進み、再度読み込んだ結果温度センサ105の検知温度が予め定めた下限値以下か否かを調べる。下限値以下でない場合には図52のステップS321に進む。   On the other hand, if the return code is 0 in step S392, the process proceeds to step S393, and it is checked whether the detected temperature of the temperature sensor 105 is equal to or lower than a predetermined lower limit as a result of reading again. If it is not less than the lower limit, the process proceeds to step S321 in FIG.

一方、ステップS393で検知温度が予め定めた下限値以下の場合には、温度センサであるサーミスタの短絡であると判断してステップS394に進み、エラー状態を示すerrstatにエラー状態をセットし、続くステップS395で自己診断結果コードdiagnosisのサーミスタ短絡エラービットを設定する。そしてステップS396でサーミスタ短絡エラーアテンションを選択する。続いてステップS397でこのアテンションをFLCDインタフェース2に送信する。そして、ステップS398でLED109をエラー状態を示す短い周期のブランキング状態に設定して当該処理を終了してリターンする。   On the other hand, if the detected temperature is equal to or lower than the predetermined lower limit value in step S393, it is determined that the thermistor, which is a temperature sensor, is short-circuited, and the process proceeds to step S394, where an error state is set in errstat indicating an error state and continues. In step S395, the thermistor short-circuit error bit of the self-diagnosis result code diagnosis is set. In step S396, the thermistor short-circuit error attention is selected. In step S397, the attention is transmitted to the FLCD interface 2. In step S398, the LED 109 is set to a short-period blanking state indicating an error state, the process is terminated, and the process returns.

さらに、以上の各ステップでリターンコードが0でない場合には、アナログ−デジタル変換のタイムアウトであると判断して図55に示すステップS345に進む。そしてステップS345でエラー状態を示すerrstatにエラー状態をセットし、続くステップS346で自己診断結果コードdiagnosisのAD変換エラービットを設定する。そしてステップS347でAD変換エラーアテンションを選択する。   Further, when the return code is not 0 in each of the above steps, it is determined that the analog-digital conversion has timed out, and the process proceeds to step S345 shown in FIG. In step S345, the error state is set in errstat indicating the error state, and in the subsequent step S346, the AD conversion error bit of the self-diagnosis result code diagnosis is set. In step S347, AD conversion error attention is selected.

続いてステップS348でこのアテンションをFLCDインタフェース2に送信する。そして、ステップS349でLED109をエラー状態を示す短い周期のブランキング状態に設定する。そしてステップS350でリターンコードをffffHにセットして当該処理を終了してリターンする。   In step S348, the attention is transmitted to the FLCD interface 2. In step S349, the LED 109 is set to a short-period blanking state indicating an error state. In step S350, the return code is set to ffffH, the process ends, and the process returns.

上述した様に本実施例においては、ユーザトリマ監視のインターバルは100ms毎であり、ユーザトリマの値が直前の値に対して変化しない場合には温度補償ルーチンを終了し、変化があった場合には温度補償を行う。また、ユーザトリマに変化が無い場合においても、30秒毎に温度補償を行う。   As described above, in the present embodiment, the user trimmer monitoring interval is every 100 ms, and if the value of the user trimmer does not change with respect to the immediately preceding value, the temperature compensation routine is terminated, and when there is a change. Performs temperature compensation. Even when there is no change in the user trimmer, temperature compensation is performed every 30 seconds.

次に図58を参照して図29のパネル停止処理を説明する。ここでは、ドライバコントローラ190及びCOMドライバ104の後処理を行ってFLCDパネル150の駆動を停止させる。   Next, the panel stop process of FIG. 29 will be described with reference to FIG. Here, the driver controller 190 and the COM driver 104 are post-processed to stop driving the FLCD panel 150.

まずステップS401でSDIを送出してセグメントデータの転送を開始してFLCDパネル150より次のラインの走査を開始する。そして、ラインバッファをチェンジする。続いてステップS402でダミーアドレスを走査アドレス(CSADS)レジスタ527にセットする。次にステップS403でタイマユニット902のコンペア割り込みビット(走査アドレスの駆動開始タイミングとなるまで)を待つ。   First, in step S401, SDI is sent to start segment data transfer, and scanning of the next line is started from the FLCD panel 150. Then, the line buffer is changed. In step S402, a dummy address is set in the scan address (CSADS) register 527. Next, in step S403, the timer unit 902 waits for a compare interrupt bit (until the scanning address driving start timing comes).

その後ステップS404でDSTレジスタ528に書き込んで1Hをスタートさせ、図10に示す構成によりCOMドライバ104、セグメントドライバ102、103によるFLCDパネル150の駆動、表示データの書き換え制御を行う。そしてステップS405でDACT信号がローレベルとなるのを待ち、DACT信号がローレベルとなるとステップS406でタイマユニット902をクリアしリターンする。   In step S404, data is written to the DST register 528 to start 1H, and the FLCD panel 150 is driven by the COM driver 104 and the segment drivers 102 and 103 and the display data is rewritten with the configuration shown in FIG. In step S405, the process waits for the DACT signal to go low. If the DACT signal goes low, the timer unit 902 is cleared in step S406 and the process returns.

続いて、図27のステップS131その他の色彩スイッチルーチンの詳細を図59を参照して以下に説明する。   Next, details of step S131 of FIG. 27 and other color switch routines will be described below with reference to FIG.

まずステップS410でトリマインタフェース174を起動して色彩調整を行うための色彩調整スイッチ(コントラストエンハンスメントスイッチ)108の設定値であるグレイコード(GrayCode)、即ちコントラストエンハンスメントスイッチの値(cevalue)を取り込む。そしてステップS411でこの値が直前のコントラストエンハンスメントスイッチの値(cevalue)と等しいか否かを調べる。直前の値と等しければ処理を終了してリターンする。   First, in step S410, the trimmer interface 174 is activated to take in a gray code (GrayCode) that is a set value of the color adjustment switch (contrast enhancement switch) 108 for performing color adjustment, that is, the value of the contrast enhancement switch (value). In step S411, it is checked whether or not this value is equal to the value of the immediately previous contrast enhancement switch. If it is equal to the previous value, the process ends and returns.

一方、直前のコントラストエンハンスメントスイッチの値(cevalue)と等しくない場合にはステップS411よりステップS412に進み、読み込んだ値に対してグレイ−バイナリ変換処理を行い、グレイコードを対応するバイナリコードに変換してこの値を新たなコントラストエンハンスメント値(cecode)とする。そしてステップS414でCEcode変化アテンションを選択し、これをFLCDインタフェース2に送信し、リターンする。   On the other hand, if it is not equal to the value of the immediately previous contrast enhancement switch (value), the process proceeds from step S411 to step S412 to perform a gray-binary conversion process on the read value to convert the gray code into a corresponding binary code. This value is set as a new contrast enhancement value (cecode). In step S414, the CE code change attention is selected, and this is transmitted to the FLCD interface 2 and the process returns.

以上の様にして、FLCD3よりFLCDインタフェース2にこの色彩調整スイッチ108の設定値(コントラストエンハンスメントスイッチ(CESW)の値)を送ることができる。このFLCD3における色彩調整スイッチ108の詳細構成を図60に、コントラストエンハンスメントスイッチの値との関係を図61に示す。   As described above, the setting value of the color adjustment switch 108 (the value of the contrast enhancement switch (CESW)) can be sent from the FLCD 3 to the FLCD interface 2. The detailed configuration of the color adjustment switch 108 in the FLCD 3 is shown in FIG. 60, and the relationship with the value of the contrast enhancement switch is shown in FIG.

図60に示す様に本実施例においては、色彩調整スイッチ108は、3回路のスイッチであり、各スイッチのON/OFF状態に従って8ポジションのグレーコードを発生し、トリマインタフェース174のプルアップ抵抗Rpによりスイッチ回路開放状態でハイレベル、閉接状態でローレベルの出力となる様に構成されている。そして、各信号の状態は図61に示す様になっており、ポジション0がもっとも階調の少ないFLCDパネル150の基本スペックである16階調であり、以下階調が上がりポジション7では略32K階調を指示する構成となっている。   As shown in FIG. 60, in this embodiment, the color adjustment switch 108 is a three-circuit switch, which generates an 8-position gray code according to the ON / OFF state of each switch, and pull-up resistor Rp of the trimmer interface 174. Thus, the switch circuit is configured to output a high level when the switch circuit is open and a low level when the switch circuit is closed. The state of each signal is as shown in FIG. 61. Position 0 is 16 gradations, which is the basic specification of the FLCD panel 150 with the smallest gradation, and the gradation is raised below, and at position 7, the level is approximately 32K. It is the structure which instructs the key.

そして、このCESWのグレイコードを受け取ったシステムコントローラ160がステップS413の処理で図61に示すグレイコードをバイナリコードに変換してステップS415でFLCDインタフェース2に送ることになる。この送信処理の詳細は図18において詳細に示した通りである。   Upon receiving the CESW gray code, the system controller 160 converts the gray code shown in FIG. 61 into a binary code in step S413 and sends it to the FLCD interface 2 in step S415. Details of this transmission processing are as shown in detail in FIG.

スイッチの値を受け取ったFLCDインタフェース2では、ルックアップテーブルで構成されているデガンマ回路309内のデガンマテーブルをROM308を参照することで書換える。この結果、FLCDパネル150の表示画像のコントラストを変更することになる。デガンマ回路309で補正されたホスト1よりの画像データは、2値化中間調処理回路305に出力され、2値化中間調処理回路305は、この画像データを誤差拡散法に基づいてRGB各8ビットからRGBを各1ビットに2値化すると共に輝度の高低を示す2値信号を出力することになる。   The FLCD interface 2 that has received the switch value rewrites the degamma table in the degamma circuit 309 configured by a lookup table by referring to the ROM 308. As a result, the contrast of the display image on the FLCD panel 150 is changed. The image data from the host 1 corrected by the degamma circuit 309 is output to the binarized halftone processing circuit 305, and the binarized halftone processing circuit 305 outputs the image data to each of the RGB 8 bits based on the error diffusion method. RGB is binarized from 1 bit to 1 bit, and a binary signal indicating the level of luminance is output.

次に、図20におけるステップS57のパワーOFFシーケンスの詳細を図62を参照して以下に説明する。本実施例においては、パワーOFFシーケンスが実行されるのは、以下の3つの場合がある。
1.SW電源120の電源がOFFされ、SW電源120よりのAFC信号が付勢されて実行される場合(図62の処理終了後ハードウエアリセットのエントリーポイントに戻る。)。
2.FLCDインタフェース2よりのRESET信号が付勢されて実行される場合(図62の処理終了後RESET信号が消勢されるのを待ち、RESET信号の消勢後ハードウエアリセットのエントリーポイントに戻る。)。
3.FLCDインタフェース2よりのPOWERON信号が消勢されて実行される場合(この場合には図62の処理終了後POWERON信が付勢されるのを待ち、POWERON信の付勢後ハードウエアリセットのエントリーポイントに戻る。)。
Next, details of the power OFF sequence in step S57 in FIG. 20 will be described below with reference to FIG. In the present embodiment, the power OFF sequence is executed in the following three cases.
1. When the power source of the SW power source 120 is turned off and the AFC signal from the SW power source 120 is energized and executed (returns to the entry point of hardware reset after the processing in FIG. 62).
2. When the RESET signal from the FLCD interface 2 is activated and executed (waits for the RESET signal to be deactivated after the processing in FIG. 62 is completed, and returns to the hardware reset entry point after the RESET signal is deactivated). .
3. When the POWERON signal from the FLCD interface 2 is deactivated and executed (in this case, wait for the POWERON signal to be energized after the completion of the processing in FIG. 62, and then enter the hardware reset entry point after the POWERON signal is energized. Return to.)

パワーOFFシーケンスでは、まずステップS420でドライバコントローラ190による走査である1Hが終了して、この1Hの終了を報知するDACT信号がくるのを待ち、続いてステップS421でバックライトコントローラ172に指示してBLSWをOFFしてバックライトを消灯させる。そして続くステップS422〜ステップS424でFLCDパネル150にすべて黒を書き込む全黒消去処理を実行する。これは、FLCDパネル150は表示データを記憶する構成であるため、この処理を行わなければ表示画面に従前の表示データが残ってしまうためである。   In the power OFF sequence, first, in step S420, the process waits for the completion of 1H, which is scanning by the driver controller 190, and the arrival of the DACT signal for informing the end of 1H, and then instructs the backlight controller 172 in step S421. Turn off the BLSW and turn off the backlight. In subsequent steps S422 to S424, an all black erasing process for writing all black on the FLCD panel 150 is executed. This is because the FLCD panel 150 is configured to store display data, and if this process is not performed, previous display data remains on the display screen.

具体的には、ステップS422でCOMドライバ104及び両セグメントドライバ102、103を付勢し全出力がVCを選択する様にセットする。続くステップS423でセグメントドライバ102、103への情報信号を(1H×30)の間暗を表示するための情報信号レベルであるV4に固定する。そしてステップS424で(1H×30)の間Vc固定する。以上によりFLCDパネル150のすべての表示セグメントが全黒消去される。   Specifically, in step S422, the COM driver 104 and both segment drivers 102 and 103 are energized and set so that all outputs select VC. In subsequent step S423, the information signal to the segment drivers 102 and 103 is fixed to V4 which is an information signal level for displaying darkness during (1H × 30). In step S424, Vc is fixed for (1H × 30). As a result, all the display segments of the FLCD panel 150 are completely erased.

このため、続くステップS425でDRVSW信号をOFFとして液晶駆動電圧の出力をオフする。その後2ms待ってステップS426に進み、各ドライバ回路の出力チャネル電源(VEE)を付勢するVEESW信号をOFFとする。その後当該処理を終了してリターンする。   Therefore, in the subsequent step S425, the DRVSW signal is turned off to turn off the output of the liquid crystal driving voltage. Then, after waiting for 2 ms, the process proceeds to step S426, where the VEESW signal for energizing the output channel power supply (VEE) of each driver circuit is turned OFF. Thereafter, the process is terminated and the process returns.

このパワーOFFシーケンスによる本実施例表示装置のパワーOFFシーケンスのタイミングチャートを図63に示す。図63に示す例はAFC信号が消勢したAFC検知による割り込みルーチンよりの場合を例として示している。   FIG. 63 shows a timing chart of the power OFF sequence of the display device of this example using this power OFF sequence. The example shown in FIG. 63 shows a case from an interrupt routine based on AFC detection in which the AFC signal is deactivated.

本実施例においては、FLCDインタフェース2とFLCD3とは、シリアル通信により各種制御データ等を通信しており、このために、FLCD3のシステムコントローラ160は以下の通信制御を行っている。   In this embodiment, the FLCD interface 2 and the FLCD 3 communicate various control data and the like by serial communication. For this purpose, the system controller 160 of the FLCD 3 performs the following communication control.

通常描画中であるNormalモードにおいては、1H毎に内蔵するRAM162の受信バッファと送信バッファをポーリングしている。そして静止状態であるStaticモード、全黒消去中であるSleepモード及び回復不可能エラー状態時等のWaitモードにおいては、シリアル通信送受信処理とバッファからの送信が終了する毎に受信バッファと送信バッファをポーリングする。   In the normal mode during normal drawing, the reception buffer and transmission buffer of the RAM 162 built-in are polled every 1H. In the static mode, the static mode, the sleep mode in which all blacks are being erased, and the wait mode, such as in an unrecoverable error state, the reception buffer and the transmission buffer are set each time serial communication transmission / reception processing and transmission from the buffer are completed. Poll.

はじめに受信バッファを確認し、新しい受信データがある場合には以下に説明する受信処理を行う。ついで、送信データバッファに送信データがある場合には送信処理を行う。   First, the reception buffer is checked. If there is new reception data, the reception process described below is performed. Next, when there is transmission data in the transmission data buffer, transmission processing is performed.

以上の処理において、通常描画の場合において、ポーリングまではFLCDパネル150の駆動と同時に行うが、受信処理又は送信バッファからの送信処理を行う場合には、駆動を停止した後にこれらの対応する処理を行う。なお、電源ONからUnitReady Attention発行までの間と、自己診断実施中は、送受信コマンドや受信したコマンドに対する処理は行わず、係る処理の終了後に行う。   In the above processing, in the case of normal drawing, until the polling is performed simultaneously with the driving of the FLCD panel 150, when the reception processing or the transmission processing from the transmission buffer is performed, the corresponding processing is performed after the driving is stopped. Do. It should be noted that during the period from when the power is turned on to when the unit ready attention is issued and during the self-diagnosis, processing for the transmission / reception command and the received command is not performed, but is performed after the end of the processing.

通信制御手順は上述した通りであるため、ここで再度の説明は行わないが、FLCD3の内部処理においては以下の様に動作する。   Since the communication control procedure is as described above, it will not be described again here, but the internal processing of the FLCD 3 operates as follows.

即ち、コマンドを受信した場合には、FLCDパネル150の駆動を停止し、受信したコマンドの処理とステータスの送信を行うことになるが、この際、送信したステータスは上述したフローチャートで示した様に次のコマンドを受信するまでの間ポインタを操作しないため、ステータスも次のコマンドを受信するまで保持されることになる。従って再送する必要が生じた場合にも特別の操作などを行わずに速やかに再送することができる。この間のFLCD3の内部処理の状態を図64に示す。   That is, when a command is received, the driving of the FLCD panel 150 is stopped, and the received command is processed and the status is transmitted. At this time, the transmitted status is as shown in the flowchart above. Since the pointer is not operated until the next command is received, the status is also held until the next command is received. Therefore, even when it is necessary to retransmit, it can be retransmitted promptly without performing any special operation. The state of the internal processing of the FLCD 3 during this period is shown in FIG.

また、アテンション発行を起動要因としてシリアル通信を行う場合においても、アテンション状態が、アテンション発行からアテンション状態を解消するコマンド(ClearAttntion)を受信するまで設定され、この間は特定コマンドのみに応答する。アテンション事象の詳細情報(AttentionInformation)はアテンションの間保持される。この間のFLCD3の内部処理の状態を図65に示す。   Also, even when serial communication is performed using attention issuance as an activation factor, the attention state is set until a command (ClearAttention) for canceling the attention state is received from the attention issuance, and only a specific command is responded during this time. Detailed information (AttentionInformation) of the attention event is held during the attention. FIG. 65 shows the internal processing state of the FLCD 3 during this time.

更に、アテンション状態の間にコマンドを受信した場合には、受信したコマンドに対するステータスは、アテンション状態が解消された後に送信される。また、特定コマンドに対するSendedStatusの保持は行われず、直前のものが更新されずに保持される様に制御する。この間のFLCD3の内部処理の状態を図66に示す。   Further, when a command is received during the attention state, the status for the received command is transmitted after the attention state is resolved. Also, the control is performed so that the Sended Status for the specific command is not held, and the immediately preceding one is held without being updated. The internal processing state of the FLCD 3 during this period is shown in FIG.

以上の送信イメージとステータス等の送信データバッファへのバッファリング制御を説明すると、本実施例のFLCD3は、ステータス及びアテンションの送信に対し、送信データに加え、送信の優先順位と送信後の保持動作情報、及びアテンション事象の詳細情報(AttentionInformation)を含む送信イメージを設定する。そして、直前の送信が終了していない場合や、アテンションの終了していない場合は、優先順位に従いバッファリングを行い、送信が可能になった段階で送信及び保持動作を行う。   The buffering control to the transmission data buffer such as the transmission image and the status will be described. The FLCD 3 of the present embodiment, in addition to the transmission data for the transmission of the status and the attention, the transmission priority and the holding operation after the transmission A transmission image including information and detailed information (AttentionInformation) of an attention event is set. If the previous transmission has not ended or the attention has not ended, buffering is performed according to the priority order, and transmission and holding operations are performed when transmission is possible.

以上の処理における本実施例の送信イメージの例を図67に、送信イメージにおける優先順位の設定例を図68に示す。   An example of the transmission image of the present embodiment in the above processing is shown in FIG. 67, and an example of setting the priority order in the transmission image is shown in FIG.

また、本実施例においては、シリアル通信のコマンドによりFLCD3のメモリ空間へのアクセスが可能であり、ROM161のメモリ空間の読み出し/RAM162のメモリ空間に対する読み書きが可能である。この際、通信によりアクセスできるメモリ空間をアクセス空間、ROM161およびRAM162内の実際のアドレス空間を実アドレス空間と定義すると、本実施例においてはシリアル通信時における伝送量の減少化のためにメモリアクセスの写像化を行っており、通信によるアクセスでは実アドレス空間を認識することができない。そして、アクセス空間64Kバイトは、16Mバイトの実アドレス空間の任意のアドレスへ4Kバイト単位で写像される構成としている。   In the present embodiment, the memory space of the FLCD 3 can be accessed by a serial communication command, and the memory space of the ROM 161 can be read / written to / from the memory space of the RAM 162. At this time, if a memory space accessible by communication is defined as an access space, and an actual address space in the ROM 161 and RAM 162 is defined as a real address space, in this embodiment, memory access is reduced in order to reduce the amount of transmission during serial communication. Since mapping is performed, the real address space cannot be recognized by communication access. The access space of 64 Kbytes is mapped to an arbitrary address in the 16 Mbyte real address space in units of 4 Kbytes.

この本実施例のFLCD3のメモリアクセスの写像化を以下図69を参照してに説明する。   The mapping of memory access of the FLCD 3 of this embodiment will be described below with reference to FIG.

シリアル通信によるコマンドでの指定アドレス空間は1001に示す16ビットであり、この内の下位12ビットを実アドレス空間の下位12ビットとして使用し、残りの上位4ビットを属性テーブル1002へのポインタとして用いている。本実施例では、属性テーブル1002は全部で16ワードの構成となっており、4ビットで指定可能となっている。   The designated address space in the command by the serial communication is 16 bits shown in 1001, and the lower 12 bits are used as the lower 12 bits of the real address space, and the remaining upper 4 bits are used as a pointer to the attribute table 1002. ing. In this embodiment, the attribute table 1002 has a total structure of 16 words and can be specified by 4 bits.

この属性テーブル1002は、1003に示す様に実アドレス空間で4Kバイト単位に区切られたブロックを指定する12ビットの実アドレス部分と、各ブロックの読み出し/書き込み属性を指定する4ビットの部分とより構成されている。   This attribute table 1002 includes a 12-bit real address portion that designates a block partitioned in units of 4 Kbytes in the real address space, and a 4-bit portion that designates the read / write attribute of each block, as indicated by 1003. It is configured.

以上の様に属性テーブルを用いて写像化を行っているため、少ない通信量でより大容量の実アドレス空間をアクセスでき、通信効率が向上する。   Since mapping is performed using the attribute table as described above, a larger capacity real address space can be accessed with a small amount of communication, and communication efficiency is improved.

以下、以上の制御を伴う本実施例の上述したシリアル通信処理を図70〜図97を参照して以下に説明する。まず、図70〜図95を参照して図31のステップS190におけるSC受信処理ルーチンを説明する。   Hereinafter, the above-described serial communication processing of the present embodiment with the above control will be described below with reference to FIGS. First, the SC reception processing routine in step S190 of FIG. 31 will be described with reference to FIGS.

SC受信処理においては、まず図70のステップS430で受信データがあるか否かを調べる。ここで、受信データがなければそのままリターンする。一方、受信データがある場合にはステップS430よりステップS431に進み、正常受信であったか否かを調べる。正常受信でなければステップS432に進み、エラー内容に従ってエラーステータスを選択し、続くステップS433で選択したエラーステータスのFLCDインタフェース2への送信処理を実行する。   In the SC reception process, first, it is checked whether or not there is reception data in step S430 of FIG. Here, if there is no reception data, it returns as it is. On the other hand, if there is received data, the process proceeds from step S430 to step S431, and it is checked whether the reception is normal. If it is not normal reception, it progresses to step S432, an error status is selected according to the error content, and the transmission process of the error status selected in subsequent step S433 to the FLCD interface 2 is executed.

一方、ステップS431において、正常受信であった場合にはステップS434に進み、受信コマンドの上位4ビットを調べてコマンド種類を判別する。そしてステップS436でコマンドの要求に応じて以下の図71〜図82に示す処理のいずれか1つを実行する。その後処理を終了してリターンする。   On the other hand, if the reception is normal in step S431, the process proceeds to step S434, where the upper 4 bits of the received command are examined to determine the command type. In step S436, one of the following processes shown in FIGS. 71 to 82 is executed in response to a command request. After that, the process ends and returns.

次に、ステップS436の受信コマンドに対応した処理を説明する。   Next, processing corresponding to the received command in step S436 will be described.

ステップS434で上位4ビットが(0x)hの場合には図71の処理を実行する。まずステップS440で残る下位4ビットを調べてさらにコマンド種類を判別して、SC受信処理ルーチン3においてコマンドの要求に応じた処理を実行してリターンする。このSC受信処理3については後述する。   If the upper 4 bits are (0x) h in step S434, the processing of FIG. 71 is executed. First, in step S440, the remaining lower 4 bits are checked to further determine the command type, and in the SC reception processing routine 3, processing corresponding to the command request is executed and the process returns. The SC reception process 3 will be described later.

ステップS434で上位4ビットが(1x)hの場合には、図72の処理を実行する。この場合にはFLCD3の自己診断の指示であるため、まずステップS445で上述した図21に示す自己診断ルーチンを実行する。そして、続くステップS446で自己診断の結果によりステータスを選択し、ステップS447でFLCD2へ送信する。そして当該処理を終了してリターンする。   If the upper 4 bits are (1x) h in step S434, the processing of FIG. 72 is executed. In this case, since it is an instruction for self-diagnosis of the FLCD 3, first, the above-described self-diagnosis routine shown in FIG. 21 is executed in step S445. In step S446, the status is selected based on the result of self-diagnosis, and is transmitted to the FLCD 2 in step S447. Then, the process ends and returns.

ステップS434で上位4ビットが(2x)hの場合には、図73の処理を実行する。この場合にはホストのIDを通知するコマンドであるため、まずステップS450で受信したホストのIDが予め認められたものであるか否かを調べる。ここで、ホスト側(FLCDインタフェース2側)より送られたホストのIDが予め認められたもの、即ち接続を許されたものである場合にはステップS451に進み、この送られてきたホストのIDを所定の記憶領域に格納する。そして続くステップS452で正常終了ステータスを選択して生成し、ステップS453で送信する。そして当該処理を終了する。   If the upper 4 bits are (2x) h in step S434, the processing of FIG. 73 is executed. In this case, since this is a command for notifying the host ID, it is first checked whether or not the host ID received in step S450 is recognized in advance. If the host ID sent from the host side (FLCD interface 2 side) is recognized in advance, that is, if the connection is permitted, the process proceeds to step S451, where the sent host ID is sent. Are stored in a predetermined storage area. In step S452, the normal end status is selected and generated, and transmitted in step S453. Then, the process ends.

一方、ステップS450でホストのIDが予め認められたものでない場合にはステップS450よりステップS454に進み、異常終了ステータス(定義外ホストID)を選択して生成し、ステップS453に進んでこれをFLCDインタフェース2に送信する。   On the other hand, if the host ID is not recognized in advance in step S450, the process proceeds from step S450 to step S454 to select and generate an abnormal end status (undefined host ID), and the process proceeds to step S453 to display the FLCD. Sent to interface 2

ステップS434で上位4ビットが(3x)hの場合には、図74の処理を実行する。この場合にはFLCD3の表示モードの切り換え指示であるため、ステップS455でまず遷移コードでコール先を判別し、ステップS456で上述した動作モードルーチンを実行する。そして、表示モードを通常表示、スタティク表示、およびスリーブの3モードの内より判別した表示モードに設定する。そして当該処理を終了してリターンする。   If the upper 4 bits are (3x) h in step S434, the processing of FIG. 74 is executed. In this case, since it is an instruction to switch the display mode of the FLCD 3, the call destination is first determined by the transition code in step S455, and the operation mode routine described above is executed in step S456. Then, the display mode is set to a display mode determined from the three modes of normal display, static display, and sleeve. Then, the process ends and returns.

ステップS434で上位4ビットが(4x)hの場合には、図75の処理を実行する。この場合にはFLCD3をマルチ駆動モードに設定するコマンドであるため、まずステップS460でコマンドと共に送られてくるMultiValueを取り込んで格納する。そしてステップS461でマスクパターン1を表引きして格納し、続くステップS462でマスクパターン2を表引きして格納する。そしてステップS463で正常終了ステータスを選択して生成し、ステップS464で送信する。そして当該処理を終了する。   If the upper 4 bits are (4x) h in step S434, the processing of FIG. 75 is executed. In this case, since this is a command for setting the FLCD 3 to the multi-drive mode, first, the MultiValue sent together with the command is captured and stored in step S460. In step S461, mask pattern 1 is tabulated and stored, and in step S462, mask pattern 2 is tabulated and stored. In step S463, a normal end status is selected and generated, and transmitted in step S464. Then, the process ends.

一方、通常のユーザ使用状態である場合においては、ステップS434で上位4ビットが(4x)h以上であった場合には、図76の処理に移行し、ステップS465で定義外コマンドを示すエラー終了を送出してリターンする。これは、(8x)h以上のコマンドはデバック用であり、一般ユーザにおけるアプリケーションプログラムによる使用状態時には、用いないものであるからである。   On the other hand, in the case of a normal user use state, if the upper 4 bits are (4x) h or more in step S434, the process proceeds to FIG. 76, and an error end indicating an undefined command is completed in step S465. To return. This is because a command of (8x) h or more is for debugging, and is not used when the general user is using the application program.

ただし、不図示の保守モード(デバックモード)への設定時においては、(8x)h以上のコマンドであってもデバック様に用いる必要があり、係る場合には図76に進む処理は行わず、図77〜図82に示す処理を実行可能に構成されている。以下、この保守モード時のSC受信処理を説明する。この場合には以上の図71〜ス75の処理に加え、以下の各コマンド受信および対応処理を実行する。   However, at the time of setting to a maintenance mode (debug mode) (not shown), it is necessary to use even a command of (8x) h or more, and in such a case, the process proceeding to FIG. 76 is not performed. The processing shown in FIGS. 77 to 82 is configured to be executable. Hereinafter, the SC reception process in the maintenance mode will be described. In this case, in addition to the processes in FIGS. 71 to 75, the following command reception and corresponding processes are executed.

ステップS434で上位4ビットが(8x)hの場合には、図77の処理を実行する。この場合には、FLCD3のメモリ(RAM162)に上位データを書き込むことを指示するWriteHightMemoryコマンドである。このためまずステップS470で指示されたメモリの実アドレス空間が書き込み可能か否かを判断する。このコマンド実行の前提として、後述するSetHH/MH/ML/LLAdorressコマンドによってデータを書き込むべきメモリアドレスのセットが行われていることが必須であり、この先のアドレスセット時に受信した図69に符号1001で示すアドレスのうち、属性テーブル指定情報により指定された属性テーブルの書き込み可能か否かを指示するステータスビットを調べることにより行なう。   If it is determined in step S434 that the upper 4 bits are (8x) h, the processing in FIG. 77 is executed. In this case, it is a WriteHighMemory command for instructing to write upper data to the memory (RAM 162) of the FLCD 3. For this reason, it is first determined whether or not the real address space of the memory designated in step S470 is writable. As a premise of this command execution, it is essential that the memory address to which data is to be written is set by the SetHH / MH / ML / LLAdress command to be described later. Reference numeral 1001 in FIG. Among the indicated addresses, this is done by examining a status bit that indicates whether or not the attribute table designated by the attribute table designation information can be written.

書き込みが可能な場合にはステップS471に進み、セットされている実アドレス空間上のデータをいったんロードする。そしてステップS472で上位4ビットに受信データをセットし、ステップS473でセットされている実アドレス空間に再びこのデータを格納する。その後ステップS474で正常終了ステータスを選択し、ステップS475に進む。そしてステップS475でこの選択したステータスをFLCDインタフェース2に送信する。そして当該処理を終了してリターンする。   If writing is possible, the process proceeds to step S471, where data in the set real address space is once loaded. In step S472, the received data is set in the upper 4 bits, and this data is stored again in the real address space set in step S473. Thereafter, a normal end status is selected in step S474, and the flow advances to step S475. In step S475, the selected status is transmitted to the FLCD interface 2. Then, the process ends and returns.

一方、ステップS470で属性を調べた結果、書き込む可能でない場合にはステップS476に進み、書込不能ステータスを選択し、ステップS475に進む。そしてステップS475でこの選択したステータスをFLCDインタフェース2に送信する。そして当該処理を終了してリターンする。   On the other hand, as a result of examining the attribute in step S470, if writing is not possible, the process proceeds to step S476, the write-impossible status is selected, and the process proceeds to step S475. In step S475, the selected status is transmitted to the FLCD interface 2. Then, the process ends and returns.

また、ステップS434で上位4ビットが(9x)hの場合には、図78の処理を実行する。この場合には、FLCD3のメモリ(RAM162)に下位データを書き込むことを指示するSetLowMemoryコマンドであるため、まずステップS480でステップS470と同様にして指示されたメモリの実アドレス空間が書き込み可能か否かを判断する。   If the upper 4 bits are (9x) h in step S434, the process of FIG. 78 is executed. In this case, since it is a SetLowMemory command for instructing to write lower data to the memory (RAM 162) of the FLCD 3, first, in step S480, whether or not the real address space of the instructed memory is writable is the same as in step S470. Judging.

書き込みが可能な場合にはステップS481に進み、セットされている実アドレス空間上のデータをいったんロードする。そしてステップS482で下位4ビットに受信データをセットし、ステップS483でセットされている実アドレス空間アドレス位置に再びこのデータを格納する。その後ステップS484で正常終了ステータスを選択し、ステップS485に進む。そしてステップS485でこの選択したステータスをFLCDインタフェース2に送信する。そして当該処理を終了してリターンする。   If writing is possible, the process proceeds to step S481, and data in the set real address space is once loaded. In step S482, the received data is set in the lower 4 bits, and this data is stored again in the real address space address position set in step S483. Thereafter, a normal end status is selected in step S484, and the process proceeds to step S485. In step S485, the selected status is transmitted to the FLCD interface 2. Then, the process ends and returns.

一方、ステップS480で属性を調べた結果、書き込む可能でない場合にはステップS486に進み、書込不能ステータスを選択し、ステップS485に進む。そしてステップS485でこの選択したステータスをFLCDインタフェース2に送信する。そして当該処理を終了してリターンする。   On the other hand, as a result of examining the attribute in step S480, if writing is not possible, the process proceeds to step S486, the write-impossible status is selected, and the process proceeds to step S485. In step S485, the selected status is transmitted to the FLCD interface 2. Then, the process ends and returns.

また、ステップS434で上位4ビットが(ax)hの場合には、図79の処理を実行する。この場合には、上述したデータの書き込みを含むFLCD3のメモリアドレスのうちのアドレスビットの上位4ビット(A15−A12)をセットするコマンドであるため、まずステップS490で受信したコマンドのOPコードに含まれる4ビットの受信データを、アクセス空間アドレスの15−12ビットにセットして格納する。   If it is determined in step S434 that the upper 4 bits are (ax) h, the processing in FIG. 79 is executed. In this case, since it is a command for setting the upper 4 bits (A15-A12) of the address bits of the memory address of the FLCD 3 including the above-described data writing, it is first included in the OP code of the command received in step S490. The received 4-bit data is set in the 15-12 bits of the access space address and stored.

そしてこの場合には属性テーブルの指示であるためステップS491で実アドレス空間アドレスをロードし、実アドレス空間アドレスの23−12ビットをクリアする。続いてステップS493で受信データから属性テーブルを引き、続くステップS494で属性データの15ー4ビットを実アドレス空間アドレスの23−12ビットに格納する。そして、属性データの読み出し書き込み属性を格納する。   In this case, since it is an instruction of the attribute table, the real address space address is loaded in step S491, and bits 23-12 of the real address space address are cleared. In step S493, the attribute table is subtracted from the received data, and in step S494, 15-4 bits of the attribute data are stored in 23-12 bits of the real address space address. Then, the attribute data read / write attribute is stored.

その後ステップS497で正常終了ステータスを選択し、ステップS498に進む。そしてステップS498でこの選択したステータスをFLCDインタフェース2に送信する。そして当該処理を終了してリターンする。   Thereafter, a normal end status is selected in step S497, and the flow advances to step S498. In step S498, the selected status is transmitted to the FLCD interface 2. Then, the process ends and returns.

また、ステップS434で上位4ビットが(bx)hの場合には、図80の処理を実行する。この場合には、上述したデータの書き込みを含むFLCD3のメモリアドレスのうちのアドレスビットの中上位4ビット(A11−A8)をセットするコマンドであるため、まずステップS500で受信したコマンドのOPコードに含まれる4ビットの受信データを、アクセス空間アドレスの11−8ビットにセットして格納する。   If it is determined in step S434 that the upper 4 bits are (bx) h, the processing in FIG. 80 is executed. In this case, since the upper 4 bits (A11-A8) of the address bits of the memory address of the FLCD 3 including the data writing described above are set, the OP code of the command received in step S500 is first set. The included 4-bit received data is stored in the 11-8 bits of the access space address.

そしてステップS501で実アドレス空間アドレスの11−8ビットに受信データをセットして格納する。続いてステップS502で正常終了ステータスを選択し、ステップS503に進む。そしてステップS503でこの選択したステータスをFLCDインタフェース2に送信する。そして当該処理を終了してリターンする。   In step S501, the received data is set and stored in the 11-8 bits of the real address space address. Subsequently, a normal end status is selected in step S502, and the process proceeds to step S503. In step S503, the selected status is transmitted to the FLCD interface 2. Then, the process ends and returns.

また、ステップS434で上位4ビットが(cx)hの場合には、図81の処理を実行する。この場合には、上述したデータの書き込みを含むFLCD3のメモリアドレスのうちのアドレスビットの中下位4ビット(A7−A4)をセットするコマンドであるため、まずステップS505で受信したコマンドのOPコードに含まれる4ビットの受信データを、アクセス空間アドレスの7−4ビットにセットして格納する。   If it is determined in step S434 that the upper 4 bits are (cx) h, the processing in FIG. 81 is executed. In this case, since this is a command for setting the lower and middle 4 bits (A7-A4) of the address bits of the memory address of the FLCD 3 including the above-described data writing, the OP code of the command received in step S505 is first used. The included 4-bit received data is stored in the 7-4 bits of the access space address.

そしてステップS506で実アドレス空間アドレスの7−4ビットに受信データをセットして格納する。続いてステップS507で正常終了ステータスを選択し、ステップS508に進む。そしてステップS508でこの選択したステータスをFLCDインタフェース2に送信する。そして当該処理を終了してリターンする。   In step S506, the received data is set and stored in 7-4 bits of the real address space address. Subsequently, the normal end status is selected in step S507, and the process proceeds to step S508. In step S508, the selected status is transmitted to the FLCD interface 2. Then, the process ends and returns.

更に、ステップS434で上位4ビットが(dx)hの場合には、図82の処理を実行する。この場合には、上述したデータの書き込みを含むFLCD3のメモリアドレスのうちのアドレスビットの下位4ビット(A3−A0)をセットするコマンドであるため、まずステップS510で受信したコマンドのOPコードに含まれる4ビットの受信データを、アクセス空間アドレスの3−0ビットにセットして格納する。   Furthermore, when the upper 4 bits are (dx) h in step S434, the processing of FIG. 82 is executed. In this case, since it is a command for setting the lower 4 bits (A3-A0) of the address bits of the memory address of the FLCD 3 including the above-described data writing, it is first included in the OP code of the command received in step S510. The received 4-bit received data is stored in the 3-0 bits of the access space address.

そしてステップS511で実アドレス空間アドレスの3−0ビットに受信データをセットして格納する。続いてステップS512で正常終了ステータスを選択し、ステップS513に進む。そしてステップS513でこの選択したステータスをFLCDインタフェース2に送信する。そして当該処理を終了してリターンする。   In step S511, the received data is set and stored in the 3-0 bits of the real address space address. Subsequently, a normal end status is selected in step S512, and the process proceeds to step S513. In step S513, the selected status is transmitted to the FLCD interface 2. Then, the process ends and returns.

以上のアドレスセットコマンドにより図69に示すアドレス写像化による実アドレス空間指定が実現し、上述したデータセットコマンドによりFLCDインタフェース2側で自由にFLCD3のメモリの内容をアクセスすることができ、例えばこれを利用して容易にFLCDの制御プログラムを書き換えることも可能であり、制御プログラムのバージョンアップにも極めて容易に対処できる。   The real address space designation by address mapping shown in FIG. 69 is realized by the above address set command, and the contents of the memory of the FLCD 3 can be freely accessed on the FLCD interface 2 side by the above-described data set command. It is possible to easily rewrite the control program of the FLCD by using it, and it is very easy to cope with version upgrade of the control program.

また、以上の保守モード時のメモリ内容の読み出し処理については後述する。   Further, the memory content reading process in the maintenance mode will be described later.

上述したステップS434で上位4ビットが(0x)hでステップS441のSC受信処理ルーチン3を実行する場合の詳細を説明する。この場合には、下位4ビットの値により図83〜図95の処理を実行することになる。以下、下位4ビットの値に従った説明を行う。   Details of the case where the SC reception processing routine 3 of step S441 is executed when the upper 4 bits are (0x) h in step S434 described above will be described. In this case, the processes of FIGS. 83 to 95 are executed according to the value of the lower 4 bits. Hereinafter, description will be made according to the value of the lower 4 bits.

ステップS440で下位4ビットが0で合計8ビットが(00)hの場合には、FLCD3のユニットのID要求コマンドであるため、図83の処理に移行する。まずステップS520でFLCD3のユニットIDをステータスに設定する。そしてステップS521でこのステータスをFLCDインタフェース2に送信し、当該処理を終了してリターンする。   If it is determined in step S440 that the lower 4 bits are 0 and the total 8 bits are (00) h, this is an ID request command for the unit of the FLCD 3, and the process proceeds to FIG. First, in step S520, the unit ID of the FLCD 3 is set to the status. In step S521, this status is transmitted to the FLCD interface 2, and the processing ends and returns.

一方、ステップS440で下位4ビットが1で合計8ビットが(01)hの場合には、FLCD3のユニットの1H要求コマンドであるため図84の処理に移行する。そして、ステップS525でFLCD3の現在の1HCodeをステータスに設定する。そしてステップS526でこのステータスをFLCDインタフェース2に送信し、当該処理を終了してリターンする。   On the other hand, if the lower 4 bits are 1 and the total of 8 bits is (01) h in step S440, it is a 1H request command for the unit of the FLCD 3, and the process proceeds to FIG. In step S525, the current 1HCode of the FLCD 3 is set as the status. In step S526, this status is transmitted to the FLCD interface 2, and the processing ends and returns.

一方、ステップS440で下位4ビットが2で合計8ビットが(02)hの場合には、FLCD3のユニットを起動すると共に、BUSY信号を出力させることを要求するコマンドであるため図85の処理に移行する。そして、ステップS530でFLCD3の現在の動作モードが待機状態であるか否かを調べる。ここで、待機状態でなければステップS531に進み、動作モードを設定する。続いてステップS532で正常終了ステータスを選択し、ステップS533に進む。そしてステップS533でこの選択したステータスをFLCDインタフェース2に送信する。そして当該処理を終了してリターンする。   On the other hand, if the lower 4 bits are 2 and the total 8 bits are (02) h in step S440, this command is a command to start the FLCD 3 unit and output the BUSY signal. Transition. In step S530, it is checked whether or not the current operation mode of the FLCD 3 is a standby state. Here, if not in the standby state, the process proceeds to step S531, and the operation mode is set. Subsequently, a normal end status is selected in step S532, and the process proceeds to step S533. In step S533, the selected status is transmitted to the FLCD interface 2. Then, the process ends and returns.

一方、ステップS530で現在の動作モードが待機状態である場合にはステップS534に進み、既にスタート状態であるエラー終了を設定し、ステップS533に進む。そしてステップS533でこの設定したステータスをFLCDインタフェース2に送信してリターンする。   On the other hand, if the current operation mode is the standby state in step S530, the process proceeds to step S534, an error end that is already in the start state is set, and the process proceeds to step S533. In step S533, the set status is transmitted to the FLCD interface 2 and the process returns.

一方、ステップS440で下位4ビットが3で合計8ビットが(03)hの場合には、アテンション情報の要求コマンドであるため図86の処理に移行する。そして、ステップS535でFLCD3の状態がアテンション状態であるか否かを調べる。現在アテンション状態であればステップS536に進み、アテンション情報を設定する。続いてステップS537でこの設定したアテンション情報をFLCDインタフェース2に送信する。そして当該処理を終了してリターンする。   On the other hand, if the lower 4 bits are 3 and the total of 8 bits is (03) h in step S440, the request is a request command for attention information, and the process proceeds to FIG. In step S535, it is checked whether the state of the FLCD 3 is an attention state. If the current state is the attention state, the process proceeds to step S536 to set attention information. In step S537, the set attention information is transmitted to the FLCD interface 2. Then, the process ends and returns.

一方、ステップS535で現在アテンション状態でない場合にはステップS538に進み、アテンション状態でないエラー終了を設定し、ステップS537でこの設定したステータスをFLCDインタフェース2に送信してリターンする。   On the other hand, if the current state is not the attention state in step S535, the process proceeds to step S538 to set an error end that is not the attention state. In step S537, the set status is transmitted to the FLCD interface 2 and the process returns.

一方、ステップS440で下位4ビットが4で合計8ビットが(04)hの場合には、アテンションステータスビットの要求コマンドであるため図87の処理に移行する。そして、ステップS540でFLCD3の状態がアテンション状態であるか否かを調べる。現在アテンション状態であればステップS541に進み、アテンションビットを設定する。続いてステップS542でこの設定したアテンションステータスビットをFLCDインタフェース2に送信する。そして当該処理を終了してリターンする。   On the other hand, if the lower 4 bits are 4 and the total of 8 bits is (04) h in step S440, the process proceeds to the processing of FIG. 87 because it is an attention status bit request command. In step S540, it is checked whether or not the state of the FLCD 3 is an attention state. If the current state is the attention state, the process proceeds to step S541 to set the attention bit. In step S542, the set attention status bit is transmitted to the FLCD interface 2. Then, the process ends and returns.

一方、ステップS540で現在アテンション状態でない場合にはステップS543に進み、アテンション状態でないエラー終了を設定し、ステップS542でこの設定したステータスをFLCDインタフェース2に送信してリターンする。   On the other hand, if the current state is not an attention state in step S540, the process proceeds to step S543 to set an error end that is not an attention state. In step S542, the set status is transmitted to the FLCD interface 2 and the process returns.

一方、ステップS440で下位4ビットが5で合計8ビットが(05)hの場合には、FLCD2の表示モード(通常表示モード、スタティクモード、スリープモード)を要求するコマンドであるため図88の処理に移行する。そして、ステップS545でFLCD3の現在の表示モードが上述したいずれの表示モードであるかをステータスに設定する。そしてステップS546でこのステータスをFLCDインタフェース2に送信し、当該処理を終了してリターンする。   On the other hand, if the lower 4 bits are 5 and the total 8 bits are (05) h in step S440, this is a command for requesting the display mode (normal display mode, static mode, sleep mode) of FLCD 2, so that FIG. Transition to processing. In step S545, the current display mode of the FLCD 3 is set as the above-described display mode in the status. In step S546, this status is transmitted to the FLCD interface 2, and the process ends and the process returns.

一方、ステップS440で下位4ビットが6で合計8ビットが(06)hの場合には、コマンドに対するステータスを要求するコマンドであるため図89の処理に移行する。そして、ステップS550でFLCD3の状態がコマンド保持状態であるか否かを調べる。現在コマンド保持状態であればステップS551に進み、保持しているコマンドをステータスに設定する。続いてステップS552でこの設定したステータスをFLCDインタフェース2に送信する。そして当該処理を終了してリターンする。   On the other hand, if the lower 4 bits are 6 and the total 8 bits are (06) h in step S440, the command requests a status for the command, and the process proceeds to FIG. In step S550, it is checked whether the state of the FLCD 3 is a command holding state. If the command is currently held, the process advances to step S551 to set the held command as the status. In step S552, the set status is transmitted to the FLCD interface 2. Then, the process ends and returns.

一方、ステップS550で現在コマンド保持状態でない場合にはステップS553に進み、ステータスを設定してステップS552に進む。そしてこのステップS552で設定したエラーステータスをFLCDインタフェース2に送信してリターンする。   On the other hand, if it is determined in step S550 that the command is not currently held, the process proceeds to step S553, the status is set, and the process proceeds to step S552. The error status set in step S552 is transmitted to the FLCD interface 2 and the process returns.

一方、ステップS440で下位4ビットが8で合計8ビットが(08)hの場合、および下位4ビットが9で合計8ビットが(09)hの場合には、FLCD3のメモリの上位4ビットの内容をFLCDインタフェース2側で読み出すコマンドである。これは、上述した上位4ビットが8〜dの場合と同様にデバック用のコマンドである。   On the other hand, in step S440, when the lower 4 bits are 8 and the total 8 bits are (08) h, and when the lower 4 bits are 9 and the total 8 bits are (09) h, the upper 4 bits of the memory of the FLCD 3 This is a command for reading the contents on the FLCD interface 2 side. This is a debugging command, as in the case where the upper 4 bits are 8 to d described above.

ステップS440で下位4ビットが8で合計8ビットが(08)hの場合には、FLCD3のメモリの上位4ビットの内容を読み込むコマンドであり図90の処理に移行する。ステップS555で指示されたメモリの実アドレス空間が読み出し可能か否かを判断する。このコマンド実行の前提として後述するSetHH/MH/ML/LLAdorressコマンドによるデータを書き込むべきメモリアドレスのセットが行われていることが必須であり、この先のアドレスセット時に受信した図69に符号1001で示すアドレスのうち、コマンド中の属性テーブル指定情報により指定された属性テーブルの読み出し可能か否かを指示するステータスビットを調べることにより行なう。   If the lower 4 bits are 8 and the total 8 bits are (08) h in step S440, this is a command for reading the contents of the upper 4 bits of the memory of the FLCD 3, and the process proceeds to the processing of FIG. In step S555, it is determined whether or not the real address space of the memory instructed can be read. As a precondition for executing this command, it is essential that a memory address to which data is to be written is set by a SetHH / MH / ML / LLA dress command, which will be described later, and is shown by reference numeral 1001 in FIG. This is done by checking a status bit that indicates whether or not the attribute table specified by the attribute table specification information in the command can be read.

読み出しが可能な場合にはステップS556に進み、セットされている実アドレス空間上のデータをロードする。そしてステップS557で上位4ビットをステータスに設定する。続いてステップS558でこの設定したステータスをFLCDインタフェース2に送信する。そして当該処理を終了してリターンする。   If reading is possible, the process proceeds to step S556, and the data in the set real address space is loaded. In step S557, the upper 4 bits are set in the status. In step S558, the set status is transmitted to the FLCD interface 2. Then, the process ends and returns.

一方、ステップS555で属性を調べた結果、読み出し可能でない場合にはステップS559に進み、読み出し不能ステータスを選択し、ステップS558でこの選択したステータスをFLCDインタフェース2に送信する。そして当該処理を終了してリターンする。   On the other hand, if the attribute is not readable as a result of checking in step S555, the process proceeds to step S559 to select a readable status, and the selected status is transmitted to the FLCD interface 2 in step S558. Then, the process ends and returns.

また、ステップS440で下位4ビットが9で合計8ビットが(09)hの場合には、FLCD3のメモリの下位4ビットの内容を読み込むコマンドであり図91の処理に移行する。ステップS560で指示されたメモリの実アドレス空間が読み出し可能か否かを判断する。このコマンド実行の前提として後述するSetHH/MH/ML/LLAdorressコマンドによるデータを書き込むべきメモリアドレスのセットが行われていることが必須であり、この先のアドレスセット時に受信した図69に符号1001で示すアドレスのうち、コマンド中の属性テーブル指定情報により指定された属性テーブルの読み出し可能か否かを指示するステータスビットを調べることにより行なう。   If the lower 4 bits are 9 and the total 8 bits are (09) h in step S440, the command reads the contents of the lower 4 bits of the memory of the FLCD 3, and the process proceeds to FIG. 91. In step S560, it is determined whether or not the real address space of the memory instructed can be read. As a precondition for executing this command, it is essential that a memory address to which data is to be written is set by a SetHH / MH / ML / LLA dress command, which will be described later, and is shown by reference numeral 1001 in FIG. This is done by checking a status bit that indicates whether or not the attribute table specified by the attribute table specification information in the command can be read.

読み出しが可能な場合にはステップS561に進み、セットされている実アドレス空間上のデータをロードする。そしてステップS562で下位4ビットをステータスに設定する。続いてステップS563でこの設定したステータスをFLCDインタフェース2に送信する。そして当該処理を終了してリターンする。   If the data can be read, the process advances to step S561 to load data in the set real address space. In step S562, the lower 4 bits are set in the status. In step S563, the set status is transmitted to the FLCD interface 2. Then, the process ends and returns.

一方、ステップS560で属性を調べた結果、読み出し可能でない場合にはステップS564に進み、読み出し不能ステータスを選択し、ステップS563でこの選択したステータスをFLCDインタフェース2に送信する。そして当該処理を終了してリターンする。   On the other hand, as a result of examining the attribute in step S560, if it is not readable, the process proceeds to step S564, where the unreadable status is selected, and the selected status is transmitted to the FLCD interface 2 in step S563. Then, the process ends and returns.

一方、ステップS440で下位4ビットがaで合計8ビットが(0a)hの場合には、アテンション状態のクリアコマンドであるため図92の処理に移行する。そして、ステップS565でFLCD3の状態がアテンション状態であるか否かを調べる。現在アテンション状態であればステップS566に進み、アテンション状態をクリアして終了ステータスを設定する。続いてステップS567でこの設定したアテンション終了ステータスをFLCDインタフェース2に送信する。そして当該処理を終了してリターンする。   On the other hand, if the lower 4 bits are a and the total 8 bits are (0a) h in step S440, the process proceeds to the process of FIG. In step S565, it is checked whether or not the state of the FLCD 3 is an attention state. If the current state is the attention state, the process advances to step S566 to clear the attention state and set the end status. In step S567, the set attention end status is transmitted to the FLCD interface 2. Then, the process ends and returns.

一方、ステップS565で現在アテンション状態でない場合にはステップS568に進み、アテンション状態でないエラー終了を設定し、ステップS567でこの設定したステータスをFLCDインタフェース2に送信してリターンする。   On the other hand, if the current state is not the attention state in step S565, the process proceeds to step S568 to set an error end that is not the attention state. In step S567, the set status is transmitted to the FLCD interface 2 and the process returns.

一方、ステップS440で下位4ビットがbで合計8ビットが(0b)hの場合には、FLCDのコントラストエンハンスメント送信要求コマンドであるため図93の処理に移行する。そして、ステップS570でFLCD3のCE(GrayCode)をバイナリコードに変換する。この詳細は上述した。そしてステップS571でこのバイナリ情報に変換したコントラストエンハンスメントをステータスに設定する。続いてステップS572でこの設定したステータスをFLCDインタフェース2に送信する。そして当該処理を終了してリターンする。   On the other hand, if the lower 4 bits are b and the total of 8 bits is (0b) h in step S440, it is a contrast enhancement transmission request command of the FLCD, and the processing shifts to the processing in FIG. In step S570, the CE (Gray Code) of the FLCD 3 is converted into a binary code. Details of this are described above. In step S571, the contrast enhancement converted to the binary information is set as the status. In step S572, the set status is transmitted to the FLCD interface 2. Then, the process ends and returns.

一方、ステップS440で下位4ビットがcで合計8ビットが(0c)hの場合には、FLCDのマルチ駆動モード(走査モード)の取得要求コマンドであるため図94の処理に移行する。そして、ステップS575でFLCD3の走査モードを示すMultiValueをステータスに設定する。続いてステップS576でこの設定したステータスをFLCDインタフェース2に送信する。そして当該処理を終了してリターンする。   On the other hand, if the lower 4 bits are c and the total 8 bits are (0c) h in step S440, it is an FLCD multi-drive mode (scanning mode) acquisition request command, and the process proceeds to FIG. In step S575, MultiValue indicating the scanning mode of the FLCD 3 is set as the status. In step S576, the set status is transmitted to the FLCD interface 2. Then, the process ends and returns.

一方、ステップS440で下位4ビットが以上に説明したコード以外の場合(7h、0dh、0e、0fh)には図95の処理に移行する。そして、ステップS580で定義外コマンドのエラー終了を設定する。続いてステップS581でこの設定したエラー終了をFLCDインタフェース2に送信する。そして当該処理を終了してリターンする。   On the other hand, if the lower 4 bits are not the code described above in step S440 (7h, 0dh, 0e, 0fh), the process proceeds to FIG. In step S580, the error end of the undefined command is set. In step S581, the set error end is transmitted to the FLCD interface 2. Then, the process ends and returns.

次に以上の説明中のFLCDインタフェース2への送信処理を図96を参照して詳細に説明する。   Next, the transmission processing to the FLCD interface 2 described above will be described in detail with reference to FIG.

まず、ステップS651で送信のためのハードウエアバッファであるSCIバッファが空か否かを調べる。SCIバッファが空でない場合にはステップS660に進み、送信バッファをサーチし、図68に示す優先順位の高いものの次の位置を探す。そして続くステップS661で挿入位置にデータをセットする。そしてステップS662でSCIバッファのバッファポインタ(buffpointer)を更新してリターンする。   First, in step S651, it is checked whether or not the SCI buffer that is a hardware buffer for transmission is empty. If the SCI buffer is not empty, the process proceeds to step S660, where the transmission buffer is searched for the next position of the higher priority shown in FIG. In subsequent step S661, data is set at the insertion position. In step S662, the buffer pointer (buffpointer) of the SCI buffer is updated, and the process returns.

一方、SCIバッファが空の場合にはステップS652に進み、送信情報が図68に示す優先順位のレベル3より低いものであるか否かを調べる。ここで、優先順位がレベル3より高い場合にはステップS653に進み、アテンション状態か否かを調べる。アテンション状態であればステップS660に、アテンション状態でなければステップS654に進む。   On the other hand, if the SCI buffer is empty, the process advances to step S652 to check whether the transmission information is lower than the priority level 3 shown in FIG. If the priority is higher than level 3, the process advances to step S653 to check whether the state is an attention state. If it is in the attention state, the process proceeds to step S660. If not, the process proceeds to step S654.

一方、優先順位がレベル3より低い場合にはステップS654に進む。ステップS654では、SCIバッファが空か否かを調べる。SCIバッファが空でない場合にはステップS660に進む。   On the other hand, if the priority is lower than level 3, the process proceeds to step S654. In step S654, it is checked whether the SCI buffer is empty. If the SCI buffer is not empty, the process proceeds to step S660.

一方、ステップS654でSCIバッファが空の場合にはステップS655に進み、システムコントローラ160はSCIバッファのバッファポインタ(buffpointer)で送信が指示されているデータをFLCDインタフェース2に送信する。続いてステップS656で現在のホールド状態更新処理(ホールド状態のクリア処理)を実行してホールド状態を更新し、ステップS657で送信バッファを更新する。そしてステップS658でSCIバッファのバッファポインタ(buffpointer)を更新してリターンする。   On the other hand, if the SCI buffer is empty in step S654, the process proceeds to step S655, and the system controller 160 transmits the data instructed to be transmitted by the buffer pointer (buffpointer) of the SCI buffer to the FLCD interface 2. Subsequently, in step S656, the current hold state update process (hold state clear process) is executed to update the hold state, and in step S657, the transmission buffer is updated. In step S658, the buffer pointer (buffpointer) of the SCI buffer is updated, and the process returns.

以上の処理におけるステップS656のホールド状態更新処理の詳細を図97のフローチャートを参照して以下に説明する。   Details of the hold state update processing in step S656 in the above processing will be described below with reference to the flowchart in FIG.

まずステップS600で保持しているクリアコードにより以下に示す各ルーチンを選択して処理を実行する。即ち、クリアコードが0であった場合にはステップS601で何もする必要が無いためそのままリターンする。   First, each routine shown below is selected and executed by the clear code held in step S600. That is, if the clear code is 0, there is no need to do anything in step S601, and the process returns as it is.

一方、クリアコードが2である場合にはアテンションビットのクリアであるのでステップS605よりステップS606に進み、送信済みステータス/アテンションの保持状態であるholdstatのアテンションビットをクリアして当該処理を終了してリターンする。   On the other hand, when the clear code is 2, since the attention bit is cleared, the process proceeds from step S605 to step S606, the attention bit of the holdstat that is the transmission status / attention holding state is cleared, and the process ends. Return.

また、クリアコードが3の場合にはアテンションのホールドであるため、ステップS610よりステップS611に進み、送信済みのアテンションイメージを送信済みのアテンションイメージsendedsttenに設定する。続いてステップS612で送信済みステータス/アテンションの保持状態であるholdstatのアテンションビットをセットしてリターンし、当該処理を終了する。   If the clear code is 3, since the attention is held, the process proceeds from step S610 to step S611, and the transmitted attention image is set as the transmitted attention image senttten. In step S612, the holdstat attention bit, which is the transmission status / attention holding state, is set and the process returns, and the process ends.

さらに、クリアコードが4である場合にはステータスクリアであるためステップS615よりステップS616に進み送信済みステータス/アテンションの保持状態であるholdstatのステータスビットをクリアしてリターンし、当該処理を終了する。   Further, when the clear code is 4, since the status is clear, the process proceeds from step S615 to step S616, and the status bit of holdstat which is the transmission status / attention holding state is cleared and returned, and the process ends.

一方、クリアコードが5の場合にはステータスのホールドであるため、ステップS620よりステップS621に進み、送信済みのステータスイメージを送信済みのステータスイメージsendedatatに設定する。続いてステップS622で送信済みステータス/アテンションの保持状態であるholdstatのステータスビットをセットしてリターンし、当該処理を終了する。   On the other hand, when the clear code is 5, since the status is held, the process proceeds from step S620 to step S621, and the transmitted status image is set to the transmitted status image senddata. In step S622, the status bit of holdstat, which is the transmission status / attention holding state, is set and the process returns, and the processing ends.

更にまた、クリアコードが以上の値以外であった場合にはエラーであるためステップS625よりステップS626に進み、エラーであるとして何もせずにリターンする。   Furthermore, if the clear code is other than the above values, it is an error, so the process advances from step S625 to step S626, and returns without doing anything as an error.

以上説明した様に本実施例によれば、情報処理システム(或いは装置)では、情報の視覚的表現機能を実現する手段としてCRTと比較して極端に薄くできる強誘電性液晶(Ferroelectric Liquid Crystal)の液晶セルを用いた表示器(FLCD)が、表示内容を記憶する特性を有することに鑑みて、ホスト側と互いの状態を確認するなどのインテリジェンス機能を有しており、システムの立ち上げ時および立ち下げ時に表示内容が見に難くならない様にホスト側の状態にかかわらず自動的に、最適の状態とすることができ、従来の表示装置と比較しても違和感なく使用することができると共に、表示装置側の状態をLEDの表示態様を変えて容易に認識可能に構成しており、適切な対応が可能となる。   As described above, according to the present embodiment, in the information processing system (or apparatus), a ferroelectric liquid crystal (Ferroelectric Liquid Crystal) that can be made extremely thin as compared with a CRT as a means for realizing a visual expression function of information. In view of the fact that the display using liquid crystal cells (FLCD) has the characteristic of storing the display contents, it has an intelligence function such as checking the state of each other with the host side. In addition, it can be automatically set to the optimum state regardless of the state on the host side so that display contents are not difficult to see at the time of shutdown, and it can be used without a sense of incompatibility even when compared with conventional display devices. The state on the display device side is configured to be easily recognizable by changing the display mode of the LED, and appropriate measures can be taken.

また、FLCDはその温度に依存して表示速度が微妙に変化する(温度が高くなるとその速度は早くなる)事に鑑み、データの転送周期もそれに応じて変更する事により、より表示画質の向上が図れる。   In view of the fact that the display speed of the FLCD changes slightly depending on the temperature (the speed increases as the temperature rises), the data transfer cycle is changed accordingly to further improve the display image quality. Can be planned.

更に、FLCDへの表示画像データの転送以外のコミニュケーションはシリアル通信を用いて行うため、FLCDへの表示画像データの転送が犠牲にならず、表示画質がそこなわれることも防止できる。   Further, since communication other than the transfer of display image data to the FLCD is performed using serial communication, the transfer of the display image data to the FLCD is not sacrificed, and the display image quality can be prevented from being impaired.

また、本実施例におけるFLCDインタフェース2とFLCD3との間は、画像データ専用のバス310と、コマンド及びアテンションのやり取りを行うシリアル通信線311の2つのインタフェースを設ける例を説明した。しかし、実際は、これらのインタフェースを1本のケーブル内に納めて接続しているので、ユーザにとっては、あたかも1つのインタフェースを介してデータの授受が行われているように見え、配線の混乱は避けるようにしている。そしてこのケーブルが外れた場合にもこれを容易に認識することができ、ホスト側よりの表示装置側に対する表示データがこなくなった場合にも、表示内容が乱れた状態となってしまうようなことを防ぐことができる。   Further, the example in which two interfaces of the bus 310 dedicated to image data and the serial communication line 311 for exchanging commands and attentions are provided between the FLCD interface 2 and the FLCD 3 in the present embodiment has been described. However, since these interfaces are actually connected in a single cable, it seems to the user as if data is being exchanged via one interface, avoiding confusion in wiring. I am doing so. And even if this cable is disconnected, this can be easily recognized, and even if the display data on the display device side from the host side is lost, the display content will be distorted Can be prevented.

尚、本発明は、複数の機器から構成されるシステムに適用しても、1つの機器からなる装置に適用しても良い。また、本発明はシステム或いは装置にプログラムを供給することによって達成される場合にも適用できることはいうまでもない。   The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. Needless to say, the present invention can also be applied to a case where the present invention is achieved by supplying a program to a system or apparatus.

以上説明した様に本実施形態によれば、複数の動作モードを備える表示装置であっても、現在の表示動作状態が確実且つ迅速に目視確認することが可能な表示装置及び表示装置の制御方法を提供することが可能となる。   As described above, according to the present embodiment, even in a display device having a plurality of operation modes, a display device and a display device control method capable of visually confirming the current display operation state reliably and quickly Can be provided.

更に、例え表示器に表示内容の記憶機能が備えられていても、確実に表示内容が残って見難くなることを防止できる。また、接続ケーブルが正しく接続されていない場合に、表示制御を停止させることにより、表示に不要な情報が残ることが防止できる。更にまた、接続ケーブルが抜けた時に初期化処理を実行することにより、他の異常発生と同様動作不良が未然に防止できる。   Furthermore, even if the display device has a display content storage function, it is possible to prevent the display content from being reliably left and difficult to see. In addition, when the connection cable is not correctly connected, it is possible to prevent unnecessary information from remaining on the display by stopping the display control. Furthermore, by performing the initialization process when the connection cable is disconnected, it is possible to prevent malfunctions in the same way as other abnormalities.

本発明に係る一実施例における情報処理システムのブロック構成図である。It is a block block diagram of the information processing system in one Example which concerns on this invention. 本実施例のシステムにおける画像の表示に関するデータの流れの概念を示す図である。It is a figure which shows the concept of the data flow regarding the display of the image in the system of a present Example. 本実施例におけるFLCDインタフェースの具体的なブロック構成を示す図である。It is a figure which shows the specific block configuration of the FLCD interface in a present Example. 本実施例におけるFLCDのブロック構成図である。It is a block block diagram of FLCD in a present Example. 本実施例の表示装置の外観を示す図である。It is a figure which shows the external appearance of the display apparatus of a present Example. 本実施例表示装置のホスト側との接続部分を示す図である。It is a figure which shows the connection part with the host side of a display apparatus of a present Example. 図2に示すFNXコントローラの詳細構成を示す図である。It is a figure which shows the detailed structure of the FNX controller shown in FIG. 図7における画像データの入出力に関する部分の詳細構成を示す図である。It is a figure which shows the detailed structure of the part regarding the input / output of the image data in FIG. 図2に示すスイッチング電源120の詳細構成を示す図である。It is a figure which shows the detailed structure of the switching power supply 120 shown in FIG. 本実施例表示装置における温度補償にかかる部分の構成を示す図である。It is a figure which shows the structure of the part concerning temperature compensation in the display apparatus of a present Example. 本実施例におけるFLCDインタフェース内のCPUの動作中のフラグの推移を示す図である。It is a figure which shows transition of the flag during operation | movement of CPU in the FLCD interface in a present Example. 本実施例におけるFLCDインタフェース内のCPUのメイン処理ルーチンを示すフローチャートである。It is a flowchart which shows the main process routine of CPU in the FLCD interface in a present Example. 本実施例におけるFLCDインタフェース内のフレームメモリ制御回路からデータ転送要求信号を受けたときに起動する割り込みルーチンのフローチャートである。4 is a flowchart of an interrupt routine that is activated when a data transfer request signal is received from a frame memory control circuit in an FLCD interface in the present embodiment. 本実施例におけるフレームメモリ制御回路からの量子化完了通知を受けた場合に起動する処理を示すフローチャートである。It is a flowchart which shows the process started when the notification of the completion of quantization from the frame memory control circuit in a present Example is received. 本実施例におけるフレームメモリ制御回路から、FLCDへの転送完了通知を受けた場合の起動する処理を示すフローチャートである。It is a flowchart which shows the process started when the transfer completion notification to FLCD is received from the frame memory control circuit in a present Example. 本実施例におけるFLCDインタフェースからFLCDへ送出されるコマンドの一覧を示す図である。It is a figure which shows the list of the commands sent to FLCD from the FLCD interface in a present Example. 本実施例におけるFLCDインタフェースとFLCDとのコミュニケーションのシーケンスの一例を示す図である。It is a figure which shows an example of the sequence of communication with the FLCD interface and FLCD in a present Example. 本実施例におけるFLCDインタフェースとFLCDとのコミュニケーションのシーケンスの一例を示す図である。It is a figure which shows an example of the sequence of communication with the FLCD interface and FLCD in a present Example. 本実施例におけるFLCDインタフェースとFLCDとのコミュニケーションのシーケンスの一例を示す図である。It is a figure which shows an example of the sequence of communication with the FLCD interface and FLCD in a present Example. 本実施例のFLCDの電源投入後又はリセット状態時における動作開始時の基本処理を示すフローチャートである。It is a flowchart which shows the basic process at the time of the operation | movement start after power-on of the FLCD of a present Example or a reset state. 本実施例における自己診断ルーチンの詳細を示すフローチャートであるIt is a flowchart which shows the detail of the self-diagnosis routine in a present Example. 本実施例におけるAFC信号のチェックルーチンの詳細をを示すフローチャートである。It is a flowchart which shows the detail of the check routine of the AFC signal in a present Example. 図21におけるROMのチェック処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the check process of ROM in FIG. 図21におけるRAMのチェック処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the check process of RAM in FIG. 図21におけるRAMのチェック処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the check process of RAM in FIG. 図20におけるパワーONウエイト処理の詳細を示すフローチャートである。FIG. 21 is a flowchart showing details of power-on wait processing in FIG. 20. FIG. 図26におけるパワーONシーケンス処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the power ON sequence process in FIG. 本実施例におけるFLCD3のパワーON時の一連の動作における信号のタイミングチャートである。It is a timing chart of the signal in a series of operation at the time of power ON of FLCD3 in this example. 本実施例における図20に示す動作選択処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the operation | movement selection process shown in FIG. 20 in a present Example. 本実施例における図20に示す動作選択処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the operation | movement selection process shown in FIG. 20 in a present Example. 本実施例における図20に示す動作選択処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the operation | movement selection process shown in FIG. 20 in a present Example. 本実施例におけるFLCDの各動作モードにおける画面表示、バックライト及びLEDの駆動状態の例を示す図である。It is a figure which shows the example of the screen display in each operation mode of FLCD in a present Example, the backlight, and the drive state of LED. 本実施例におけるFLCDパネルの画像データ表示位置を説明するための図である。It is a figure for demonstrating the image data display position of the FLCD panel in a present Example. 本実施例における表示データの転送タイミングを説明するための図である。It is a figure for demonstrating the transfer timing of the display data in a present Example. 図34に示すタイミングチャートに従って、FLCDインタフェースより送られる実際のデータフォーマットを示す図である。It is a figure which shows the actual data format sent from a FLCD interface according to the timing chart shown in FIG. 本実施例のスキャンアドレスとスキャンコード転送タイミングを説明するための図である。It is a figure for demonstrating the scan address and scan code transfer timing of a present Example. 本実施例における図30に示す通常描画処理の詳細を示すフローチャートである。FIG. 31 is a flowchart showing details of normal drawing processing shown in FIG. 30 in the embodiment. FIG. 本実施例における図30に示す通常描画処理の詳細を示すフローチャートである。FIG. 31 is a flowchart showing details of normal drawing processing shown in FIG. 30 in the embodiment. FIG. 本実施例における図30に示す通常描画処理の詳細を示すフローチャートである。FIG. 31 is a flowchart showing details of normal drawing processing shown in FIG. 30 in the embodiment. FIG. 本実施例における図30に示す通常描画処理の詳細を示すフローチャートである。FIG. 31 is a flowchart showing details of normal drawing processing shown in FIG. 30 in the embodiment. FIG. 本実施例における図30に示す通常描画処理の詳細を示すフローチャートである。FIG. 31 is a flowchart showing details of normal drawing processing shown in FIG. 30 in the embodiment. FIG. 本実施例における図30に示す通常描画処理の詳細を示すフローチャートである。FIG. 31 is a flowchart showing details of normal drawing processing shown in FIG. 30 in the embodiment. FIG. 本実施例における図30に示す通常描画処理の詳細を示すフローチャートである。FIG. 31 is a flowchart showing details of normal drawing processing shown in FIG. 30 in the embodiment. FIG. 本実施例におけるAHDLのタイムアウト発生時のリトライで正常復帰した場合の状態遷移を示す図である。It is a figure which shows the state transition at the time of returning to normal by the retry at the time of timeout generation of AHDL in a present Example. 本実施例におけるAHDLタイムアウトが発生して回復可能エラーアテンションを発行した後、このリトライが規定の回数(40回)に達した場合の状態遷移を示す図である。It is a figure which shows a state transition when this retry reaches the specified number of times (40 times) after AHDL timeout occurs in this embodiment and a recoverable error attention is issued. 本実施例におけるAHDLのタイムアウト発生時にアテンションがクリアされても、AHDLを受け取れない場合の状態遷移を示す図である。It is a figure which shows a state transition when AHDL is not received even if attention is cleared at the time of timeout occurrence of AHDL in a present Example. 本実施例のFLCDパネル駆動波形の例を示す図である。It is a figure which shows the example of the FLCD panel drive waveform of a present Example. 本実施例における温度補償テーブルの例を示す図である。It is a figure which shows the example of the temperature compensation table in a present Example. 本実施例におけるスタート時フレーム周波数と内部温度が充分に飽和した状態におけるフレーム周波数の例を示す図である。It is a figure which shows the example of the frame frequency in the state in which the frame frequency at the time of a start in this Example and internal temperature were fully saturated. 本実施例における温度補償ルーチンの詳細を示すフローチャートである。It is a flowchart which shows the detail of the temperature compensation routine in a present Example. 本実施例における温度補償ルーチンの詳細を示すフローチャートである。It is a flowchart which shows the detail of the temperature compensation routine in a present Example. 本実施例における温度補償ルーチンの詳細を示すフローチャートである。It is a flowchart which shows the detail of the temperature compensation routine in a present Example. 本実施例における温度補償ルーチンの詳細を示すフローチャートである。It is a flowchart which shows the detail of the temperature compensation routine in a present Example. 本実施例における温度補償ルーチンの詳細を示すフローチャートである。It is a flowchart which shows the detail of the temperature compensation routine in a present Example. 本実施例における温度補償ルーチンの詳細を示すフローチャートである。It is a flowchart which shows the detail of the temperature compensation routine in a present Example. 本実施例における温度補償ルーチンの詳細を示すフローチャートである。It is a flowchart which shows the detail of the temperature compensation routine in a present Example. 本実施例における温度補償ルーチンの詳細を示すフローチャートである。It is a flowchart which shows the detail of the temperature compensation routine in a present Example. 本実施例におけるパネル停止処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the panel stop process in a present Example. 本実施例における色彩スイッチルーチンの詳細を示すフローチャートである。It is a flowchart which shows the detail of the color switch routine in a present Example. 本実施例における図7に示す色彩調整スイッチ及びトリマインタフェースの色彩調整スイッチに対応する部分の詳細構成を示す図である。It is a figure which shows the detailed structure of the part corresponding to the color adjustment switch shown in FIG. 7 and the color adjustment switch of a trimmer interface in a present Example. 本実施例における色彩調整スイッチよりの設定状態とグレイコードとの関係を示す図である。It is a figure which shows the relationship between the setting state from a color adjustment switch and a Gray code | cord | chord in a present Example. 本実施例のパワーOFFシーケンスの詳細を示すフローチャートである。It is a flowchart which shows the detail of the power OFF sequence of a present Example. 本実施例におけるパワーOFFシーケンスによるパワーOFFシーケンスのタイミングチャートである。It is a timing chart of the power OFF sequence by the power OFF sequence in a present Example. 本実施例のFLCDがシリアル通信でコマンドを受信した場合の内部処理の状態を示す図である。It is a figure which shows the state of an internal process when FLCD of a present Example receives the command by serial communication. 本実施例のFLCDがアテンション発行を起動要因としてシリアル通信を行う場合の内部処理の状態を示す図である。It is a figure which shows the state of an internal process in case the FLCD of a present Example performs serial communication by using attention issue as a starting factor. 本実施例のFLCDがアテンション発行を起動要因としてシリアル通信を行う場合において、アテンション状態の間にコマンドを受信した場合の内部処理の状態を示す図である。FIG. 10 is a diagram illustrating a state of internal processing when a command is received during an attention state when the FLCD of this embodiment performs serial communication using attention issue as an activation factor. 本実施例のシリアル通信で用いる送信イメージの例を示す図である。It is a figure which shows the example of the transmission image used by the serial communication of a present Example. 本実施例のシリアル通信で用いる送信データバッファを用いた送信の優先順位の設定例を示す図である。It is a figure which shows the example of a setting of the priority of transmission using the transmission data buffer used by the serial communication of a present Example. 本実施例のFLCDのメモリアクセス時のアドレス空間を説明するための図である。It is a figure for demonstrating the address space at the time of the memory access of FLCD of a present Example. 本実施例のシリアル通信処理におけるSC受信処理を示すフローチャートである。It is a flowchart which shows the SC reception process in the serial communication process of a present Example. 本実施例のシリアル通信処理におけるSC受信処理を示すフローチャートである。It is a flowchart which shows the SC reception process in the serial communication process of a present Example. 本実施例のシリアル通信処理におけるSC受信処理を示すフローチャートである。It is a flowchart which shows the SC reception process in the serial communication process of a present Example. 本実施例のシリアル通信処理におけるSC受信処理を示すフローチャートである。It is a flowchart which shows the SC reception process in the serial communication process of a present Example. 本実施例のシリアル通信処理におけるSC受信処理を示すフローチャートである。It is a flowchart which shows the SC reception process in the serial communication process of a present Example. 本実施例のシリアル通信処理におけるSC受信処理を示すフローチャートである。It is a flowchart which shows the SC reception process in the serial communication process of a present Example. 本実施例のシリアル通信処理におけるSC受信処理を示すフローチャートである。It is a flowchart which shows the SC reception process in the serial communication process of a present Example. 本実施例のシリアル通信処理におけるSC受信処理を示すフローチャートである。It is a flowchart which shows the SC reception process in the serial communication process of a present Example. 本実施例のシリアル通信処理におけるSC受信処理を示すフローチャートである。It is a flowchart which shows the SC reception process in the serial communication process of a present Example. 本実施例のシリアル通信処理におけるSC受信処理を示すフローチャートである。It is a flowchart which shows the SC reception process in the serial communication process of a present Example. 本実施例のシリアル通信処理におけるSC受信処理を示すフローチャートである。It is a flowchart which shows the SC reception process in the serial communication process of a present Example. 本実施例のシリアル通信処理におけるSC受信処理を示すフローチャートである。It is a flowchart which shows the SC reception process in the serial communication process of a present Example. 本実施例のシリアル通信処理におけるSC受信処理を示すフローチャートである。It is a flowchart which shows the SC reception process in the serial communication process of a present Example. 本実施例のシリアル通信処理におけるSC受信処理を示すフローチャートである。It is a flowchart which shows the SC reception process in the serial communication process of a present Example. 本実施例のシリアル通信処理におけるSC受信処理を示すフローチャートである。It is a flowchart which shows the SC reception process in the serial communication process of a present Example. 本実施例のシリアル通信処理におけるSC受信処理を示すフローチャートである。It is a flowchart which shows the SC reception process in the serial communication process of a present Example. 本実施例のシリアル通信処理におけるSC受信処理を示すフローチャートである。It is a flowchart which shows the SC reception process in the serial communication process of a present Example. 本実施例のシリアル通信処理におけるSC受信処理を示すフローチャートである。It is a flowchart which shows the SC reception process in the serial communication process of a present Example. 本実施例のシリアル通信処理におけるSC受信処理を示すフローチャートである。It is a flowchart which shows the SC reception process in the serial communication process of a present Example. 本実施例のシリアル通信処理におけるSC受信処理を示すフローチャートである。It is a flowchart which shows the SC reception process in the serial communication process of a present Example. 本実施例のシリアル通信処理におけるSC受信処理を示すフローチャートである。It is a flowchart which shows the SC reception process in the serial communication process of a present Example. 本実施例のシリアル通信処理におけるSC受信処理を示すフローチャートである。It is a flowchart which shows the SC reception process in the serial communication process of a present Example. 本実施例のシリアル通信処理におけるSC受信処理を示すフローチャートである。It is a flowchart which shows the SC reception process in the serial communication process of a present Example. 本実施例のシリアル通信処理におけるSC受信処理を示すフローチャートである。It is a flowchart which shows the SC reception process in the serial communication process of a present Example. 本実施例のシリアル通信処理におけるSC受信処理を示すフローチャートである。It is a flowchart which shows the SC reception process in the serial communication process of a present Example. 本実施例のシリアル通信処理におけるSC受信処理を示すフローチャートである。It is a flowchart which shows the SC reception process in the serial communication process of a present Example. 本実施例のFLCDインタフェースへの送信処理を示すフローチャートである。It is a flowchart which shows the transmission process to the FLCD interface of a present Example. 本実施例のホールド状態更新処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the hold state update process of a present Example.

符号の説明Explanation of symbols

1 ホスト
2 FLCDインタフェース
3 FLCD
4 パネルコントローラ
5 FLCパネル
12 ケーブル側のコネクタ
13 固定ねじ
15 受けコネクタ
101 NFXコントローラ
102 U−SEGドライバ
103 L−SEGドライバ
104 COMドライバ
105 温度センサ
106 輝度調整トリマ
106 画質調整トリマ
108 色彩調整スイッチ
109 LED
120 スイッチング電源
121 一般商用電源
122 電源スイッチ
123 ノイズフィルタ
126 スイッチングレギュレータ用制御回路
124 スイッチング回路
127 5端子レギュレータ
128 +5V電源回路
129 バックライト駆動用の電源回路
130 インバータ
131〜133 蛍光ランプ(熱陰極蛍光ランプ)
150 FLCパネル
160 システムコントローラ
161 ROM
162 RAM
165 AFC検知回路
171 温度インタフェース
172 バックライトコントローラ
173 VOPコントローラ
174 トリマインタフェース
181 電源スイッチコントローラ
182 液晶駆動電源スイッチ
183 液晶駆動電圧レギュレータ
300 CPU
301 VRAM
302 SVGAチップ
303 書換え検出/フラグ生成回路
304 ラインアドレス生成回路
305 2値化中間調処理回路
306 フレームメモリ
307 フレームメモリ制御回路
308 ROM
310 データ転送バス
311 シリアル通信線
521、522 バッファ
523 入力側スイッチ
524 出力側スイッチ
525 タイミングコントローラ
526 受信アドレスレジスタ
527 走査アドレスレジスタ
528 DSTレジスタ
531 U−SEGラッチ回路
532 U−SEGメモリ
533、536、543 ドライバ回路
537 L−SEGメモリ
538 L−SEGラッチ回路
541 アドレスメモリ1
542 アドレスメモリ2
901 温度補償テーブル
902 タイマユニット
904、905 アナログ−デジタル変換器
1 Host 2 FLCD interface 3 FLCD
4 Panel controller 5 FLC panel 12 Cable side connector 13 Fixing screw 15 Receiving connector 101 NFX controller 102 U-SEG driver 103 L-SEG driver 104 COM driver 105 Temperature sensor 106 Brightness adjustment trimmer 106 Image quality adjustment trimmer 108 Color adjustment switch 109 LED
DESCRIPTION OF SYMBOLS 120 Switching power supply 121 General commercial power supply 122 Power switch 123 Noise filter 126 Control circuit for switching regulator 124 Switching circuit 127 5 terminal regulator 128 + 5V power supply circuit 129 Power supply circuit for backlight drive 130 Inverter 131-133 Fluorescent lamp (hot cathode fluorescent lamp )
150 FLC panel 160 System controller 161 ROM
162 RAM
165 AFC detection circuit 171 Temperature interface 172 Backlight controller 173 VOP controller 174 Trimmer interface 181 Power switch controller 182 Liquid crystal drive power switch 183 Liquid crystal drive voltage regulator 300 CPU
301 VRAM
302 SVGA chip 303 Rewrite detection / flag generation circuit 304 Line address generation circuit 305 Binary halftone processing circuit 306 Frame memory 307 Frame memory control circuit 308 ROM
310 Data Transfer Bus 311 Serial Communication Line 521, 522 Buffer 523 Input Side Switch 524 Output Side Switch 525 Timing Controller 526 Reception Address Register 527 Scan Address Register 528 DST Register 531 U-SEG Latch Circuit 532 U-SEG Memory 533, 536, 543 Driver circuit 537 L-SEG memory 538 L-SEG latch circuit 541 Address memory 1
542 Address memory 2
901 Temperature compensation table 902 Timer unit 904, 905 Analog-digital converter

Claims (4)

複数の画素からなる表示器を線順次走査駆動することにより画像を表示し、前記線順次走査駆動を行う表示動作モードと、前記線順次走査駆動を行わない省電力動作モードとを含む複数の動作モードを備える表示装置であって、
前記動作モードを設定するモード設定手段と、
前記モード設定手段で設定された動作モードを表示するための前記表示器とは別個に設けられた表示手段と、
前記表示手段を前記動作モードに対応した態様で表示させる表示制御手段と
を備えることを特徴とする表示装置。
A plurality of operations including a display operation mode in which an image is displayed by line-sequential scanning driving a display device including a plurality of pixels and the line-sequential scanning driving is performed, and a power saving operation mode in which the line-sequential scanning driving is not performed. A display device comprising a mode,
Mode setting means for setting the operation mode;
Display means provided separately from the indicator for displaying the operation mode set by the mode setting means;
Display control means for displaying the display means in a mode corresponding to the operation mode.
前記表示器は、画像の表示状態を保持する機能を有することを特徴とする請求項1に記載の表示装置。   The display device according to claim 1, wherein the display device has a function of maintaining a display state of an image. 前記表示手段は発光ダイオードで構成されており、前記表示制御手段は前記装置の動作モードに対応して前記発光ダイオードの点灯および消灯時間を制御することを特徴とする請求項1または2に記載の表示装置。   The said display means is comprised with the light emitting diode, The said display control means controls the lighting and extinction time of the said light emitting diode corresponding to the operation mode of the said apparatus. Display device. 複数の画素からなる表示器を線順次走査駆動することにより画像を表示する表示装置の制御方法であって、前記表示装置は前記線順次走査駆動を行う表示動作モードと、前記線順次走査駆動を行わない省電力動作モードとを含む複数の動作モードを備え、前記表示器とは別個に設けられた表示手段を、前記動作モードに対応した態様で表示させることを特徴とする表示装置の制御方法。   A display device control method for displaying an image by line-sequential scanning driving a display device including a plurality of pixels, wherein the display device performs a display operation mode for performing the line-sequential scanning driving and the line-sequential scanning driving. A display device control method comprising: a plurality of operation modes including a power saving operation mode that is not performed; and display means provided separately from the display device in a manner corresponding to the operation mode. .
JP2004250934A 2004-08-30 2004-08-30 Display device and control method thereof Expired - Lifetime JP3793214B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004250934A JP3793214B2 (en) 2004-08-30 2004-08-30 Display device and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004250934A JP3793214B2 (en) 2004-08-30 2004-08-30 Display device and control method thereof

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP13664995A Division JP3618824B2 (en) 1995-06-02 1995-06-02 Display device and display control method for display device

Publications (2)

Publication Number Publication Date
JP2004348164A JP2004348164A (en) 2004-12-09
JP3793214B2 true JP3793214B2 (en) 2006-07-05

Family

ID=33536039

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004250934A Expired - Lifetime JP3793214B2 (en) 2004-08-30 2004-08-30 Display device and control method thereof

Country Status (1)

Country Link
JP (1) JP3793214B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8049685B2 (en) * 2006-11-09 2011-11-01 Global Oled Technology Llc Passive matrix thin-film electro-luminescent display
WO2017038309A1 (en) * 2015-08-31 2017-03-09 シャープ株式会社 Transfer control device, terminal device, and transfer control method

Also Published As

Publication number Publication date
JP2004348164A (en) 2004-12-09

Similar Documents

Publication Publication Date Title
US6067645A (en) Display apparatus and method
KR100229379B1 (en) Display device, display system and display control method
KR100256190B1 (en) Display apparatus and display system and display control method for display system
US6714172B2 (en) Display control system and its control method, switching device, connection device, peripheral device, peripheral device system, and their control method, and computer readable memory
KR0130731B1 (en) Liquid crystal display and liquid crystal driver
US5880702A (en) Display control apparatus and method
JP2009251615A (en) Control method of electro-optic display device and control device of electro-optic display device
JP2006072287A5 (en)
JP2006072287A (en) Display apparatus
JP3793214B2 (en) Display device and control method thereof
JP3618824B2 (en) Display device and display control method for display device
EP0591683B1 (en) Display control apparatus
JP3673555B2 (en) Display device, display system, and display control method for display system
JP2003195828A (en) Display device, information processor, display method, program, and recording medium
EP0592801B1 (en) Display control apparatus and method therefor
JP2001306038A (en) Liquid crystal display device and portable equipment using the same
JPH08331488A (en) Display system and display control method therefor
TWI424400B (en) Electrophoresis display
JP3227200B2 (en) Display control device and method
JP2002207471A (en) Display control system and repeater device therefor
JP2003058117A (en) Display device, electronic equipment and display controlling method
JP3707806B2 (en) Driver circuit
JP3745252B2 (en) Display control apparatus and method
KR100936192B1 (en) Display system, and method for driving thereof
JPH01178997A (en) Display controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040830

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050620

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: 20060322

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060406

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090414

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100414

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110414

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120414

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130414

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130414

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140414

Year of fee payment: 8

EXPY Cancellation because of completion of term