Epson S1C33L03 用户手册

下载
页码 631
VII LCD CONTROLLER BLOCK: LCD CONTROLLER
B-VII-2-28
EPSON
S1C33L03 FUNCTION PART
7. If necessary, select the pixel clock frequency for use in portrait mode by using the PMODCLK[1:0]
(D[1:0])/portrait mode register (0x39FFFB). Note that, in alternate portrait mode, the pixel clock
frequency is halved compared to that in landscape mode, without specifically changing register settings.
Therefore, the frame rate must be reviewed, including resetting of the non-display-period parameter. For
details on calculating the frame rate, refer to "Frame Rate".
Table 2.15  Clock Settings for Alternate Portrait Mode
PMODCLK1
PMODCLK0
Pixel clock PCLK
Memory clock MCLK
0
0
CLK/2
CLK
0
1
CLK/2
CLK
1
0
CLK/4
CLK/2
1
1
CLK/8
CLK/4
CLK denotes the LCDC clock selected using the LCLKSEL[2:0] (D[2:0])/FIFO control register
(0x39FFF4).
8. Set alternate portrait mode.
PMODEN (D7)/portrait-mode register (0x39FFFB) = "1"
PMODSEL (D6)/portrait-mode register (0x39FFFB) = "1"
Upon completion of the above setting, the display mode is switched to portrait mode.
When using an LCD panel with a vertical resolution of less than 256 lines, a virtual screen similar to the one
in default portrait mode can be configured. The screen can be panned or scrolled by setting a value (including
offset) in the line byte count register, and then controlling the screen 1 start address register.
In alternate portrait mode, the screen can be scrolled in the vertical direction one line at a time.
Comparison of portrait modes
The differences between default portrait mode and alternate portrait mode are summarized in Table 2.16.
      Table 2.16  Differences between Portrait Modes
Parameter
Default portrait mode
Alternate portrait mode
Display
memory
Sufficient display memory must be available
so that the horizontal size following rotation
is the original value to the power of 2. In
many cases, that value differs from the LCD
panel size, and an unused area occurs
unless the value is used as a virtual screen.
To display a 240 
×
 320-pixel image by
rotating a 320 
×
 240-pixel LCD panel 90
degrees, for example, as much display
memory as for a horizontal size of 2
8
 = 256
pixels must be available. For 8-bpp mode,
this is normally 320 
×
 240 = 76,800 bytes,
but for portrait display, 256 
×
 320 = 81,920
bytes are required.
If a virtual screen is not being configured, no
memory area other than that for the image
size is required.
Clock
MCLK for display memory access and the
pixel clock PCLK for LCD display may be
used at the same speed.
MCLK must be twice as fast as PCLK.
PCLK cannot be set to above 12.5 MHz.
Power
consumption
The LCD controller can operate at low
power.
A greater amount of power than in default
portrait mode is consumed.
Vertical scroll
Can be scrolled two lines at a time.
Can be scrolled one line at a time.
Display
performance
Standard performance.
Higher performance than default portrait
mode.