Datasheet
CHAPTER 2 PIN FUNCTIONS
User’s Manual U18698EJ1V0UD
33
2.2.4 P40 (port 4)
P40 functions as a 1-bit I/O port. These pins also function as pins for key interrupt input and power supply voltage
for driving the LCD.
The following operation modes can be specified in 1-bit units.
(1) Port mode
P40 functions as a 1-bit I/O port. P40 can be set to input port or output port in 1-bit units using port mode register
4 (PM4). Use of an on-chip pull-up resistor can be specified by pull-up resistor option register 4 (PU4).
(2) Control mode
P40 functions as key interrupt input and power supply voltage for driving the LCD.
(a) KR0
This is the key interrupt input pins.
(b) V
LC3
This is the power supply voltage pins for driving the LCD.
2.2.5 P100, P101 (port 10)
P100 and P101 function as a 2-bit I/O port. These pins also function as 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
P100 and P101 function as a 2-bit I/O port. P100 and P101 can be set to input or output port in 1-bit units using
port mode register 10 (PM10). Use of an on-chip pull-up resistor can be specified by pull-up resistor option
register 10 (PU10).
(2) Control mode
P100 and P101 function as segment signal output for the LCD controller/driver.
(a) SEG4, SEG5
These pins are the segment signal output pins for the LCD controller/driver.
2.2.6 P112, P113 (port 11)
P112 and P113 function as a 2-bit I/O port. These pins also function as pins for segment signal output pins for the
LCD controller/driver and serial interface data I/O. Either I/O port function (other than segment signal output) or
segment signal output function can be selected using port function register ALL (PFALL).
(1) Port mode
P112 and P113 function as a 2-bit I/O port. P112 and P113 can be set to input or output port in 1-bit units using
port mode register 11 (PM11). Use of an on-chip pull-up resistor can be specified by pull-up resistor option
register 11 (PU11).
(2) Control mode
P112 and P113 function as segment signal output for the LCD controller/driver and serial interface data I/O.