English
Language : 

UPD784938 Datasheet, PDF (180/733 Pages) NEC – 16-Bit Single-Chip Microcontrollers
CHAPTER 6 PORT FUNCTIONS
6.9.2 I/O mode/control mode setting
The port 7 input/output mode is set for each pin by setting the port 7 mode register (PM7) as shown in Figure 6-61.
In addition to the operation of port 7 as an input/output port, analog signal input can be performed at any time. Mode setting
is not necessary.
Specification of the A/D conversion operation is performed by ADM of the A/D converter (see CHAPTER 16 A/D
CONVERTER for details).
Figure 6-61. Port 7 Mode Register (PM7) Format
7
6
5
4
3
2
1
0 Address After reset R/W
PM7 PM77 PM76 PM75 PM74 PM73 PM72 PM71 PM70 0FF27H
FFH
R/W
PM7n P7n Pin Input/Output Mode Specification
(n = 0 to 7)
0 Output mode (output buffer on)
1 Intput mode (output buffer off)
180
Preliminary User’s Manual U13987EJ1V0UM00