UPD78F9418AGK-9EU Renesas Electronics America, UPD78F9418AGK-9EU Datasheet - Page 90

no-image

UPD78F9418AGK-9EU

Manufacturer Part Number
UPD78F9418AGK-9EU
Description
Manufacturer
Renesas Electronics America
Datasheet

Specifications of UPD78F9418AGK-9EU

Lead Free Status / Rohs Status
Supplier Unconfirmed

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPD78F9418AGK-9EU
Manufacturer:
NEC
Quantity:
1 000
Part Number:
UPD78F9418AGK-9EU
Manufacturer:
NEC
Quantity:
20 000
Part Number:
UPD78F9418AGK-9EU-A
Manufacturer:
Renesas Electronics America
Quantity:
10 000
4.4 Operation of Ports
below.
4.4.1 Writing to I/O port
4.4.2 Reading from I/O port
4.4.3 Arithmetic operation of I/O port
88
The operation of a port differs depending on whether the port is set in the input or output mode, as described
(1)
(2)
(1)
(2)
(1)
(2)
In output mode
A value can be written to the output latch of a port by using a transfer instruction. The contents of the output
latch can be output from the pins of the port.
Once data is written to the output latch, it is retained until new data is written to the output latch.
In input mode
A value can be written to the output latch by using a transfer instruction. However, the status of the port pin
is not changed because the output buffer is off.
Once data is written to the output latch, it is retained until new data is written to the output latch.
Caution A 1-bit memory manipulation instruction is executed to manipulate 1 bit of a port.
In output mode
The contents of the output latch can be read by using a transfer instruction. The contents of the output latch
are not changed.
In input mode
The status of a pin can be read by using a transfer instruction. The contents of the output latch are not
changed.
In output mode
An arithmetic operation can be performed on the contents of the output latch. The result of the operation is
written to the output latch. The contents of the output latch are output from the port pins.
Once data is written to the output latch, it is retained until new data is written to the output latch.
In input mode
The contents of the output latch become undefined. However, the status of the pin is not changed because
the output buffer is off.
Caution A 1-bit memory manipulation instruction is executed to manipulate 1 bit of a port.
However, this instruction accesses the port in 8-bit units.
executed to manipulate a bit of an I/O port, therefore, the contents of the output latch of the
pin that is set in the input mode and not subject to manipulation become undefined.
However, this instruction accesses the port in 8-bit units.
executed to manipulate a bit of an I/O port, therefore, the contents of the output latch of the
pin that is set in the input mode and not subject to manipulation become undefined.
CHAPTER 4 PORT FUNCTIONS
User’s Manual U13952EJ3V1UD
When this instruction is
When this instruction is

Related parts for UPD78F9418AGK-9EU