ra8816 RAIO Technology Inc., ra8816 Datasheet - Page 16

no-image

ra8816

Manufacturer Part Number
ra8816
Description
144x65 Character/graphic Lcd Driver
Manufacturer
RAIO Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ra8816N-S
Manufacturer:
RAIO
Quantity:
5 200
Preliminary Version 1.6
RAiO TECHNOLOGY INC.
[07h] Key-scan Control Register (KEYR) (Write Only)
[07h] Key-scan Data Register (KSDR) (Read Only)
KSB: Key-scan control. 0
KDB[1..0]: Setup the de-bounce times of Key-scan in Auto-Mode. The one time means the time that Key-
KSTB_SEL: In non-Auto-mode, 0
K_AUTO: Setup the scan mode. 1
IRE: Setup the Interrupt of Key-scan. 0
KF[1..0]: Setup the frequency of Key-scan.
KSTB[1..0]: In Non-Auto-Mode, These two bits are used to setup the strobe for the Row of key matrix. If
If K_AUTO = 0:
SIRQ: Indicate the interrupt of Key-scan. This bit was clear when REG[0Fh] bit 1 write “0”.
KSTB[1..0]: These two bit show which pin of KST[3..0] active.
KSD[4..0]: KIN Return Data. These bits are used in Non-Auto-Mode. The MPU can read data from
RW
RW
0
1
Generate hardware interrupt while key was pressed.
into AKD[6..0] for MPU reading. 0
AKD[6..0]. The MPU has to read data from KSTB[1..0] and KSD[4..0] to make sure which key
was pressed. Of course, MPU could know if not only one key pressed at the same time In Non-
Auto-Mode.
SIRQ
scan for one loop.
any key pressed, the MPU can read data from KSTB[1..0] and KSD[4..0] to make sure which
key was pressed. The strobe data are also readable from Bit[6..5] of register KSDR.
KSTB[1..0] and KSD[4..0] to make sure which key was pressed.
DB7
KSB
DB7
KSTB[1..0] 。 In Auto-Mode, the DB[1..0] is also defined as KF[1..0].
KF1
0
0
1
1
KSTB1
KDB1
DB6
DB6
KF0
Key-scan disable. 1
0
1
0
1
KDB1
KSTB0
0
0
1
1
KDB0
DB5
DB5
the DB[1..0] are defined as KF[1..0]. 1
Auto-Mode. The RA8816 will auto detect the key and store the code
Pulse Width
KDB0
1.024ms
2.048ms
KSTB_SE
0
1
0
1
256us
512us
KSD4
DB4
DB4
Table 5-7
Table 5-8
L
Hardware Interrupt disable while key was pressed. 1
16/68
Non-Auto-Mode. The RA8816 will not store the code to
Key-scan enable.
K_AUTO
KSD3
DB3
Times
DB3
16
32
64
8
Key-scan Cycle Time
144x65 Character/Graphic LCD Driver
KSD2
DB2
DB2
IRE
1.024ms
2.048ms
4.096ms
9.182ms
(4x5)
KSTB1
KSD1
KF1/
DB1
DB1
The DB[1..0] are defined as
www.raio.com.tw
KSTB0
KSD0
KF0/
DB0
DB0
RA8816

Related parts for ra8816