SN8P2977
8-Bit Micro-Controller with Regulator, PGIA, 24-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 101
Version 1.7
11.7 LCD RAM LOCATION
RAM bank 15’s address vs. Common/Segment pin location
Bit0
Bit1
Bit2
Bit3
Bit4
Bit5
Bit6
Bit7
COM0
COM1
COM2
COM3
-
-
-
-
SEG 0
00H.0
00H.1
00H.2
00H.3
-
-
-
-
SEG 1
01H.0
01H.1
01H.2
01H.3
-
-
-
-
SEG 2
02H.0
02H.1
02H.2
02H.3
-
-
-
-
SEG 3
03H.0
03H.1
03H.2
03H.3
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
SEG 15
0FH.0
0FH.1
0FH.2
0FH.3
-
-
-
-
Example: Enable LCD function.
Set the LCD control bit (LCDEN) and program LCD RAM to display LCD panel.
R-Type LCD Setting:
B0BSET
FLCDMOD0
; R-Type LCD.
B0BCLR
FLCDMOD1
;
B0BSET
FLCDENB
; Enable LCD driver.
C-Type LCD Setting:
B0BCLR
FLCDMOD0
; C-Type LCD.
B0BCLR
FLCDMOD1
;
Delay 5ms
; Delay time for CP-VLCD output stable.
B0BSET
FLCDENB
; Enable LCD driver.