English
Language : 

H8S2158 Datasheet, PDF (263/927 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2100 Series
Section 9 I/O Ports
9.1.4 Pin Functions
The relationship between register setting values and pin functions are as follows in each operating
mode. In the tables, the symbol “—” stands for Don't care.
Extended Mode:
The function of port 1 pins is switched as shown below according to the P1nDDR bit.
P1nDDR
Pin function
Note: n = 7 to 0
0
P17 to P10 input pins
1
A7 to A0 output pins, CPA7 to CPA0
output pins
Single-Chip Mode:
The function of port 1 pins is switched as shown below according to the combination of the OEn
bit in PWOERA of PWM and the P1nDDR bit.
P1nDDR
0
OEn
—
Pin function
P17 to P10 input pins
Note: n = 7 to 0
1
0
1
P17 to P10 output pins PW7 to PW0 output pins
9.1.5 Port 1 Input Pull-Up MOS
Port 1 has a built-in input pull-up MOS that can be controlled by software. This input pull-up
MOS can be used regardless of the operating mode. Table 9.2 summarizes the input pull-up MOS
states.
Table 9.2 Port 1 Input Pull-Up MOS States
Reset
Hardware Standby
Mode
Software Standby Mode
Off
Off
On/Off
Legend:
Off: Always off.
On/Off: On when P1DDR = 0 and P1PCR = 1; otherwise off.
In Other
Operations
On/Off
Rev. 3.00 Jan 25, 2006 page 211 of 872
REJ09B0286-0300