upd78f0103 Renesas Electronics Corporation., upd78f0103 Datasheet - Page 88

no-image

upd78f0103

Manufacturer Part Number
upd78f0103
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
upd78f0103HMC-5A4-A
Manufacturer:
NEC
Quantity:
20 000
Part Number:
upd78f0103M6MC-5A4
Manufacturer:
NEC
Quantity:
312
4.4 Port Function Operations
4.4.1 Writing to I/O port
(1) Output mode
(2) Input mode
4.4.2 Reading from I/O port
(1) Output mode
(2) Input mode
4.4.3 Operations on I/O port
(1) Output mode
(2) Input mode
88
Caution In the case of a 1-bit memory manipulation instruction, although a single bit is manipulated, the
Port operations differ depending on whether the input or output mode is set, as shown below.
A value is written to the output latch by a transfer instruction, and the output latch contents are output from the
pin.
Once data is written to the output latch, it is retained until data is written to the output latch again.
The data of the output latch is cleared by reset.
A value is written to the output latch by a transfer instruction, but since the output buffer is off, the pin status does
not change.
Once data is written to the output latch, it is retained until data is written to the output latch again.
The output latch contents are read by a transfer instruction. The output latch contents do not change.
The pin status is read by a transfer instruction. The output latch contents do not change.
An operation is performed on the output latch contents, and the result is written to the output latch. The output
latch contents are output from the pins.
Once data is written to the output latch, it is retained until data is written to the output latch again.
The data of the output latch is cleared by reset.
The pin level is read and an operation is performed on its contents. The result of the operation is written to the
output latch, but since the output buffer is off, the pin status does not change.
port is accessed as an 8-bit unit. Therefore, on a port with a mixture of input and output pins, the
output latch contents for pins specified as input are undefined, even for bits other than the
manipulated bit.
CHAPTER 4 PORT FUNCTIONS
User’s Manual U15836EJ5V0UD

Related parts for upd78f0103