beautypg.com

3 port 1 pull-up mos control register (p1pcr), 4 pin functions – Renesas H8S/2111B User Manual

Page 135

background image

Rev. 1.00, 05/04, page 101 of 544

7.1.3

Port 1 Pull-Up MOS Control Register (P1PCR)

P1PCR controls the on/off state of the port 1 on-chip input pull-up MOSs.

Bit Bit

Name

Initial
Value R/W Description

7 P17PCR

0 R/W

6 P16PCR

0 R/W

5 P15PCR

0 R/W

4 P14PCR

0 R/W

3 P13PCR

0 R/W

2 P12PCR

0 R/W

1 P11PCR

0 R/W

0 P10PCR

0 R/W

When a P1PCR bit is set to 1 with the input port
setting, the input pull-up MOS is turned on.

7.1.4 Pin

Functions

• P17/PW7 to P10/PW0

The pin function is switched as shown below according to the combination of the OEn bit in
PWOERA of PWM and the P1nDDR bit.

P1nDDR 0

1

OEn

 0

1

Pin Function

P17 to P10 input pins

P17 to P10

output pins

PW7 to PW0

output pins

[Legend]
n = 7 to 0

This manual is related to the following products: