English
Language : 

M38203M4 Datasheet, PDF (252/344 Pages) Mitsubishi Electric Semiconductor – 8-BIT SINGLE-CHIP MICROCOMPUTER
APPLICATION
2.7 LCD drive control circuit
2.7.4 Register setting example
Figure 2.7.7 and Figure 2.7.8 show an example of setting registers for LCD display.
[Note on use]
Note : For pulling down ports P0, P1 and P3, refer to “2.7.2 Pins,
(3) Ports P3, P1 and P0 pull–down pins”
ŒSetting of segment output enable register
Select segment pins or others
b7
b0
00
SEG: Segment output enable register [Address 3816]
b0: Segment output enable bit 0
0: Input ports P30–P37
1: Segment output SEG16–SEG23
b1: Segment output enable bit 1
0: Input ports P00, P01
1: Segment output SEG24, SEG25
b2: Segment output enable bit 2
0: Input ports P02–P07
1: Segment output SEG26–SEG31
b3: Segment output enable bit 3
0: Input ports P10, P11
1: Segment output SEG32, SEG33
b4: Segment output enable bit 4
0: Input port P12
1: Segment output SEG34
b5: Segment output enable bit 5
0: Input ports P13–P17
1: Segment output SEG35–SEG39
b7, b6: Fix these bits to “0”
Continued to Figure 2.7.8
Fig. 2.7.7 Example of setting registers for LCD display (1)
2–166
3820 GROUP USER’S MANUAL