VII LCD CONTROLLER BLOCK: LCD CONTROLLER

Setting data in the look-up tables

To set data in the look-up tables, use the look-up-table address register (0x39FFF5) and the look-up-table data register (0x39FFF7). Follow the procedure specified below in programming.

1.To the look-up-table address register (0x39FFF5), write the index (address) at which setting is to be started. When programming newly, write 0x0. When reading or writing to this register, be sure to access it bytewise.

Writing any value to this register selects the specified index in the red look-up table. When 0x0 is written, for example, the beginning entry R[0] of the red look-up table is selected.

2.Write the 4-bit data in the entry R[0] specified in step 1 to LUTDT[3:0] (D[7:4])/look-up-table data register (0x39FFF7). The data corresponds to the 4 high-order bits of the register. Write 0 to the 4 low- order bits of the register. For grayscale mode, write 0x0 to this register.

Writing any value to this register moves the internal pointer to the next entry, G[0]. The pointer moves in

the following order each time data is written: R[0] G[0] B[0] R[1] G[1] B[1]

When the index (address) changes, the look-up-table address register (0x39FFF5) is automatically incremented.

3. Write all necessary data in order of RGB.

Notes: • Upon completion of writing all RGB data (4 bits 3) in the same index to the look-up-table data register (0x39FFF7), the data is actually set in the look-up table. Therefore, even when only the green look-up table is used for display in grayscale mode, always be sure to write 0x0 to the red and blue look-up tables.

If the look-up-table address register (0x39FFF5) is set newly again during writing to any look-up table, the red look-up table is always selected.

B-VII-2-18

EPSON

S1C33L03 FUNCTION PART