beautypg.com

3 port c control register (pccr) – Renesas SH7641 User Manual

Page 877

background image

Section 22 Pin Function Controller (PFC)

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

REJ09B0023-0400

22.1.3

Port C Control Register (PCCR)

PCCR is a 32-bit readable/writable register that selects the pin functions. PCCR is initialized to
H'0C000000 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

PC15MD2

PC15MD1

0

0

R/W

R/W

29

28

PC14MD2

PC14MD1

0

0

R/W

R/W

27

26

PC13MD2

PC13MD1

1

1

R/W

R/W

25

24

PC12MD2

PC12MD2

0

0

R/W

R/W

23

22

PC11MD2

PC11MD1

0

0

R/W

R/W

21

20

PC10MD2

PC10MD1

0

0

R/W

R/W

19

18

PC9MD2

PC9MD1

0

0

R/W

R/W

17

16

PC8MD2

PC8MD1

0

0

R/W

R/W

15

14

PC7MD2

PC7MD1

0

0

R/W

R/W

13

12

PC6MD2

PC6MD1

0

0

R/W

R/W

11

10

PC5MD2

PC5MD1

0

0

R/W

R/W

9

8

PC4MD2

PC4MD1

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.)

This manual is related to the following products: