UPD784026 Renesas Electronics Corporation., UPD784026 Datasheet - Page 193

no-image

UPD784026

Manufacturer Part Number
UPD784026
Description
16/8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
(2) When set as an input port
5.9.4 Internal Pull-Up Resistors
5.9.5 Caution
Caution A bit manipulation instruction manipulates one bit as the result, but accesses the port in 8-bit units.
Port 7 does not incorporate pull-up resistors.
A voltage outside the range AV
See 14.5 CAUTIONS in CHAPTER 14 “A/D CONVERTER” for details.
The port pin level can be loaded into an accumulator by means of a transfer instruction. In this case, too, writes can be
performed to the output latch, and data transferred from the accumulator by a transfer instruction, etc., is stored in all output
latches-irrespective of the port input/output specification. However, since the output buffer of a bit specified as an input port
is high-impedance, the data is not output to the port pin (when a bit specified as input is switched to an output port, the output
latch contents are output to the port pin). Also, the contents of the output latch of a bit specified as an input port cannot be
loaded into an accumulator.
Therefore, if a bit manipulation instruction is used on a port with a mixture of input and output pins, the
contents of the output latch of pins specified as inputs will be undefined (excluding bits manipulated with
a SET1 or CLR1 instruction, etc.). Particular care is required when there are bits which are switched
between input and output.
Caution is also required when manipulating the port with other 8-bit operation instructions.
Internal
Bus
SS
to AV
Figure 5-64 Port Specified as Input Port
REF
WR
RD
CHAPTER 5 PORT FUNCTIONS
must not be applied to pins for which P70 to P77 are used as ANI0 to AN17.
PORT
IN
Output
Latch
P7n
n = 0-7
153

Related parts for UPD784026