Datasheet

CHAPTER 2 PIN FUNCTIONS
User’s Manual U18698EJ1V0UD
35
(1) Port mode
P140 to P143 function as a 4-bit I/O port. P140 to P143 can be set to input or output port in 1-bit units using port
mode register 14 (PM14). Use of an on-chip pull-up resistor can be specified by pull-up resistor option register 14
(PU14).
(2) Control mode
P140 to P143 function as segment signal output pins for the LCD controller/driver.
(a) SEG8 to SEG11
These pins are the segment signal output pins for the LCD controller/driver.
2.2.9 P150 to P153 (port 15)
P150 to P153 function as a 4-bit I/O port. These pins also function as pins for segment signal output pins for the
LCD controller/driver. Either I/O port function or segment signal output function can be selected using port function
register ALL (PFALL).
(1) Port mode
P150 to P153 function as a 4-bit I/O port. P150 to P153 can be set to input or output port in 1-bit units using port
mode register 15 (PM15). Use of an on-chip pull-up resistor can be specified by pull-up resistor option register 15
(PU15).
(2) Control mode
P150 to P153 function as segment signal output for the LCD controller/driver.
(a) SEG12 to SEG15
These pins are the segment signal output pins for the LCD controller/driver.
2.2.10 AVREF (
μ
PD78F041x only)
This is the 10-bit successive approximation type A/D converter reference voltage input pin and the positive power
supply pin of port 2.
When the A/D converter is not used, connect this pin directly to V
DD
Note
.
Note When one or more of the pins of port 2 is used as the digital port pins or for segment output, make AV
REF
the same potential as VDD.
2.2.11 AV
SS (
μ
PD78F041x only)
This is the A/D converter ground potential pin. Even when the A/D converter is not used, always use this pin with
the same potential as the V
SS pin.
2.2.12 COM0 to COM7
These pins are the common signal output pins for the LCD controller/driver.
2.2.13 V
LC0 to VLC3
These pins are the power supply voltage pins for driving the LCD.
2.2.14 RESET
This is the active-low system reset input pin.