English
Language : 

UPD784938 Datasheet, PDF (179/733 Pages) NEC – 16-Bit Single-Chip Microcontrollers
CHAPTER 6 PORT FUNCTIONS
6.9 Port 7
Port 7 is an 8-bit input/output port. In addition to operating as an input/output port, it also operates as the A/D converter analog
input pins (ANI0 to ANI7).
Input/output can be specified in 1-bit units by setting the port 7 mode register (PM7).
Pin levels can be read or tested at any time irrespective of alternate-function operations.
When RESET is input, port 7 is set as an input port (output high-impedance state), and the output latch contents are undefined.
6.9.1 Hardware configuration
The port 7 hardware configuration is shown in Figure 6-60.
Figure 6-60. Port 7 Block Diagram
WRPM7
RDPM7
Port 7 mode register
PM7n
WRP7
Internal
bus
RDP7
Output latch
P7n
P7n
(n = 0 to 7)
A/D converter
Preliminary User’s Manual U13987EJ1V0UM00
179