Setting The Lcd Panel; Types Of Panels; Resolution - Epson CMOS 32-Bit Single Chip Microcomputer S1C33L03 Technical Manual

Cmos 32-bit single chip microcomputer
Table of Contents

Advertisement

VII LCD CONTROLLER BLOCK: LCD CONTROLLER

Setting the LCD Panel

Types of Panels

The LCD controller supports the following types of single-LCD panels.
• 4- or 8-bit monochrome passive LCD panel
• 4- or 8-bit color passive LCD panel
Dual panels are not supported.
The type of LCD panel used must be set in the LCD controller in advance, using the control bits described below.
Selecting between color and monochrome
Use LDCOLOR (D5)/LCDC mode register 0 (0x39FFE1) to select the type of LCD panel, either color or
monochrome.
LDCOLOR = "1": Color panel selected
LDCOLOR = "0": Monochrome panel selected (default)
Selecting the data width
Use LDDW[1:0] (D[1:0])/LCDC mode register 0 (0x39FFE1) to select the data width and format.
LDCOLOR
0
1

Resolution

Set the resolution of the LCD panel in accordance with the procedure specified below.
Horizontal resolution
Set the value shown below in the LDHSIZE[5:0] (D[5:0])/horizontal panel size register (0x39FFE4).
Horizontal resolution (number of pixels)
LDHSIZE[5:0] = —————————————————— - 1
For example, if the LCD panel has a horizontal resolution of 320 dots, set 19 (= 0x13) in LDHSIZE.
Note: Do not set a value less than 1 in LDHSIZE.
Vertical resolution
Set the value shown below in LDVSIZE[9:0] (D[9:0])/vertical panel size register (0x39FFE6, 0x39FFE5).
LDVSIZE[9:0] = Vertical resolution (number of lines) - 1
For example, if the LCD panel has a vertical resolution of 240 lines, set 239 (= 0xEF) in LDVSIZE.
B-VII-2-8
Table 2.4 Selection of the LCD Panel
LDDW1
LDDW0
0
0
1
1
0
1
0
0
1
1
0
1
16
EPSON
LCD panel
Mono Single 4-bit passive LCD
Mono Single 8-bit passive LCD
Reserved
Reserved
Color Single 4-bit passive LCD
Color Single 8-bit passive LCD format 1
Reserved
Color Single 8-bit passive LCD format 2
S1C33L03 FUNCTION PART

Advertisement

Table of Contents
loading

Table of Contents