VII LCD CONTROLLER BLOCK: LCD CONTROLLER
B-VII-2-24
EPSON
S1C33L03 FUNCTION PART
The starting position of the view port is changed by modifying the screen 1 start address register described above.
For example, when the start address is incremented by 16 bits, the pixel displayed at the 17th dot on line 1 moves
to the beginning of the line, and the 16 leading pixels move off the screen. This is the basic operation for panning
an image. However, when this operation is performed, the 16 leading pixels on line 2 are normally displayed at the
end of line 1, resulting in dislocation of the image. To prevent this problem, set an address offset between the last
piece of pixel data on a line and the first piece of pixel data on the next line.
Virtual screen
View port
(LCD panel size)
Horizontal
panel size
Offset
A (HW)
Virtual screen
View port
(LCD panel size)
Horizontal
panel size
B
C
B + C = A (HW)
Figure 2.18 Offsets Comprising a Virtual Screen
Set the offset value in the MADOFS[7:0] (D[7:0])/memory address offset register (0x39FFF1) as a halfword
address. Be aware that if this address is calculated from the number of pixels, the offset value may change
depending on the display mode. When configuring a 248-pixel virtual screen on a horizontal 200-pixel LCD panel,
for example, an offset of 48 pixels is required. The offset value in 1-bpp mode is 3, whereas that in 8-bpp mode is
24.
This setting allows the view port to be moved horizontally (panned) by an amount equal to the offset, by changing
the screen 1 start address register. The values set in the screen 1 start address register are halfword addresses.
Therefore, the view port is moved in 16-pixel units in 1-bpp mode, in 8-pixel units in 2-bpp mode, in 4-pixel units
in 4-bpp mode, and in 2-pixel units in 8-bpp mode.
Movement of the virtual screen in the vertical direction is determined by the installed memory capacity, which is
limited to a maximum of 256K bytes of display memory. To scroll the view port down by one line, set a one-line-
equivalent address plus an offset address in the screen 1 start address register. To scroll the view port up,
decrement the register value. The view port can also be moved in a diagonal direction by controlling addresses. To
scroll the view port in only the horizontal direction, do not add an offset (leave it at 0).
Even when a virtual screen is used, the split-screen display described above is possible. Screen 2 can be panned or
scrolled in the same way as for screen 1. Figure 2.19 shows an LCD-panel configuration when a virtual screen and
split-screen display are used.
Screen 1
start
address
S1VSIZE
+ 1 (lines)
LDVSIZE
+ 1 (lines)
LCD panel
Screen 1
Screen 2
(L 1)
×
16 (pixels)
Virtual screen in the display memory
Screen 1 view port
Image 1
Image 2
Screen 2 view port
(1)
×
16 / BPP
(HW)
BPP = 1, 2, 4, or 8 (bpp)
Screen 2
start
address
Offset
(HW)
Figure 2.19 Virtual Screen and Split-Screen Display
Note: In portrait mode (described later), the memory address offset register (0x39FFF1) has no effect.
Содержание CMOS 32-Bit Single Chip Microcomputer S1C33L03
Страница 4: ......
Страница 14: ......
Страница 15: ...S1C33L03 PRODUCT PART ...
Страница 16: ......
Страница 147: ...S1C33L03 FUNCTION PART ...
Страница 148: ......
Страница 149: ...S1C33L03 FUNCTION PART I OUTLINE ...
Страница 150: ......
Страница 152: ...I OUTLINE INTRODUCTION B I 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 162: ...I OUTLINE LIST OF PINS B I 3 8 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 163: ...S1C33L03 FUNCTION PART II CORE BLOCK ...
Страница 164: ......
Страница 166: ...II CORE BLOCK INTRODUCTION B II 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 172: ...II CORE BLOCK CPU AND OPERATING MODE B II 2 6 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 176: ...II CORE BLOCK INITIAL RESET B II 3 4 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 224: ...II CORE BLOCK BCU Bus Control Unit B II 4 48 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 250: ...II CORE BLOCK ITC Interrupt Controller B II 5 26 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 262: ...II CORE BLOCK DBG Debug Unit B II 7 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 263: ...S1C33L03 FUNCTION PART III PERIPHERAL BLOCK ...
Страница 264: ......
Страница 266: ...III PERIPHERAL BLOCK INTRODUCTION B III 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 292: ...III PERIPHERAL BLOCK 8 BIT PROGRAMMABLE TIMERS B III 3 18 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 318: ...III PERIPHERAL BLOCK 16 BIT PROGRAMMABLE TIMERS B III 4 26 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 322: ...III PERIPHERAL BLOCK WATCHDOG TIMER B III 5 4 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 414: ...III PERIPHERAL BLOCK INPUT OUTPUT PORTS B III 9 26 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 415: ...S1C33L03 FUNCTION PART IV ANALOG BLOCK ...
Страница 416: ......
Страница 418: ...IV ANALOG BLOCK INTRODUCTION B IV 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 434: ...IV ANALOG BLOCK A D CONVERTER B IV 2 16 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 435: ...S1C33L03 FUNCTION PART V DMA BLOCK ...
Страница 436: ......
Страница 438: ...V DMA BLOCK INTRODUCTION B V 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 492: ...V DMA BLOCK IDMA Intelligent DMA B V 3 18 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 493: ...S1C33L03 FUNCTION PART VI SDRAM CONTROLLER BLOCK ...
Страница 494: ......
Страница 496: ...VI SDRAM CONTROLLER BLOCK INTRODUCTION B VI 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 531: ...S1C33L03 FUNCTION PART VII LCD CONTROLLER BLOCK ...
Страница 532: ......
Страница 534: ...VII LCD CONTROLLER BLOCK INTRODUCTION B VII 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Страница 579: ...S1C33L03 FUNCTION PART Appendix I O MAP ...
Страница 580: ......