English
Language : 

UPD784938 Datasheet, PDF (188/733 Pages) NEC – 16-Bit Single-Chip Microcontrollers
CHAPTER 6 PORT FUNCTIONS
6.11 Port 10
Port 10 is an 8-bit input/output port with an output latch. Input/output can be specified in 1-bit units by setting the port 10 mode
register (PM10). Each pin incorporates a software programmable pull-up resistor. P105 and P107 can be set in the N-ch open-
drain mode.
In addition to its function as an input/output port, port 10 also has an alternate function as serial interface pin.
The operation mode can be specified bit-wise by setting the port 10 mode control register (PMC10), as shown in
Table 6-11. The pin level of all pins can always be read or tested regardless of the alternate-function pin operation.
When RESET is input, port 10 is set as an input port (output high-impedance state), and the output latch contents are
undefined.
Table 6-11. Port 10 Operation Modes
(n = 0 to 7)
Mode
Port Mode
Control Signal Input/Output Mode
Setting Condition
PMC10n = 0
PMC10n = 1
P100 to P104
Input/output port
—
P105
SCK3 input/output
P106
SI3 input
P107
SO3 output
(a) Port mode
Each port specified as port mode by the port 10 mode control register (PMC10) can be specified as input/output in 1-
bit units by setting the port 10 mode register (PM10).
(b) Control signal input/output mode
Pins can be set as control pins in 1-bit units by setting the port 10 mode control register (PMC10).
(i) SCK3 (Serial Clock 3)
SCK3 is the clocked serial interface serial clock input/output pin (in 3-wire serial I/O 3 mode).
(ii) SI3 (Serial Input 3)
SI3 is the serial data input pin (in 3-wire serial I/O 3 mode).
(iii) SO3 (Serial Output 3)
SO3 is the serial data output pin (in 3-wire serial I/O 3 mode).
188
Preliminary User’s Manual U13987EJ1V0UM00