
CHAPTER 2 PIN FUNCTIONS
User’s Manual U15862EJ3V0UD
87
(b) Control mode (alternate function)
P70 to P715 are shared with ANI0 to ANI15, but switching is not possible.
(i)
ANI0 to ANI15 (analog input) ... Input
These are the analog input pins to the A/D converter (ADC).
(8) P80, P81 (port 8) ... Input
Port 8 is a 2-bit I/O port for which input and output can be set in 1-bit units.
In addition to functioning as an I/O port, P80 and P81 can also be used for serial interface (UART2) I/O in
control mode 1, and for serial interface (I
The port mode and control mode (alternate functions) can be selected as the operation mode for each bit, and
are specified by the port 8 mode control register (PMC8).
P80 and P81 can be set to control mode 1 or control mode 2 in 1-bit units by the port 8 function control register
(PFC8).
2
C1) I/O in control mode 2.
(a) Port mode
P80 and P81 can be set to input or output in 1-bit units by the port 8 mode register (PM8).
(b) Control mode (alternate function)
P80 and P81 can be set to the port mode or control mode in 1-bit units by the port 8 mode control register
(PMC8).
(i)
TXD2 (transmit data) ... Output
This is the serial transmit data output pin for UART2.
(ii)
RXD2 (receive data) ... Input
This is the serial receive data input pin for UART2.
(iii) SDA1 (serial data) ... I/O
This is the serial transmit/receive data I/O pin for I
70F3217Y).
2
C1 (only for the
μ
PD703216Y, 703217Y, and
(iv) SCL1 (serial clock) ... I/O
This is the serial clock I/O pin for I
2
C1 (only for the
μ
PD703216Y, 703217Y, and 70F3217Y).
(9) P90 to P915 (port 9) ... I/O
Port 9 is a 16-bit I/O port for which input and output can be set in 1-bit units.
In addition to functioning as an I/O port, P90 to P915 can also be used for lower 16-bit address output within a
24-bit address on the address bus during external access in control mode 1, and for serial interface (UART1,
CSI01, CSIA1) I/O, 16-bit timer I/O, 8-bit timer output, and external interrupt request input in control mode 2.
Moreover, they can also function as 16-bit timer inputs, 8-bit timer inputs, and key interrupt inputs in the input
port mode.
The port mode and control mode (alternate functions) can be selected as the operation mode for each bit, and
are specified by the port 9 mode control register (PMC9).
P90 to P915 can be set to control mode 1 or control mode 2 in 1-bit units by the port 9 function control register
(PFC9).
Normal output or N-ch open-drain output can be selected for P98, P99, P911, and P912.