RA8816
Preliminary Version 1.6
144x65 Character/Graphic LCD Driver
If K_AUTO = 1:
RW
1
DB7
DB6
DB5
DB4
DB3
DB2
DB1
DB0
SIRQ
AKD6
AKD5
AKD4
AKD3
AKD2
AKD1
AKD0
SIRQ: Indicate the interrupt of Key-scan. This bit was clear when REG[0Fh] bit 1 write “0”.
AKD[6..0]: Scan Data(Code). In Auto–Mode, the MPU read data from this register to know the status of
key matrix. The RA8816 supports 4x5 key matrix -- total 20Keys. The BCD number of 0~19h
are mapping to these keys.
Table 5-9
AKD[6..0]
0~19
Scan Data
Key No. Input
Long Key No. Input
Key Release
20~39
42
Other
Reserved
[08h] Scroll Window Start X Register (SWSXR)
RW
0
DB7
--
DB6
--
DB5
--
DB4
DB3
DB2
DB1
DB0
SSX4
SSX3
SSX2
SSX1
SSX0
SSX[4..0]: Setup Segment (X) start point of scroll window. The unit is half size width(8-Pixels).
[09h] Scroll Window Start Y Register (SWSYR)
RW
0
DB7
--
DB6
--
DB5
DB4
DB3
DB2
DB1
DB0
SSY5
SSY4
SSY3
SSY2
SSY1
SSY0
SSY[5..0]: Setup the Common (Y) start point of scroll window. The unit is pixel.
[0Ah] Scroll Window Range X Register (SWRXR)
RW
0
DB7
--
DB6
--
DB5
--
DB4
DB3
DB2
DB1
DB0
SRX4
SRX3
SRX2
SRX1
SRX0
SRX[4..0]: Setup Segment (X) offset of scroll window. The unit is half size width(8-Pixels).
[0Bh] Scroll Window Range Y Register (SWRYR)
RW
0
DB7
DB6
--
DB5
DB4
DB3
DB2
DB1
DB0
PINV
SRY5
SRY4
SRY3
SRY2
SRY1
SRY0
PINV : Invert area select. 0 Î Whole screen invert. 1 Î Partial screen invert.
SRY[5..0]: Setup the Common (Y) offset of scroll window. The unit is pixel.
RAiO TECHNOLOGY INC.
17/68
www.raio.com.tw