KR0150130B1 - Line unit display shift device in a lcd controller for charactor - Google Patents
Line unit display shift device in a lcd controller for charactor Download PDFInfo
- Publication number
- KR0150130B1 KR0150130B1 KR1019950002513A KR19950002513A KR0150130B1 KR 0150130 B1 KR0150130 B1 KR 0150130B1 KR 1019950002513 A KR1019950002513 A KR 1019950002513A KR 19950002513 A KR19950002513 A KR 19950002513A KR 0150130 B1 KR0150130 B1 KR 0150130B1
- Authority
- KR
- South Korea
- Prior art keywords
- line
- signal
- output
- character
- input
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/22—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of characters or indicia using display control signals derived from coded signals representing the characters or indicia, e.g. with a character-code memory
- G09G5/32—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of characters or indicia using display control signals derived from coded signals representing the characters or indicia, e.g. with a character-code memory with means for controlling the display position
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2340/00—Aspects of display data processing
- G09G2340/04—Changes in size, position or resolution of an image
- G09G2340/0464—Positioning
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/34—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
- G09G3/36—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Liquid Crystal Display Device Control (AREA)
Abstract
발명은 캐릭터용 엘씨디 컨트롤러의 라인별 디스플레이 시프트 장치에 관한 것으로, DDRAM 데이터를 읽어내는 스캔 카운터의 시작 포인터 값을 지정하는 레지스터를 활용한 업/다운 카운터로써 구성되었으며, 마이컴 명령에 의해 시프트시키고자 하는 라인만을 선택함으로 DDRAM을 효율적으로 사용할 수 있을 뿐만 아니라 엘씨디 표시장치에서 여러 가지 기능을 구현할 수 있다.The present invention relates to a line-by-line display shift device of an LCD controller for a character, and is configured as an up / down counter utilizing a register that specifies a start pointer value of a scan counter for reading DDRAM data. By selecting only the lines, DDRAM can be used efficiently, and various functions can be implemented in the LCD display.
Description
제1도의 (a), (b)는 종래의 캐릭터용 엘씨디 컨트롤러의 라인별 디스플레이 예시도이고,(A) and (b) of FIG. 1 are exemplary diagrams for displaying lines of a conventional LCD controller for characters.
제1도의 (c)는 종래의 캐릭터용 엘씨디 컨트롤러의 라인별 디스플레이 회로 구성도이고,(C) of FIG. 1 is a block diagram of a display line for a conventional LCD controller for characters.
제2도는 본 발명에 따른 캐릭터용 엘씨디 컨트롤러의 라인별 디스플레이 예시도이고,2 is an exemplary view for each line of the LCD controller for characters according to the present invention,
제3도는 본 발명의 실시예에 따른 캐릭터용 엘씨디 컨트롤러의 라인별 디스플레이 회로 구성도이고,3 is a block diagram of the display circuit for each character of the LCD controller for characters according to an embodiment of the present invention,
제4도는 제3도의 동작 파형도이고,4 is an operating waveform diagram of FIG.
제5도는 제3도의 스타트 포인터 레지스터의 구체적 내부 회로도이고,5 is a detailed internal circuit diagram of the start pointer register of FIG.
제6도의 (a)~(d)는 본 발명의 각 경우에 따른 메인 카운터 값과 엘씨디 화면의 관계도이다.(A)-(d) of FIG. 6 are relationship diagrams of the main counter value and the LCD screen according to each case of the present invention.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
10 : 조합회로10: combination circuit
20 : 스타트 포인터 레지스터(start pointer register)부20: start pointer register section
21,22 : 스타트 포인터 레지스터 211,213 : 래치회로21,22: Start pointer register 211,213: latch circuit
212 : 제어회로 30 : 셀렉트 라인용 제어 장치212 control circuit 30 control device for the select line
40 : 메인 카운터 50 : DDRAM(Display Data Ram)40: main counter 50: DDRAM (Display Data Ram)
이 발명은 캐릭터용 엘씨디 컨트롤러의 라인별 디스플레이 시프트 장치에 관한 것으로서, 더 상세히 말하자면 엘씨디 표시 장치에서 보이지 않는 문자를 보기 위한 문자 시프트 명령 수행시 이동시키고 싶은 라인에서만 문자 이동이 가능하게 하는 캐릭터용 엘씨디 컨트롤러의 라인별 디스플레이 시프트 장치에 관한 것이다.The present invention relates to a line-by-line display shift device of an LCD controller for characters, and more specifically, to an LCD controller for a character that enables characters to be moved only in a line to be moved when performing a character shift command for viewing invisible characters on the LCD display device. Relates to a line-by-line display shift device.
종래의 캐릭터용 엘씨디 컨트롤러는 총 80개의 디스플레이할 문자를 DDRAM(Display Data Ram)에 저장하고 있다. 사용자가 디스플레이할 문자(ROM FONT의 어드레스, A자인 경우 41H(hex))를 DDRAM에 쓰면 스캔 카운터가 ROM의 어드레스인 DDRAM 데이터를 주기적으로 읽어낸 후 글자의 모양 데이터를 저장하고 있는 ROM을 통해 데이터를 발생시켜 엘씨디 화면에 문자를 디스플레이하게 된다.The conventional LCD controller for characters stores a total of 80 characters to display in a DDRAM (Display Data Ram). When the user writes the character to display (address of ROM FONT, 41H (hex) for A letter) to DDRAM, the scan counter periodically reads DDRAM data, which is the address of ROM, and then saves the data through ROM To display the characters on the LCD screen.
그리고 엘씨디 모듈의 종류는 세트(set) 공간의 잇점을 살리기 위해 8자, 12자, 20자, 24자등의 소량 문자를 디스플레이하는 모듈이 널리 사용된다. 이와 같이 소량의 문자를 디스플레이하는 경우에, 사용자는 각 모듈의 종류에 따라 8자, 12자,…… 밖에 보지 못하므로 보이지 않는 72자, 68자, ……의 문자를 보기 위해 디스플레이 시프트 라이트_레프트(right_left)명령을 수행하여 총 80자의 문자를 모두 볼 수 있게 된다.In order to take advantage of set space, an LCD module is widely used to display small characters such as 8, 12, 20, and 24 characters. In the case of displaying a small amount of characters in this way, the user can select from 8 characters, 12 characters,..., Depending on the type of each module. … 72 characters, 68 characters which are invisible because we see only… … You can see all 80 characters by executing the display shift right_left command to see the characters of.
종래의 엘씨디 컨트롤러의 라인별 디스플레이 시프트 기능을 첨부된 도면을 참조로 하여 설명하면 다음과 같다.Referring to the accompanying drawings, the line-by-line display shift function of the conventional LCD controller is as follows.
제1도의 (a), (b)는 종래의 2라인 12자를 라인별로 디스플레이하는 모듈의 예시도이다.(A) and (b) of FIG. 1 are exemplary diagrams of a module displaying a conventional two-line twelve characters line by line.
상기 제1도에 도시되어 있듯이, (a)에 도시되어 있는 모듈은 12자의 2라인의 모듈이므로 각 라인의 13번~40번, 53번~80번의 문자는 엘씨디 화면에 나타나지 않는다.As shown in FIG. 1, since the module shown in (a) is a two-line module of 12 characters, characters 13 through 40 and 53 through 80 of each line do not appear on the LCD screen.
그러므로 2라인에 쓰여진 문자를 보기 위해서는 제1도의 (b)에 도시되어 있는 것처럼 디스플레이 시프트 레프트 명령을 6회 수행하여야만 2라인의 나머지 문자를 볼 수 있게 된다.Therefore, in order to see the characters written on the second line, the display shift left command must be executed six times as shown in (b) of FIG. 1 so that the remaining characters of the two lines can be seen.
즉, 실제 엘씨디를 구경하고 있는 아이씨(IC)는 총 40자 2줄의 내용을 가지고 있지만 엘씨디 크기는 제1도의 (a)와 같이 12자의 2라인만 표시할 수 있을 때, 사용자는 디스플레이 시프트를 통해 숨겨진 문자를 보게 된다.In other words, when the IC (IC) that is actually viewing the LCD has a total of two lines of 40 characters, the size of the LCD can only display two lines of 12 characters as shown in (a) of FIG. You will see the hidden characters through.
여기서, 제1도의 (c)는 종래의 엘씨디 디스플레이에 관한 것으로서, 16 COM, 2라인 모듈에서의 캐릭터용 엘씨디 컨트롤러의 라인별 디스플레이 시프트 장치를 구현한 것이다. 그 구성은 순차적으로 7비트 업 카운팅을 수행하여 번지 값을 출력하는 스캔 카운터(4)와 스캔 카운터(4)에서 출력되는 번지에 의해서 처음부터 순차적으로 스캐닝되는 DDRAM(5)으로 이루어진다. 여기서, 스캔 카운터(4)가 클럭에 동기되어 주기마다 동작하는 단순 카운터이므로, 이러한 단순 스캔 카운터의 출력에 공통으로 연결된 첫 라인과 둘째 라인은 동시에 시프트되어 사용자가 메시지를 디스플레이할 때 제1도의 (b)와 같이 첫 라인과 둘째 라인이 동시에 이동된다.Here, (c) of FIG. 1 relates to a conventional LCD display, and implements a line-by-line display shift device of an LCD controller for a character in a 16 COM, 2-line module. The configuration consists of a scan counter 4 which sequentially performs 7-bit up counting and outputs a address value and a DDRAM 5 which is sequentially scanned from the beginning by the address output from the scan counter 4. Here, since the scan counter 4 is a simple counter which operates in cycles in synchronization with a clock, the first and second lines commonly connected to the output of the simple scan counter are simultaneously shifted so that when the user displays a message in FIG. As in b), the first and second lines are moved simultaneously.
따라서, 기존 시프트 방식의 단점은 사용자의 의지와 상관없이 1라인과 2라인의 문자가 동시에 시프트된다는 점이다.Therefore, a disadvantage of the conventional shift method is that one-line and two-line characters are shifted simultaneously regardless of the user's will.
즉 4라인의 모듈의 경우라면 보이지 않는 문자를 보기 위해 시프트 명령을 수행하면 1라인부터 4라인까지 동시에 문자 시프트가 이루어져 굳이 이동시키고 싶지 않은 라인까지 문자이동이 되어 효율적인 디스플레이 시프트를 하지 못하는 큰 단점이 생긴다.That is, in the case of 4-line module, if the shift command is executed to see the invisible characters, the character shift is made from 1 line to 4 lines at the same time, and the character is moved to the line that you do not want to move. Occurs.
그러므로 사용자가 디스플레이 시프트를 통해 보이지 않는 문자를 보고자 할 때에는 항상 다른 줄의 디스플레이 상태도 함께 변화된다는 것을 염두에 두고 시프트 명령을 수행해야하는 불편함이 있다.Therefore, when a user wants to see an invisible character through the display shift, it is inconvenient to carry out the shift command with the mind that the display state of the other line is also changed.
그러므로 이 발명의 목적은, 상기와 같은 종래의 단점을 해결하기 위한 것으로서, 본 발명에서는 제2도에서 예시되어 있는 것처럼 미리 세팅된 라인만, 디스플레이 시프트시 라이트 또는 레프트로 이동될 수 있도록 하는 회로를 제공하는 데에 있다.Therefore, an object of the present invention is to solve the above disadvantages, and in the present invention, a circuit is provided so that only a predetermined line can be moved to a light or left during display shift as illustrated in FIG. To provide.
제2도는 2라인의 보이지 않는 문자를 보기 위하여 마이컴 명령을 통해 1라인은 인에이블시키지 않고(L1=0), 2라인만 인에이블시킨 상태에서(L2=1) 디스플레이 시프트 레프트를 6회 수행하여 타이틀인 1라인은 이동시키지 않고 보고자 하는 2라인만 이동시킨 예를 보인 것이다. 라인 인에이블 세팅 명령은 기존의 돈케어 비트(Don't Care bit)를 활용하여 2라인의 경우 L1, L2 4라인의 경우 L1, L2, L3, L4 비트를 만들어 시프트 명령 수행시 인에이블될 라인을 각각 지정한다.2 shows a display shift left six times without enabling one line (L1 = 0) and enabling only two lines (L2 = 1) through a microcomputer command to view two invisible characters. It shows an example in which only one line, which is the title, is moved, not the first line, which is the title. The line enable setting command utilizes the existing Don't Care bit to create the L1, L2, L3, and L4 bits for the 2 lines and the L1, L2, L3, and L4 bits for the 4 lines to enable the shift command. Specify each.
상기의 목적을 달성하기 위한 이 발명의 구성은, 다수의 라인 선택신호와 다수의 시프트 신호입력을 받아 부정 논리곱을 수행하여 다수의 인에이블 신호를 출력하는 조합회로와; 상기한 조합회로의 상기 인에이블 신호로 동작하여 초기번지 설정신호, 라이트_레프트 선택신호를 입력으로 받아 한 라인의 시작 번지를 새로 계산하여 출력하는 스타트 포인터 레지스터부와; 상기한 스타트 포인터 레지스터부로부터 상기 다수의 시작 번지를 입력받고, 현재 표시되는 라인을 가리키는 블럭 선택신호에 따라 스타트 포인터 레지스터로부터 상기 다수의 시작 번지 중에서 현재 표시되는 라인에 해당하는 시작 번지를 선택하여 출력하는 셀렉트 회로와; 클럭 신호에 동기되어 스캔_스타트 포인터 레지스터 신호의 스타트 포인터 레지스터 구간에서 상기한 셀렉트 회로의 상기 시작 번지를 입력받고, 상기 스캔 스타트 포인터 레지스터 신호의 스캔 구간에서 상기 시작 번지로부터 순차적으로 7비트 업 카운팅을 수행하여 번지 값을 출력하는 메인 카운터와; 상기한 메인 카운터에서 출력되는 상기 번지에 의해서 처음부터 순차적으로 스캐닝되는 DDRAM으로 이루어진다.A configuration of the present invention for achieving the above object comprises: a combination circuit for receiving a plurality of line selection signals and a plurality of shift signal inputs and performing a negative AND to output a plurality of enable signals; A start pointer register unit which operates as the enable signal of the combination circuit and receives an initial address setting signal and a write_left selection signal as inputs and newly calculates and outputs a start address of a line; The plurality of start addresses are inputted from the start pointer register unit, and a start address corresponding to the currently displayed line is selected from the start pointer register according to a block selection signal indicating a line currently displayed. A select circuit; The start address of the select circuit is input in the start pointer register section of the scan_start pointer register signal in synchronization with a clock signal, and 7-bit up counting is sequentially performed from the start address in the scan section of the scan start pointer register signal. A main counter configured to output a street address; It consists of DDRAM which is sequentially scanned from the beginning by the address output from the main counter.
여기서 상기한 조합회로의 구성은 다수의 라인 선택 신호 중 각각 하나를 입력으로 하고 시프트 신호를 공통입력으로 받아 부정 논리곱을 수행하여 출력하는 다수의 부정 논리곱 수단으로 이루어진다.In this case, the combination circuit includes a plurality of negative AND products which input one of a plurality of line selection signals, receive a shift signal as a common input, and perform negative AND to output.
또한 상기한 스타트 포인터 레지스터부의 구성은 상기한 다수의 부정 논리곱 수단의 출력 중에서 각각 하나를 입력으로 하고 초기 번지 설정 신호, 라이트_레프트 선택 신호를 공통입력으로 받아 한 라인의 시작 번지를 생성하여, 출력하는 다수의 스타트 포인터 레지스터로 이루어진다.In addition, the configuration of the start pointer register unit includes one of the outputs of the plurality of negative AND products as an input, and receives an initial address setting signal and a write_left selection signal as a common input to generate a start address of a line. It consists of a number of start pointer registers to output.
또 상기한 스타트 포인터 레지스터의 구체적 내부 회로의 구성은, 1비트의 정보를 일시 기억하는 래치 수단과 인에이블신호, 라이트_레프트 선택 신호, 초기번지 설정 신호 입력을 제어하는 제어 회로로 이루어지는데 좀 더 상세히 말하면, 클럭 1과 제2래치 수단의 출력을 입력으로 받아 1비트의 정보를 일시 기억함과 동시에 그 정보를 출력하는 제1래치 수단과; 상기한 제1래치 수단의 출력과 인에이블신호, 라이트_레프트 선택 신호, 초기 번지 설정 신호를 입력으로 받아 각 신호에 따라 동작을 제어하는 제어 회로와; 상기한 조합 회로의 출력과 클럭2를 입력으로 받아 1비트의 정보를 일시 기억함과 동시에 그 정보를 출력하는 제2래치 수단으로 이루어진다.The specific internal circuit configuration of the start pointer register is composed of a latch means for temporarily storing 1-bit information and a control circuit for controlling the enable signal, the write_left select signal, and the initial address setting signal input. Specifically, first latch means for receiving the outputs of the clock 1 and the second latch means as inputs, temporarily storing one bit of information and outputting the information; A control circuit which receives an output of the first latch means, an enable signal, a write_left selection signal, and an initial address setting signal as inputs and controls an operation according to each signal; A second latch means for receiving the output of the combination circuit and the clock 2 as an input, temporarily storing one bit of information and outputting the information.
제어 회로의 구성은, 제1래치 수단의 출력과 인에이블 신호를 입력으로 받아 배타적 논리합을 수행하여 값을 출력하는 제1배타적 논리합 수단과; 제1래치 수단의 출력과 라이트_레프트 선택 신호를 입력으로 받아 배타적 논리합을 수행하여 값을 출력하는 제2배타적 논리합 수단과; 상기한 제2배타적 논리합 수단의 출력과 인에이블 신호를 입력으로 받아 논리곱을 수행하여 값을 출력하는 논리곱 수단과; 상기한 제1배타적 논리합 수단의 출력과 이니셜 신호로부터 입력을 받아 부정 논리합을 수행하여 값을 출력하는 제1부정 논리합 수단과; 상기한 부정논리합 수단의 출력과 이니셜 신호로부터 리세트 입력을 받아 부정 논리합을 수행하여 값을 출력하는 제2부정논리합 수단으로 이루어진다.The configuration of the control circuit includes: first exclusive OR means for receiving an output of the first latch means and an enable signal as an input, performing an exclusive OR, and outputting a value; Second exclusive OR means for receiving an output of the first latch means and a write_left selection signal as an input and performing an exclusive OR; Logical multiplication means for receiving the output of the second exclusive OR means and an enable signal as an input, performing a logical multiplication, and outputting a value; First negative logic OR means for receiving an input from the output of the first exclusive OR and initial signal and performing a negative AND to output a value; And a second negative logic sum means for receiving a reset input from the output of the negative logic sum means and the initial signal, and performing a negative logic sum to output a value.
이하, 본 발명이 속하는 기술 분야에서 통상의 기술을 가진 자가 이 발명을 용이하게 실시할 수 있을 정도로 상세히 설명하기 위해 본 발명의 가장 바람직한 실시예를 첨부된 도면을 참조로 하여 설명한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the most preferred embodiments of the present invention will be described with reference to the accompanying drawings so that those skilled in the art may easily implement the present invention.
제3도는 이 발명의 실시예에 따른 것으로서, 16 COM, 2라인 모듈에서의 캐릭터용 엘씨디 컨트롤러의 라인별 디스플레이 시프트 장치를 구현한 것이다.3 is an embodiment of the present invention, which implements a line-by-line display shift device of an LCD controller for a character in a 16 COM, 2-line module.
상기한 제3도에 도시되어 있듯이, 캐릭터용 엘씨디 컨트롤러의 라인별 디스플레이 시프트 장치의 구성은, 라인 선택신호(L1, L2)와 시프트 신호입력을 받아 부정 논리곱을 수행하여 출력하는 조합회로(10)와; 상기한 조합회로(10)의 출력과 초기번지 설정신호, 라이트_레프트 선택신호를 입력으로 받아 한 라인의 시작 번지를 생성하여 출력하는 스타트 포인터 레지스터부(20)와; 상기한 스타트 포인터 레지스터부(20)로부터 2개의 입력과 블럭 A_B 선택신호를 입력으로 받아, 블럭 A_B 선택 신호에 따라 스타트 포인터 레지스터로부터의 2개의 입력 중 하나를 선택하여 그 값을 출력하는 셀렉터(30)와; 상기한 셀렉터(30)의 출력과 클럭 신호, 스캔_스타트 포인터 레지스터 신호를 입력으로 받아 순차적으로 7비트 업 카운팅을 수행하여 번지 값을 출력하는 메인 카운터(40)와; 상기한 메인 카운터(40)에서 출력되는 번지에 의해서 처음부터 순차적으로 총 80개의 번지(00H~27H, 40H~67H)가 스캐닝 되는 DDRAM(50)으로 이루어진다.As shown in FIG. 3, the configuration of the line-by-line display shift device of the character LCD controller includes a combination circuit 10 that receives line selection signals L1 and L2 and a shift signal input and performs a negative logical product to output the result. Wow; A start pointer register section 20 which receives the output of the combination circuit 10, an initial address setting signal, and a write_left selection signal as inputs and generates and outputs a start address of a line; A selector 30 which receives two inputs from the start pointer register section 20 and a block A_B selection signal as inputs, selects one of two inputs from the start pointer register according to the block A_B selection signal, and outputs a value thereof. )Wow; A main counter 40 which receives the output of the selector 30, a clock signal, and a scan_start pointer register signal as inputs, sequentially performs 7-bit up counting, and outputs a address value; A total of 80 addresses (00H to 27H, 40H to 67H) are sequentially scanned from the beginning by the address output from the main counter 40, and the DDRAM 50 is scanned.
여기서 상기한 조합회로(10)의 구성은 2개의 라인 선택 신호 L1, L2중 각각 하나를 입력으로하고 시프트 신호를 공통입력으로 받아 부정 논리곱을 수행하여 출력하는 2개의 NAND 게이트로 이루어진다.In this case, the combination circuit 10 includes two NAND gates each having one of two line selection signals L1 and L2 as inputs, and receiving a shift signal as a common input and performing an AND logic to output the result.
또한 상기한 스타트 포인터 레지스터부(20)의 구성은 상기한 2개의 NAND 게이트로부터의 출력중 각각 하나를 입력으로 하고 초기 번지 설정 신호, 라이트_레프트 선택 신호를 공통입력으로 받아 한 라인의 시작 번지를 생성하여 출력하는 2개의 스타트 포인터 레지스터(21, 22)로 이루어진다.In addition, the start pointer register unit 20 is configured by inputting one of the outputs from the two NAND gates as an input, and receiving an initial address setting signal and a write_left selection signal as a common input. It consists of two start pointer registers 21 and 22 which generate and output.
또 이 발명의 실시예에 따른 것으로써 상기한 스타트 포인터 레지스터(21)의 구체적 내부 회로의 구성은 제5도에 도시되어 있는데, 도시된 스타트 포인터 레지스터의 내부회로 구성은 동일한 구성의 총7개의 셀중 하나의 셀을 구현한 것이다.In addition, according to an embodiment of the present invention, the configuration of the specific internal circuit of the start pointer register 21 is shown in FIG. 5, and the internal circuit configuration of the illustrated start pointer register is a total of seven cells having the same configuration. One cell is implemented.
제5도에 도시되어 있듯이 스타트 포인터 레지스터(21)의 구체적 내부 회로의 구성은, 1비트의 정보를 일시 기억하는 래치 회로 2개와 인에이블신호, 라이트_레프트 선택 신호, 초기번지 설정 신호 입력을 제어하는 제어 회로 1개로 이루어지는데 좀 더 상세히 말하면, 클럭1과 래치 회로2(213)의 출력을 입력으로 받아 1비트의 정보를 일시 기억함과 동시에 그 정보를 출력하는 제1래치 회로(211)와; 상기한 제1래치 회로(211)의 출력과 인에이블신호, 라이트_레프트 선택신호, 초기 번지 설정 신호를 입력으로 받아 각 신호에 따라 동작을 제어하는 제어 회로(212)와; 상기한 제어 회로(212)의 출력과 클럭2를 입력으로 받아 1비트의 정보를 일시 기억함과 동시에 그 정보를 출력하는 제2래치 회로(213)로 이루어진다.As shown in FIG. 5, the specific internal circuit configuration of the start pointer register 21 controls two latch circuits for temporarily storing 1-bit information, an enable signal, a write_left selection signal, and an initial address setting signal input. A first latch circuit 211 which receives the outputs of the clock 1 and the latch circuit 2 213 as inputs, temporarily stores one bit of information, and outputs the information; A control circuit 212 which receives an output of the first latch circuit 211 and an enable signal, a write_left selection signal, and an initial address setting signal as inputs and controls an operation according to each signal; The second latch circuit 213 receives the output of the control circuit 212 and the clock 2 as an input, temporarily stores one bit of information, and outputs the information.
여기서 상기한 제어 회로(212)의 구성은 제1래치 회로(211)의 출력과 인에이블 신호를 입력으로 받아 배타적 논리합을 수행하여 값을 출력하는 배타적 OR 게이트(EX-OR1)와; 래치 회로1(211)의 출려과 라이트_레프트 선택 신호를 입력으로 받아 배타적 논리합을 수행하여 값을 출력하는 배타적 OR 게이트(EX-OR2)와; 상기한 배타적 OR 게이트(EX-OR2)의 출력과 인에이블 신호를 입력으로 받아 논리곱을 수행하여 값을 출력하는 AND 게이트(AG)와; 상기한 배타적 OR 게이트(EX-OR1)의 출력과 이니셜 신호로부터 입력(Set)을 받아 부정 논리합을 수행하여 값을 출력하는 NOR 게이트(NOR1)와; 상기한 NOR 게이트1의 출력과 이니셜 신호로부터 리세트입력(Reset)을 받아 부정 논리합을 수행하여 값을 출력하는 NOR 게이트(NOR2)로 이루어진다.The configuration of the control circuit 212 may include an exclusive OR gate EX-OR1 that receives an output of the first latch circuit 211 and an enable signal as an input, performs an exclusive OR, and outputs a value; An exclusive OR gate EX-OR2 that receives the output of the latch circuit 1211 and the write_left select signal as an input and performs an exclusive OR; An AND gate AG which receives the output of the exclusive OR gate EX-OR2 and an enable signal as an input, performs an AND, and outputs a value; A NOR gate NOR1 that receives an input from the output of the exclusive OR gate EX-OR1 and an initial signal, performs a negative OR, and outputs a value; The NOR gate NOR2 receives a reset input from the output of the NOR gate 1 and the initial signal and performs a negative logic sum to output a value.
본 발명에 있어서 제3도의 메인 카운터(40)는 7비트 업 카운터로서 클럭신호(CLOCK)에 동기되어 순차적으로 업 카운팅하게 된다. 스캔 스타트 포인터 레지스터 시그널(SCAN_SPR)은 라인 카운터에서 COM1~COM16 까지 카운팅할 때, 한줄의 시작을 알리는 원 컴(ONE COM) 주기에 해당하는 시그널이다. 여기서, COM1~COM8까지 카운팅할 때는 첫 라인이 디스플레이되고, COM9~COM16까지 카운팅할 때는 두 번째 라인이 디스플레이된다. 블럭 A-B 시그널(BLOCK A_B)은 제4도에 도시되어 있는 것처럼 현재 디스플레이되고 있는 라인을 나타내는 시그널로서 스타트 포인터 레지스터 타임에서 제1스타트 포인터 레지스터(21) 또는 제2스타트 포인터 레지스터(22)를 선택하게 된다.In the present invention, the main counter 40 of FIG. 3 is a 7-bit up counter which is sequentially counted up in synchronization with the clock signal CLOCK. The scan start pointer register signal (SCAN_SPR) is a signal corresponding to the one-com period of the start of a line when counting from the line counter to COM1 to COM16. Here, the first line is displayed when counting from COM1 to COM8, and the second line is displayed when counting from COM9 to COM16. The block AB signal (BLOCK A_B) is a signal representing the line currently being displayed as shown in FIG. 4 to select either the first start pointer register 21 or the second start pointer register 22 at the start pointer register time. do.
상기 구성에 의한 이 발명의 실시예에 따른 캐릭터용 엘씨디 컨트롤러의 라인별 디스플레이 시프트 장치의 동작을 첨부된 도면을 참조로 설명하기로 한다.The operation of the line-by-line display shift device of the character LCD controller according to the embodiment of the present invention by the above configuration will be described with reference to the accompanying drawings.
제4도에서 도시되어 있는 것처럼, 메인 카운터(40)는 스캔타임(SCAN)에서는 클럭(CLOCK)에 동기되어 계속 업 카운팅을 하다가 스캔 스타트 포인터 레지스터 시그널(SCAN_SPR)이 로우(Low)가 된 스타트 포인터 레지스터 타임(SPR)에서는 메인 카운터(40)의 값이 스타트 포인터 레지스터 값인 SPR0:6으로 강제 세팅된다. 즉 메인 카운터(40)는 처음에 스타트 포인터 레지스터 값으로 세팅된 후 계속 업 카운팅을 하여 한 줄에 해당하는 DDRAM(50)을 모두 스캔한 후 다시 스타트 포인터 레지스터 타임이 되면 SPR0:6으로 재세팅되어 다음 줄을 스캔하게 된다.As shown in FIG. 4, the main counter 40 keeps counting up in synchronization with the clock CLOCK at the scan time SCAN, and then the start pointer whose scan start pointer register signal SCAN_SPR is low. At the register time SPR, the value of the main counter 40 is forcibly set to SPR0: 6, which is a start pointer register value. That is, the main counter 40 is initially set to the start pointer register value and continues counting up to scan all the DDRAMs 50 corresponding to one line, and then resets to SPR0: 6 when the start pointer register time is reached again. The next line will be scanned.
그러므로 메인 카운터(40)는 스타트 포인터 레지스터(20)가 지정하는 처음 값부터 다시 지정되는 순간까지 주기적으로 카운팅하게 된다. 메인 카운터(40)의 주기는 스캔 스타트 포인터 레지스터 시그널(SCAN_SPR)에 의해 결정되며, 이는 한 줄이 디스플레이되는 원컴에 해당하고, 카운팅 값은 스타트 포인터 레지스터(20)에 의해 조정된다. 제3도의 스타트 포인터 레지스터부(20)의 제1스타트 포인터 레지스터(21)는 1라인에 해당되는 COM1~COM8 블럭(A 블럭)의 시작점을 기억하고 있으며 제2스타트 포인터 레지스터(22)는 2라인에 해당되는 COM9~COM16 블럭(B 블럭)의 시작점을 기억하고 있다.Therefore, the main counter 40 counts periodically from the initial value designated by the start pointer register 20 to the moment designated again. The period of the main counter 40 is determined by the scan start pointer register signal SCAN_SPR, which corresponds to the one-combe displayed one row, and the counting value is adjusted by the start pointer register 20. The first start pointer register 21 of the start pointer register section 20 of FIG. 3 stores the starting point of the COM1 to COM8 blocks (A blocks) corresponding to one line, and the second start pointer register 22 is two lines. The starting point of the corresponding COM9 to COM16 block (B block) is stored.
제1스타트 포인터 레지스터(21)와 제2스타트 포인터 레지스터(22)의 동작은The operation of the first start pointer register 21 and the second start pointer register 22
제5도에 도시되어 있듯이, 인에이블(enable) 및 라이트/레프트 시그널(Right_Left)에 의해 시프트 라이트시는 -1감소하고, 시프트 레프트시에는 +1증가하는 기능을 가진 7비트 레지스터이다. 그리고 스타트 포인터 레지스터는 이니셜 시그널(Initial)에 의해 제1스타트 포인터 레지스터(21)는 00H번지로, 제2스타트 포인터 레지스터(22)는 40H번지로 초기화된다.As shown in FIG. 5, the enable and write / left signals Right_Left are 7-bit registers having a function of decreasing -1 at shift write and +1 at shift left. The start pointer register is initialized to 00H address and the second start pointer register 22 to 40H address by an initial signal.
제3도에서 도시되어 있는 것처럼, 라인 선택신호(L1, L2)는 디스플레이 시프트시 라인 시프트 인에이블 상태를 나타내는 시그널로서 마이컴의 명령에 의해 하이/로우로 세팅된다. 시프트 시그널(Shift)은 디스플레이 시프트 명령시 하이로 인에이블되고, 이 때 라인 선택 신호(L1, L2)의 상태에 따라 1라인이 인에이블되어 있으면 제1스타트 포인터 레지스터(21)를 인에이블시켜 제1스타트 포인터 레지스터(21)가 라이트/레프트 시그널에 따라 +1 또는 -1 되도록 동작시킨다.As shown in FIG. 3, the line select signals L1 and L2 are signals indicating the line shift enable state at the time of display shift, and are set to high / low by a command of the microcomputer. The shift signal Shift is enabled high during the display shift command. If one line is enabled according to the state of the line select signals L1 and L2, the first start pointer register 21 is enabled and the shift signal Shift is enabled. The one-start pointer register 21 is operated to be +1 or -1 depending on the write / left signal.
이상의 동작을 종합하여 제6도의 (a)를 보면, 사용자가 시프트시키지 않은 초기 상태에서는 라이트_레프트 신호(Right_Left), 시프트 신호(Shift)는 입력되지 않고 각각의 라인 인에이블 신호들(L1, L2)도 마이컴으로부터 입력되지 않는다. 따라서, 초기 번지 설정 신호(Initial)에 의해 제1스타트 포인터 레지스터(21)와 제2스타트 포인터 레지스터(22)는 각 라인의 초기 번지인 00H, 40H로 세팅된다. 여기서, 블록 A-B 신호(BLOCK A_B)는 각 첫 라인을 가리키는 COM1~COM8에서 셀렉트부(30)가 스캔 포인터 레지스터부(20)에서 입력받은 두 개의 초기 번지(SPRA(21)의 출력값, SPRB(22)의 출력값)중에서 첫 라인에 해당하는 제1스타트 포인터 레지스터(21)의 출력값을 메인 카운터(40)로 출력한다(SPR0:6). 따라서, 메인 카운터는 스캔 스타트 포인터 레지스터(SCAN_SPR)의 SPR 구간일 때 초기 번지(SPR0:6)를 입력받아 SCAN 구간에서 카운팅하여 DDRAM에 출력한다(SPR0:6).6A shows that in the initial state in which the user does not shift, the right_left signal Right_Left and the shift signal Shift are not input, and the respective line enable signals L1 and L2 are not input. ) Is not input from the microcomputer. Therefore, the first start pointer register 21 and the second start pointer register 22 are set to 00H and 40H as initial addresses of the respective lines by the initial address setting signal Initial. Here, the block AB signal BLOCK A_B includes two initial addresses (the output values of the SPRA 21 and the SPRB 22 inputted by the select unit 30 from the scan pointer register unit 20 at COM1 to COM8 indicating each first line). ) Outputs the output value of the first start pointer register 21 corresponding to the first line to the main counter 40 (SPR0: 6). Accordingly, the main counter receives an initial address SPR0: 6 during the SPR period of the scan start pointer register SCAN_SPR and counts the SCAN period in the SCAN period and outputs the count to the DDRAM (SPR0: 6).
다음, 제6도의 (b)를 보면 사용자가 두 번째 라인을 왼쪽으로 시프트시킨 경우로서, 이때 마이컴은 L1=0, L2=1의 값을 조합회로(10)로 출력하고 시프트 신호(Shift), 라이트_레프트 신호(Right_Left)가 스타트 포인터 레지스터부(20)로 입력된다. 조합회로부(10)의 두 번째 부정 논리곱(enableB)은 스타트 포인터 레지스터부(20)의 제2스타트 포인터 레지스터(22)를 인에이블시켜 초기 번지(40H)에 +1을 수행한 새로운 시작 번지(41H)를 셀렉트부(30)로 출력한다. 여기서, 셀렉트부(30)는 블록 A-B 신호(BLOCK A_B)가 첫 라인을 가리키는 COM1~COM8에서 스캔 스타트 포인터 레지스터(SCAN_SPR)가 SPR 구간일 때 제1스타트 포인터 레지스터(21)의 초기 번지(00H)를 메인 카운터(40H)로 출력하고, 블록 A-B 신호(BLOCK A_B)가 두 번째 라인을 가리키는 COM9~COM16에서 스캔 스타트 포인터 레지스터(SCAN_SPR)가 SPR구간일 때 새로 계산된 제2스타트 포인터 레지스터(22)의 시작 번지를 메인 카운터(40)로 출력한다. 메인 카운터(40)는 스캔 스타트 포인터 레지스터(SCAN_SPR)가 SCAN 구간일 때 입력받는 시작 번지(00H, 41H)부터 카운팅함으로써 사용자가 시프트한 두 번째 라인만 시프트 된 상태로 디스플레이된다.Next, as shown in (b) of FIG. 6, the user shifts the second line to the left. At this time, the microcomputer outputs the values L1 = 0 and L2 = 1 to the combination circuit 10 and shifts the shift signal, The write_left signal Right_Left is input to the start pointer register unit 20. The second negative AND of the combination circuit unit 10 enables the second start pointer register 22 of the start pointer register unit 20 to perform a new start address (+1) at the initial address 40H. 41H) is output to the select unit 30. Here, the selector 30 is the initial address 00H of the first start pointer register 21 when the scan start pointer register SCAN_SPR is an SPR interval in COM1 to COM8 where the block AB signal BLOCK A_B indicates the first line. Is output to the main counter 40H, and the newly calculated second start pointer register 22 when the scan start pointer register SCAN_SPR is in the SPR section at COM9 to COM16 where the block AB signal BLOCK A_B points to the second line. Start address of the output to the main counter (40). The main counter 40 is displayed in the shifted state of only the second line shifted by the user by counting from the start addresses 00H and 41H received when the scan start pointer register SCAN_SPR is in the SCAN period.
제6도의 (c)의 경우는 제6도의 (a)에서 첫 라인을 오른쪽으로 시프트시킨 결과로서, 기본적인 동작은 상기 제6도의 (b)의 경우와 동일하고 단지 마이컴이 스타트 포인트 레지스터부(20)로 출력하는 라이트_레프트 신호(Right_Left)에 의해 제1스타트 포인터 레지스터(21)가 초기 번지(00H)에서 -1을 함으로써 마지막 번지인 27H이 시작 번지로 새로 새팅된다. 여기서, DDRAM의 시프트 방식은 원형 배열로 되어 있다.In the case of (c) of FIG. 6, the first line is shifted to the right in (a) of FIG. 6, and the basic operation is the same as in the case of (b) of FIG. The first start pointer register 21 is -1 at the initial address (00H) by the write_left signal (Right_Left) to be outputted as) so that the last address 27H is newly reset to the start address. Here, the shift method of DDRAM is a circular arrangement.
제6도의 (d)의 경우는 제6도의 (a)에서 첫 라인과 두 번째 라인을 모두 왼쪽으로 시프트시킨 결과이다.In the case of (d) of FIG. 6, the first and second lines are shifted to the left in FIG.
따라서, 상기와 같이 동작하는 이 발명의 효과는 사용자는 디스플레이 시프트 명령 수행시 모든 라인을 시프트시킬 수도 있고 지정한 특정 라인만 시프트시킬 수도 있으므로 총 80개의 DDRAM을 효율적으로 사용할 수 있을 뿐만 아니라 엘씨디 표시장치에서 여러 가지의 디스플레이 기능을 구현할 수 있게 된다. 특히 4라인의 경우 본 기능을 사용하게 되면 각 라인에 독자적인 디스플레이 영역을 할당하고 본 기능을 사용한 디스플레이 시프트를 통해 많은 양의 데이터를 다기능으로 표현할 수 있게 된다.Therefore, the effect of the present invention operating as described above is that the user can shift all the lines when performing the display shift command or only the specified specific lines, so that not only 80 DDRAMs can be efficiently used, but also the LCD display device. Various display functions can be implemented. In particular, in the case of four lines, this function can be used to allocate a unique display area to each line and to display a large amount of data in a multifunctional manner through the display shift using this function.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019950002513A KR0150130B1 (en) | 1995-02-11 | 1995-02-11 | Line unit display shift device in a lcd controller for charactor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019950002513A KR0150130B1 (en) | 1995-02-11 | 1995-02-11 | Line unit display shift device in a lcd controller for charactor |
Publications (2)
Publication Number | Publication Date |
---|---|
KR960032281A KR960032281A (en) | 1996-09-17 |
KR0150130B1 true KR0150130B1 (en) | 1998-12-15 |
Family
ID=19407988
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019950002513A KR0150130B1 (en) | 1995-02-11 | 1995-02-11 | Line unit display shift device in a lcd controller for charactor |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR0150130B1 (en) |
-
1995
- 1995-02-11 KR KR1019950002513A patent/KR0150130B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR960032281A (en) | 1996-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4737782A (en) | Liquid crystal display drive circuit with variable sequence of backplate scanning and variable duty factor | |
KR0151220B1 (en) | Display driver | |
EP0387550B1 (en) | Display control device | |
GB2231245A (en) | Apparatus for selecting mode of output in a computer system | |
KR0140426B1 (en) | Display controller | |
US4937565A (en) | Character generator-based graphics apparatus | |
US5230066A (en) | Microcomputer | |
EP0349145B1 (en) | Flat panel display attribute generator | |
JPH07107408A (en) | Single chip microcomputer incorporating picture display device | |
KR0150130B1 (en) | Line unit display shift device in a lcd controller for charactor | |
US4755814A (en) | Attribute control method and apparatus | |
US6486865B1 (en) | Semiconductor device, image display system and electronic system | |
US6246388B1 (en) | Display driving circuit for displaying character on display panel | |
KR890002509B1 (en) | Color blinking system | |
JPS599059B2 (en) | Display device character code extension method and device | |
CA1196117A (en) | Electronic display apparatus using time multiplexed data and control signals | |
JP3276205B2 (en) | Writing method of phase change type liquid crystal display | |
JP3277110B2 (en) | Liquid crystal display | |
US5500653A (en) | Character data writing device | |
KR100252446B1 (en) | A system for horizontal scrolling of display data | |
KR0151094B1 (en) | Integrated circuit to control character blanking in the liquid crystal display device | |
US4857909A (en) | Image display apparatus | |
JP2589169B2 (en) | Display circuit | |
KR880000993B1 (en) | Rome use method for a fixed pattern | |
KR100594197B1 (en) | LCD driver for character |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20100528 Year of fee payment: 13 |
|
LAPS | Lapse due to unpaid annual fee |