
CHAPTER 2 PIN FUNCTIONS
Preliminary User’s Manual U16541EJ1V0UM
60
(6) P70 to P711 (port 7) … 3-state I/O
P70 to P711 function as a 12-bit I/O port for which input and output can be set in 1-bit units.
In addition to I/O port pins, these pins can also be used as analog input pins for the A/D converter in the
control mode. When using these pins as analog output pins, set them in the input mode. At this time, do not
read the port.
(a) Port mode
P70 to P711 can be set to input or output in 1-bit units using port mode register 7 (PM7).
(b) Control mode
P70 to P711 function alternatively with ANI0 to ANI11.
(i)
ANI0 to ANI11 (analog input) … Input
These are the analog input pins for the A/D converter.
(7) P90 to P915 (port 9) … 3-state I/O
P90 to P915 function as a 16-bit I/O port for which input and output can be set in 1-bit units.
In addition to I/O port pins, these pins can also be used as serial interface I/O, timer/counter I/O, an address
bus when externally expanding memory, external interrupt request signal inputs, and the key interrupt input
function. The port or control mode can be selected for each bit.
Normal output and N-ch open-drain output can be selected for P90 to P915.
(a) Port mode
P90 to P915 can be set to input or output in 1-bit units using port mode register 9 (PM9) (to use these pins
as the A0 to A15 pins, the mode must be changed in 16-bit units).
(b) Control mode
(i)
SIB1, SIB3 (serial input) … Input
These are the serial receive data input pins for CSIB1 and CSIB3.
(ii)
SOB1, SOB3 (serial output) … Output
These are the serial transmit data output pins for CSIB1 and CSIB3.
(iii) SCKB1, SCKB3 (serial clock) … 3-state I/O
These are the serial clock I/O pins for CSIB1 and CSIB3.
(iv) RXDA1 (receive data) … Input
This is the serial receive data input pin for UARTA1.
(v)
TXDA1 (transmit data) … Output
This is the serial transmit data output pin for UARTA1.
(vi) TIP20, TIP21, TIP30, TIP31, TIP40, TIP41, TIP50, TIP51 (timer input) … Input
These are the external count clock input pins for timers P2, P3, P4, and P5.
(vii) TOP20, TOP21, TOP30, TOP31, TOP40, TOP41, TOP50, TOP51 (timer output) … Output
These are the pulse signal output pins for timers P2, P3, P4, and P5.