42 peripheral module select register 1 (p1mselr) – Renesas SH7781 User Manual

Page 1473

Advertising
background image

28. General Purpose I/O Ports (GPIO)

Rev.1.00 Jan. 10, 2008 Page 1443 of 1658

REJ09B0261-0100

28.2.42

Peripheral Module Select Register 1 (P1MSELR)

P1MSELR is a 16-bit readable/writable register. This register can be used to select the module that
uses multiplexed pins. For details of pin multiplexing, see table 28.1.

This register is valid only when peripheral modules are selected by PACR to PHCR, PJCR to
PNCR, PPCR to PRCR of the GPIO.

0

1

2

3

4

5

6

7

8

9

10

11

12

13

15

14

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

P1M

SEL2

P1M

SEL3

P1M

SEL0

P1M

SEL1

P1M

SEL9

P1M

SEL11

P1M

SEL10

P1M

SEL7

P1M

SEL8

P1M

SEL4

P1M

SEL5

P1M

SEL6

P1M

SEL12

P1M

SEL13

P1M

SEL15

P1M

SEL14

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

Bit:

Initial value:

R/W:

Bit Bit

Name

Initial
value R/W Description

15

P1MSEL15 0

R/W

Out of the modules STATUS and DMAC, selects the
one which uses the pins STATUS0/

DRAK0 and

STATUS1/

DRAK1.

0: STATUS

1: DMAC

14

P1MSEL14 0

R/W

Out of the modules INTC and FLCTL, selects the one
which uses the pins MODE3 to MODE0/

IRL7 to

IRL4/FD7 to FD4.
0: INTC

1: FLCTL

At power-on reset by the

PRESET pin, MODE3 to

MODE0 are selected.

13

P1MSEL13 0

R/W

Out of the modules DMAC and PCIC, selects the one
which uses the pins

DREQ2/INTB and DREQ3/INTC.

0: DMAC

1: PCIC

Advertising