
50
Chapter 2
Pin Functions
User’s Manual U16702EE3V2UD00
(6)
P70 to P715 (Port 7) … Bi-directional I/O
Port 7 is 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, P70 to P715 can also be used as analog output pins for the A/D con-
verter in the control mode. However, they cannot be switched between input port and analog out-
put pin.
(a) Port mode
P70 to P715 can be set to input or output in 1-bit units using port mode register 7 (PM7).
(b) Control mode
P70 to P715 can be set to control modes in 1-bit units using port mode control register 7 (PMC7)
•
ANI0 to ANI15 (analog inputs 0 to 15) … Input
These are the analog input pins for the A/D converter.
electronic components distributor