English
Language : 

UPD784938 Datasheet, PDF (196/733 Pages) NEC – 16-Bit Single-Chip Microcontrollers
CHAPTER 6 PORT FUNCTIONS
(3) When specified as control signal input/output
By setting (to 1) bits of the port 10 mode control register (PMC10), port 10 can be used as control signal input or output in
1-bit units irrespective of the setting of the port 10 mode register (PM10). When a pin is used as a control signal, the control
signal status can be seen by executing a port read instruction.
Figure 6-78. Control Specification
Control (input)
Control
(output)
PM10n = 0
P10n
n = 0 to 7
RD
PM10n = 1
Internal bus
(a) When port is control signal output
When the port 10 mode register (PM10) is set (to 1), the control signal pin level can be read by executing a port read
instruction.
When PM10 is reset (to 0), the µPD784938 internal control signal status can be read by executing a port read
instruction.
(b) When port is control signal input
Only the port 10 mode register (PM10) is set (to 1), control signal pin levels can be read by executing a port read
instruction.
196
Preliminary User’s Manual U13987EJ1V0UM00