EM78808
8-bit Micro-controller
PORT74 ~ PORT76 's wakeup function is controlled by IOCF bit4 and ENI instruction. They are falling edge
trigger.
PORT77 's wakeup function is controlled by IOCF bit5 and ENI instruction. It's falling edge or rising edge
trigger (controlled by CONT register).
PAGE1 (LCD address)
7
6
5
4
3
2
1
0
LCDA7
LCDA6
LCDA5
LCDA 4
LCDA 3
LCDA 2
LCDA 1
LCDA 0
Bit 0 ~ Bit 7 (LCDA0 ~ LCDA7) : LCD address for LCD RAM reading or writing
The data in the LCD RAM correspond to the COMMON and SEGMENT signals as the table .
COM23 ~ COM16
COM15 ~COM8
COM7 ~ COM0
(set R9 PAGE1 bit7=1) (set R9 PAGE1 bit7=0) (set R9 PAGE1 bit7=0)
Address 100H
Address 101H
Address 102H
:
Address 80H
Address 81H
Address 82H
:
Address 00H
Address 01H
Address 02H
:
SEG0
SEG1
SEG1
:
:
:
:
:
:
:
:
:
Address 14EH
Address 14FH
Address 150H
:
Address CEH
Address CFH
Address D0H
:
Address 4EH
Address 4FH
Address 50H
:
SEG78
SEG79
Empty
:
Address 17FH
Address FFH
Address 7FH
Empty
RB (PORTB I/O data, LCD data)
PAGE0 (PORTB I/O data register)
7
6
5
4
3
2
1
0
PB7
PB6
PB5
PB4
PB3
PB2
PB1
PB0
Bit 0 ~ Bit 7 (PB0 ~ PB7) : 8-bit PORTB(0~7) I/O data register
User can use IOC register to define input or output each bit.
PAGE1 (LCD data buffer)
7
6
5
4
3
2
1
0
LCDD7
LCDD6
LCDD5
LCDD4
LCDD3
LCDD2
LCDD1
LCDD0
Bit 0 ~ Bit 7 (LCDD0 ~ LCDD7) : LCD data buffer for LCD RAM reading or writing
Example.
MOV
MOV
MOV
MOV
MOV
MOV
:
A,@0
R9_PAGE1,A
RA_PAGE1,A
A,@0XAA
RB_PAGE1,A
A,RB_PAGE1
;ADDRESS
;WRITE DATA 0XAA TO LCD RAM
;READ DATA FROM LCD RAM
RC (PORTC I/O data, Data RAM data)
PAGE0 (PORTC I/O data register)
7
6
5
4
3
2
1
0
PC7
PC6
PC5
PC4
PC3
PC2
PC1
PC0
Bit 0 ~ Bit 7 (PC0 ~ PC7) : 8-bit PORTC(0~7) I/O data register
User can use IOC register to define input or output each bit.
______________________________________________________________________________________________________________________________________________________
* This specification is subject to change without notice.
8/1/2004 (V3.1)
22