EM78860
8-BIT MICRO-CONTROLLER
• Bit 1 : zero
• Bit 2~4 (Bias1~Bias3) Control bits used to choose LCD operation voltage .
LCD operate voltage
Vop (VDD 5V)
0.60VDD
0.66VDD
0.74VDD
0.82VDD
0.87VDD
0.93VDD
0.96VDD
1.00VDD
VDD=5V
3.0V
000
001
010
011
100
101
110
111
3.3V
3.7V
4.0V
4.4V
4.7V
4.8V
5.0V
• Bit5:port6 switch , 0/1= normal I/O port/COMMON output
• Bit6:port9 low nibble switch , 0/1= normal I/O port/SEGMENT output . Bit7:port9 high nibble switch
PAGE1 :
7
6
5
C2S
4
C1S
3
2
1
-
0
-
OP77
OP76
PSC1
PSC0
• Bit0: unused, please set to ‘0’
• Bit1: unused, please set to ‘0‘
• Bit3~Bit2: counter1 prescaler , reset=(0,0)
(PSC1,PSC0) = (0,0)=>1:1 , (0,1)=>1:2 , (1,0)=>1:4 , (1,1)=>1:8
• Bit4:counter1 source , (0/1)=(32768Hz/3.679MHz if enable)
• Bit5:counter2 source , (0/1)=(32768Hz/3.679MHz if enable) scale=1:1
• Bit6:P76 opendrain control (0/1)=(disable/enable)
• Bit7:P77 opendrain control (0/1)=(disable/enable)
IOCF (Interrupt Mask Register)
7
6
-
5
4
3
2
1
0
INT3
C8_2
C8_1
INT2
INT1
INT0
TCIF
• Bit 0 ~ 7 interrupt enable bit.
0: disable interrupt
1: enable interrupt
• IOCF Register is readable and writable.
It is very important to save ACC,R3 and R5 when processing a interruption.
Address
Instruction
Note
0x08
DISI
;Disable interrupt
;Save ACC
0x09
MOV A_BUFFER,A
SWAP A_BUFFER
SWAPA 0x03
MOV R3_BUFFER,A
MOV A,0x05
MOV R5_BUFFER,A
:
0x0A
0x0B
;Save R3 status
0x0C
0x0D
;Save ROM page register
0x0E
:
:
:
:
:
:
:
:
:
MOV A,R5_BUFFER ;Return R5
MOV 0X05,A
SWAPA R3_BUFFER
MOV 0X03,A
SWAPA A_BUFFER
RETI
;Return R3
;Return ACC
* This specification are subject to be changed without notice.
12
6.24.1998