RAiO RA8806 - Display Future
RAiO RA8806 - Display Future
RAiO RA8806 - Display Future
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Version 1.3<br />
<strong>RA8806</strong><br />
Two Layers Character/Graphic LCD Controller<br />
Table 6-15 : Key Number Mapping Table (Long Key)<br />
ROW #<br />
0 1 2 3 4 5 6 7<br />
0<br />
80h<br />
81h<br />
82h<br />
83h<br />
84h<br />
85h<br />
86h<br />
87h<br />
1<br />
90h<br />
91h<br />
92h<br />
93h<br />
94h<br />
95h<br />
96h<br />
97h<br />
2<br />
A0h<br />
A1h<br />
A2h<br />
A3h<br />
A4h<br />
A5h<br />
A6h<br />
A7h<br />
COL #<br />
3<br />
4<br />
5<br />
B0h B1h B2h B3h B4h B5h B6h B7h<br />
C0h C1h C2h C3h C4h C5h C6h C7h<br />
D0h D1h D2h D3h D4h D5h D6h D7h<br />
6<br />
E0h<br />
E1h<br />
E2h<br />
E3h<br />
E4h<br />
E5h<br />
E6h<br />
E7h<br />
7<br />
F0h<br />
F1h<br />
F2h<br />
F3h<br />
F4h<br />
F5h<br />
F6h<br />
F7h<br />
When the Multi-Key function is applied, the pressed keys will be saved in the system each with KSDR0,<br />
KSDR1 and KSDR2. Note that the priority of keys saving is determined on the value size of Key-code,<br />
not the orders of keys pressing, please refer to the following example:<br />
Press the Key-code in turn of 0x44, 0x00 and 0x22, press Multi-Key at the same time, the Key-code will<br />
be saved in KSDR:<br />
KSDR0 = 0x00<br />
KSDR1 = 0x22<br />
KSDR2 = 0x44<br />
The definition of Key-code is described in the registers KSDR0 ~ 2 [A2h ~ A4h]. The basic features of<br />
above Key-Scan settings are introduced as follows:<br />
Table 6-16<br />
Reg. Bit_Num Description Reference<br />
Bit 7<br />
Key-Scan enable bit<br />
Bit 6<br />
Key-Scan size selection<br />
KSCR1<br />
Bit [5:4]<br />
Key-Scan sampling times setting<br />
REG[A0h]<br />
Bit 3<br />
Long key function enable<br />
Bit [2:0]<br />
Key-Scan scan frequency setting<br />
KSCR2<br />
Bit [3:2]<br />
Bit [1:0]<br />
long key timing adjustment<br />
Pressed key number<br />
REG[A1h]<br />
KSDR0<br />
KSDR1<br />
KSDR2<br />
Bit [7:0] Key code for pressed key REG[A2h ~ A4h]<br />
INTR<br />
Bit 5<br />
Bit 1<br />
Key-Scan interrupt enable<br />
Key-Scan Interrupt Status bit<br />
REG[0Fh]<br />
<strong>RAiO</strong> TECHNOLOGY INC. 53/193 www.raio.com.tw