beautypg.com

4 port d control register (pdcr) – Renesas SH7641 User Manual

Page 878

background image

Section 22 Pin Function Controller (PFC)

Rev. 4.00 Sep. 14, 2005 Page 828 of 982

REJ09B0023-0400

Bit Bit

Name

Initial
Value R/W

Description

7

6

PC3MD2

PC3MD1

0

0

R/W

R/W

5

4

PC2MD2

PC2MD1

0

0

R/W

R/W

3

2

PC1MD2

PC1MD1

0

0

R/W

R/W

1

0

PC0MD2

PC0MD1

0

0

R/W

R/W

PCn Mode 2 and 1

The combination of bits PCnMD2 and PCnMD1 (n = 0
to 15) controls the pin functions.

00: Port input

01: Port output

10: Reserved (When set, correct operation cannot be

guaranteed.)

11: Other functions (see table22.1.)

22.1.4

Port D Control Register (PDCR)

PDCR is a 32-bit readable/writable register that selects the pin functions. PDCR is initialized to
H'00000000 (MD3 = 0, 16-bit bus width) or H'FFFFFFFF (MD3 = 1, 32-bit bus width) by a
power-on reset, and it is not initialized by a manual reset, in standby mode, or in sleep mode.

Bit Bit

Name

Initial
Value R/W

Description

31

30

PD15MD2

PD15MD1

0/1

0/1

R/W

R/W

29

28

PD14MD2

PD14MD1

0/1

0/1

R/W

R/W

27

26

PD13MD2

PD13MD1

0/1

0/1

R/W

R/W

25

24

PD12MD2

PD12MD1

0/1

0/1

R/W

R/W

23

22

PD11MD2

PD11MD1

0/1

0/1

R/W

R/W

21

20

PD10MD2

PD10MD1

0/1

0/1

R/W

R/W

19

18

PD9MD2

PD9MD1

0/1

0/1

R/W

R/W

PDn Mode 2 and 1

The combination of bits PDnMD2 and PDnMD1 (n = 0
to 15) controls the pin functions.

00: Port input
01: Port output
10: Reserved (When set, correct operation cannot be

guaranteed.)

11: Other functions (see table22.1.)

This manual is related to the following products: