Pin Functions; Port 1 Input Pull-Up Mos; Table 9.2 Port 1 Input Pull-Up Mos States - Renesas H8S/2158 User Manual

16-bit single-chip microcomputer h8s family/h8s/2100 series
Table of Contents

Advertisement

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
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
OEn
Pin function
P17 to P10 input pins
Note: n = 7 to 0
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
Hardware Standby
Reset
Mode
Off
Off
Legend:
Off:
Always off.
On/Off: On when P1DDR = 0 and P1PCR = 1; otherwise off.
0
P17 to P10 input pins
0
P17 to P10 output pins
Software Standby Mode
On/Off
1
A7 to A0 output pins, CPA7 to CPA0
output pins
1
0
PW7 to PW0 output pins
In Other
Operations
On/Off
Rev. 3.00 Jan 25, 2006 page 211 of 872
Section 9 I/O Ports
1
REJ09B0286-0300

Advertisement

Table of Contents
loading

Table of Contents