beautypg.com

9 port j control register (pjcr) – Renesas SH7781 User Manual

Page 1433

background image

28. General Purpose I/O Ports (GPIO)

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

REJ09B0261-0100

28.2.9

Port J Control Register (PJCR)

PJCR is a 16-bit readable/writable register that selects the pin function and controls the input pull-
up MOS.

0

1

2

3

4

5

6

7

8

9

10

11

12

13

15

14

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

1

PJ0

MD0

PJ0

MD1

PJ1

MD0

PJ1

MD1

PJ2

MD0

PJ2

MD1

PJ3

MD0

PJ3

MD1

PJ4

MD0

PJ4

MD1

PJ5

MD0

PJ5

MD1

PJ6

MD0

PJ6

MD1

PJ7

MD1

PJ7

MD0

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

14

PJ7MD1

PJ7MD0

1

1

R/W

R/W

PJ7 Mode

00: SCIF[5]/HAC[1]/SSI[1] module

(SCIF5_TXD/HAC1_SYNC/SSI1_WS)*

1

01: Port output

10: Port input (pull-up MOS: Off)

11: Port input (pull-up MOS: On)

13

12

PJ6MD1

PJ6MD0

1

1

R/W

R/W

PJ6 Mode

00: SIOF/HAC[0]/SSI[0]module

(SIOF_TXD/HAC0_SDOOUT/SSI0_SDATA)*

1

01: Port output

10: Port input (pull-up MOS: Off)

11: Port input (pull-up MOS: On)

11

10

PJ5MD1

PJ5MD0

1

1

R/W

R/W

PJ5 Mode

00: SIOF/HAC[0]/SSI[0] module

(SIOF_RXD/HAC0_SDIN/SSIO_SCK)*

1

01: Port output

10: Port input (pull-up MOS: Off)

11: Port input (pull-up MOS: On)

9

8

PJ4MD1

PJ4MD0

1

1

R/W

R/W

PJ4 Mode

00: SIOF/HAC[0]/SSI[0] module

(SIOF_SYNC/HAC0_SYNC/SSIO_WS)*

1

01: Port output

10: Port input (pull-up MOS: Off)

11: Port input (pull-up MOS: On)