beautypg.com

2 port b control register (pbcr) – Renesas SH7641 User Manual

Page 876

background image

Section 22 Pin Function Controller (PFC)

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

REJ09B0023-0400

22.1.2

Port B Control Register (PBCR)

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

 All

0

R

Reserved

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

17

16

PB8MD2

PB8MD1

0

0

R/W

R/W

15

14

PB7MD2

PB7MD1

0

0

R/W

R/W

13

12

PB6MD2

PB6MD1

0

0

R/W

R/W

11

10

PB5MD2

PB5MD1

0

0

R/W

R/W

9

8

PB4MD2

PB4MD1

0

0

R/W

R/W

7

6

PB3MD2

PB3MD1

0

0

R/W

R/W

5

4

PB2MD2

PB2MD1

0

0

R/W

R/W

3

2

PB1MD2

PB1MD1

0

0

R/W

R/W

1

0

PB0MD2

PB0MD1

0

0

R/W

R/W

PBn Mode 2 and 1

The combination of bits PBnMD2 and PBnMD1 (n = 0
to 8) 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: