14 port p control register (ppcr) – Renesas SH7781 User Manual

Page 1442

Advertising
background image

28. General Purpose I/O Ports (GPIO)

Rev.1.00 Jan. 10, 2008 Page 1412 of 1658
REJ09B0261-0100

28.2.14

Port P Control Register (PPCR)

PPCR is a 16-bit readable/writable register that selects the pin function and controls the input pull-
up MOS.

0

1

2

3

4

5

6

7

8

9

10

11

12

13

15

14

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

PP0

MD0

PP0

MD1

PP1

MD0

PP1

MD1

PP2

MD0

PP2

MD1

PP3

MD0

PP3

MD1

PP4

MD0

PP4

MD1

PP5

MD0

PP5

MD1

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

Bit:

Initial value:

R/W:

Bit Bit

Name

Initial
value R/W Description

15 to 12

⎯ All

0

R/W

Reserved

These bits are always read as 0, and the write value
should always be 0.

11

10

PP5MD1

PP5MD0

0

0

R/W

R/W

PP5 Mode

00: PCIC/DU module (

DEVSEL/DCLKOUT)*

When the bus mode is set to the local bus by the
bus mode pins (MODE11 and MODE12), port input
(pull-up MOS: On) is selected.

01: Port output

10: Port input (pull-up MOS: Off)

11: Port input (pull-up MOS: On)

9

8

PP4MD1

PP4MD0

0

0

R/W

R/W

PP4 Mode

00: PCIC/DU module (

STOP/CDE)*

When the bus mode is set to the local bus by the
bus mode pins (MODE11 and MODE12), port input
(pull-up MOS: On) is selected.

01: Port output

10: Port input (pull-up MOS: Off)

11: Port input (pull-up MOS: On)

Advertising