DOCUMENT NUMBER: REV:
00
DATE PRINTED:
SHEET:
STANDARD NAME:
7.4 CHARACTER GENERATOR RAM (CGRAM)
The CGRAM stores the pixel information (1 = pixel on, 0 = pixel off) for the eight user-
definable 5x8 characters. Valid CGRAM addresses are 00H to 3FH. CGRAM not being used to
define characters can be used as general purpose RAM (lower 5 bits only). Character codes 00H
to 07H (or 08H to 0FH) are assigned to the user-definable characters (see section 5.0 Character
Font Tables). The table below shows the relationship between the character codes, CGRAM
addresses, and CGRAM data for each user-definable character.
D7
D3D4D5D6
D2 D0 A3D1
A2
A4A5
A1
A0
D3
D2
D4D5
D6D7
D0D1
00X000
00
000
1
XXX
Character code
CGRAM address
CGRAM
data
000
001
010
011
100
101
110
111
000
1
000
1
1
CGRAM
000
0
00
00
00
00
0000 001 0X
0
11
1
11
0
1
1
1
1
0
0
0
0
00
1
1000X
1
1
0
0
0
XX
1
0
000
0
1 0
000
0
000
1
CGRAM
0
000
0
XX0
011101
1
X000
01
001
0
0
0
0
1
1
1
1
110
111
X0
0
0
1
1
0
000
0
0
CGRAM
000
000
0
0
0
0
0
000
1
(1)
(2)
(8)
1
1
1
1
0
0
0
0
1
0
0
1
1
0
1
1
1
1
1
1
1
1
1
0
0
0
1
1
0
0
0
1
1
1
1
1
0
x = don't care
7.5 INSTRUCTIONS
Instruction RS R/W DB7
DB6 DB5 DB4 DB3 DB2 DB1 DB0
Clear display
0000000001
Cursor home
000000001x
Entry mode set
00000001I/DS
Display on/off control
0000001DCB
Cursor/display shift
000001S/CR/Lxx
Function set
00001DLNxBR1BR0
CGRAM address set
0001
CGRAM address
DDRAM address set 0 0 1
DDRAM address
Address counter read 0 1 BF=0
AC contents
DDRAM or CGRAM write 1 0
Write data
DDRAM or CGRAM read 1 1
Read data
x = don’t care
1
1
1
1
1
1
1 0
1
1
1
1
1
1
1
1
1
18 of 24
M0420SD-204SDAR1-3
相关PDF资料
M1MA142WAT1G DIODE SW DUAL SS CA 80V SOT-323
M1MA142WKT1G DIODE SW DUAL SS CC 80V SOT-323
M1MA152WAT1 DIODE SWITCH DUAL CA 80V SC59
M1MA152WKT1G DIODE SWITCH DUAL CA 80V SC59
M2256PW DISPLAY SCREEN 22" MULTI-TOUCH
M30L40C-E3/4W DIODE SCHOTTKY 30A 40V TO-220AB
MAN6910 LED 7-SEG DUAL CA RED RHDP .56"
MB203LCD-1 LCD MOD W/CABLE/CONN FOR MB203A
相关代理商/技术参数
M0425SBA109 制造商:n/a 功能描述:Ships in 2 days
M04350012 制造商:Molex 功能描述:
M04-390DJ 制造商:Schurter Electronic Components 功能描述:DC SOCKET 1.05MM PCB JSBJ4 - Bulk
M0440HCZ933 制造商:n/a 功能描述:Ships in 2 days
M0445SC129 制造商:n/a 功能描述:Ships in 2 days
M045 制造商:Kemo Electronic 功能描述:Three Way Crossover
M0452/00 制造商:CHESIVALE ELECTRONICS 功能描述:TESTER TELEPHONE DSP COMPACT
M0459/01 制造商:CHESIVALE ELECTRONICS 功能描述:CORD SET BT