beautypg.com

5 port e control register (pecr) – Renesas SH7641 User Manual

Page 880

background image

Section 22 Pin Function Controller (PFC)

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

REJ09B0023-0400

22.1.5

Port E Control Register (PECR)

PECR is a 32-bit readable/writable register that selects the pin functions. PECR 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

PE15MD2

PE15MD1

0

0

R/W

R/W

29

28

PE14MD2

PE14MD1

0

0

R/W

R/W

27

26

PE13MD2

PE13MD1

0

0

R/W

R/W

25

24

PE12MD2

PE12MD1

0

0

R/W

R/W

23

22

PE11MD2

PE11MD1

0

0

R/W

R/W

21

20

PE10MD2

PE10MD1

0

0

R/W

R/W

19

18

PE9MD2

PE9MD1

0

0

R/W

R/W

17

16

PE8MD2

PE8MD1

0

0

R/W

R/W

15

14

PE7MD2

PE7MD1

0

0

R/W

R/W

13

12

PE6MD2

PE6MD1

0

0

R/W

R/W

11

10

PE5MD2

PE5MD1

0

0

R/W

R/W

9

8

PE4MD2

PE4MD1

0

0

R/W

R/W

PEn Mode 2 and 1

The combination of bits PEnMD2 and PEnMD1 (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 table 22.1.)

When 11 (other functions) is set, the port E I/O register
(PEIOR) controls input or output. For details, see
section 22.1.6, Port E I/O Register (PEIOR).

This manual is related to the following products: