beautypg.com

2 register descriptions – Panasonic MN103001G/F01K User Manual

Page 378

background image

I/O Ports

15-12

15.3.2 Register Descriptions

Port 1 is a general-purpose input/output port that is also used for data bus signals D[7:0], address strobe

signal AS, and read/write select RWSEL.

Each register for port 1 is described below.

Port 1 output register

Register symbol: P1OUT

Address:

x'36008001

Purpose:

This register sets the data to be output on port 1.

Bit No.

7

6

5

4

3

2

1

0

Bit name

P17O P16O P15O P14O P13O P12O P11O P10O

Reset

0

0

0

0

0

0

0

0

Access

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

Port 1 pin register

Register symbol: P1IN
Address:

x'36008081

Purpose:

This register reads the values of the port 1 pins.

Bit No.

7

6

5

4

3

2

1

0

Bit name

P17I

P16I

P15I

P14I

P13I

P12I

P11I

P10I

Reset

X

X

X

X

X

X

X

X

Access

R

R

R

R

R

R

R

R