|
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
|
▷ |