beautypg.com

1 port a control register (pacr) – Renesas SH7641 User Manual

Page 874

background image

Section 22 Pin Function Controller (PFC)

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

REJ09B0023-0400

22.1.1

Port A Control Register (PACR)

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

 All

0

R

Reserved

These bits are always read as 0. The write value should
always be 0.

29

28

PA14MD2

PA14MD1

0

0

R/W

R/W

27

26

PA13MD2

PA13MD1

0

0

R/W

R/W

25

24

PA12MD2

PA12MD1

0

0

R/W

R/W

23

22

PA11MD2

PA11MD1

0

0

R/W

R/W

21

20

PA10MD2

PA10MD1

0

0

R/W

R/W

19

18

PA9MD2

PA9MD1

0

0

R/W

R/W

17

16

PA8MD2

PA8MD1

0

0

R/W

R/W

15

14

PA7MD2

PA7MD1

0

0

R/W

R/W

13

12

PA6MD2

PA6MD1

0

0

R/W

R/W

11

10

PA5MD2

PA5MD1

0

0

R/W

R/W

9

8

PA4MD2

PA4MD1

0

0

R/W

R/W

PAn Mode 2 and 1

The combination of bits PAnMD2 and PAnMD1 (n = 0
to 14) controls the pin functions.

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

guaranteed.)

11: Other functions (see table 22.1.)

This manual is related to the following products: