English
Language : 

UPD784938 Datasheet, PDF (193/733 Pages) NEC – 16-Bit Single-Chip Microcontrollers
CHAPTER 6 PORT FUNCTIONS
6.11.2 I/O mode/control mode setting
The port 10 input/output mode is set for each pin by means of the port 10 mode register (PM10) as shown in Figure 6-74.
In addition to their input/output port function, port 10 also have an alternate function as serial interface pin, and the control
mode is specified by setting the port 10 mode control register (PMC10) as shown in Figure 6-75.
Figure 6-74. Port 10 Mode Register (PM10) Format
7
6
5
4
3
2
1
0 Address After reset R/W
PM10 PM107 PM106 PM105 PM104 PM103 PM102 PM101 PM100 0FF2AH
FFH
R/W
PM10n P10n Pin Input/Output Mode Specification
(n = 0 to 7)
0 Output mode (output buffer on)
1 Intput mode (output buffer off)
Figure 6-75. Port 10 Mode Control Register (PMC10) Format
7
6
5
4
3
2
1
0 Address After reset R/W
PMC10 PMC107 PMC106 PMC105 0
0
0
0
0 0FF4AH 00H
R/W
PMC105 P105 Pin Control Mode Specification
0 Input/output port mode
1 SCK3 input/output mode
PMC106 P106 Pin Control Mode Specification
0 Input/output port mode
1 SI3 input mode
PMC107 P107 Pin Control Mode Specification
0 Input/output port mode
1 SO3 output mode
Preliminary User’s Manual U13987EJ1V0UM00
193