English
Language : 

PD17012_15 Datasheet, PDF (77/320 Pages) Renesas Technology Corp – 4-BIT SINGLE-CHIP MICROCONTROLLERS WITH DIGITAL TUNING SYSTEM HARDWARE
µPD17012, 17P012
Table 10-1. Classification of General-Purpose Ports
Classification of General-Purpose Ports
General-purpose ports I/O dedicated Bit I/O
ports
Group I/O
Input dedicated port
Output dedicated port
Port
Port 0A
Port 0B
Port 1A
Port 1D
Port 0D
Port 1B
Port 0C
Port 1C
Port 2E
Port 2F
Port 2G
Port 2H
Port YA
Data Set by:
Port register
Port register
Port register
Port register
Port register
(multiplexed with LCD segment register)
Peripheral register
10.2 Functional Outline of General-Purpose Ports
The general-purpose output ports and the general-purpose I/O ports set in the output mode output a high
or low level from the corresponding pins when data is set to the corresponding port register or port group register.
The general-purpose input ports and the general-purpose I/O ports set in the input mode detect the level of
the signals input to the corresponding pins by reading the contents of the corresponding port register.
The general-purpose I/O ports are set in the input or output mode by the corresponding control register.
In other words, these ports can be set in the input or output mode by program.
P0A to P0D and P1A to P1D are set in the general-purpose port mode on power-on reset.
P2E to P2H and PYA are used as LCD segment signal output pins on power-on reset. To use these ports
as general-purpose output ports, the corresponding control registers must be set independently.
The following subsections 10.2.1 to 10.2.4 explain the port registers, the function of the port group register,
and the functional outline of each port.
Data Sheet U10101EJ4V0DS
75