Unde
deeopmen
Preliminary Specifications REV.E
Specifications in this manual are tentative and subject to change.
LCD Drive Control Circuit
Mitsubishi microcomputers
M30220 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
125
Figure 1.16.2. LCD-related registers
LCD frame frequency counter (Note)
Symbol
LCDTIM
Address
0124
16
When reset
XX
16
Function
W
R
b7
b0
8 bits timer
00
16
to FF
16
Values that can be set
Segment output enable register
Symbol
SEG
Address
0122
16
When reset
00
16
Bit name
Function
Bit symbol
W
R
b7
b6
b5
b4
b3
b2
b1
b0
SEGO0
Segment output enable
bit 0
Segment output enable
bit 1
Segment output enable
bit 2
Segment output enable
bit 3
Segment output enable
bit 4
Segment output enable
bit 5
Segment output enable
bit 6
LCD output enable bit
0 : I/O ports P11
0
to P11
4
1 :
Segment output SEG
24
to SEG
28
0 : I/O ports P11
5
, P11
6
1 :
Segment output SEG
29
,
SEG
30
0 : I/O ports P11
7
1 :
Segment output SEG
31
0 : I/O ports P12
0
to P12
5
1 :
Segment output SEG
32
to SEG
37
0 : I/O ports P12
6
to P12
7
1 :
Segment output SEG
38
to SEG
39
0 : I/O ports P0
0
to P0
7
1 :
Segment output SEG
40
to SEG
47
0 : disable
1 : enable
SEGO1
SEGO2
SEGO3
SEGO4
SEGO5
0 : I/O ports P10
0
to P10
7
1 :
Segment output SEG
16
to SEG
23
SEGO6
SEGO7
Note : LCDCK is a clock for a LCD timing controller.
LCD mode register
Symbol
LCDM
Address
0120
16
When reset
0X000000
2
Bit name
Function
Bit symbol
W
R
b7
b6
b5
b4
b3
b2
b1
b0
0 0 : Not used
0 1 : 2 duty (use COM0, COM1)
1 0 : 3 duty (use COM0–COM2)
1 1 : 4 duty (use COM0–COM3)
0 : 1/3 bias
1 : 1/2 bias
b1 b0
PUMP
LCDEN
LCDT1
BIAS
LCDT0
Bias control bit
LCD enable bit
0 : LCD OFF
1 : LCD ON
Voltage multiplier
control bit
0 : Voltage multiplier disable
1 : Voltage multiplier enable
LCDCK count source
select bit (Note)
0 : f
32
1 : f
C1
LSRC
LRAMOUT
LCDRAM output bit
0 : LCD waveform output
1 : LCDRAM data output
Duty ratio select bit
Nothing is assigned.
In an attempt to write to this bit, write “0”. The value, if read, turns out to be
indeterminate.
Note: Set this register when LCD output enable bit is “0” (disable).