54
CHAPTER 2 PIN FUNCTIONS
User’s Manual U14701EJ3V0UD
2.2.11 P120 (Port 12)
This is a 1-bit I/O port. Besides serving as an I/O port, this port functions as an analog output of the D/A converter.
(1) Port mode
This is a 1-bit I/O port. It can be specified as an input or output port in 1-bit units with port mode register 12 (PM12).
An on-chip pull-up resistor can be used by setting pull-up resistor option register 12 (PU12).
(2) Control mode
This port functions as an analog output pin of the D/A converter (AO0).
Caution Set this port to input mode using the port mode register 12 and disconnect pull-up resistor
before using the D/A converter.
2.2.12 ANI0 to ANI9
These are A/D converter analog input pins. ANI0 to ANI7 are also used with P10 to P17.
2.2.13 AV
REF0
This is an A/D converter reference voltage input pin. Supply power when using an A/D converter because this
pin also functions as an analog power supply.
When A/D converter is not used, connect this pin to V
SS0
or V
SS1
pin.
2.2.14 AV
REF1
This is a D/A converter reference voltage input pin.
When D/A converter is not used, connect this pin to V
DD0
or V
DD1
pin.
2.2.15 AV
SS0
This is a ground potential pin of A/D converter and D/A converter. Always use the same potential as that of the
V
SS0
or V
SS1
pin even when an A/D converter and D/A converter are not used.
2.2.16 S0 to S39
Note
These are segment signal output pins of the LCD controller/driver.
S0 to S11:
S12 to S39: For dynamic display
Static or dynamic display can be switched
Note
Segment signal output pins vary depending on the product.
μ
PD780316, 780318: S0 to S23 (without alternate pin)
μ
PD780326, 780328: S0 to S31 (without alternate pin)
μ
PD780336, 780338: S0 to S39 (without alternate pin)
μ
PD78F0338:
S0 to S39 (S24 to S31 and P90 to P97, and S32 to S39 and P80 to P87 are
alternate-function pins. These functions can be switched with port functions in
8-bit units.)
2.2.17 COM0 to COM3
These are common signal output pins (for dynamic display) of the LCD controller/driver.
2.2.18 SCOM0
This is a common signal output pin (for static display) of the LCD controller/driver.