2 register descriptions – Panasonic MN103001G/F01K User Manual

Page 386

Advertising
background image

I/O Ports

15-20

15.5.2 Register Descriptions

Port 3 is a general-purpose input/output port that is also used for the bus grant signal BG.

Each register for port 3 is described below.

Port 3 output register

Register symbol: P3OUT

Address:

x'36008005

Purpose:

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

Bit No.

7

6

5

4

3

2

1

0

Bit name

-

-

-

-

-

-

-

P30O

Reset

0

0

0

0

0

0

0

0

Access

R

R

R

R

R

R

R

R/W

Port 3 pin register

Register symbol: P3IN
Address:

x'36008085

Purpose:

This register reads the value of the port 3 pin.

Bit No.

7

6

5

4

3

2

1

0

Bit name

-

-

-

-

-

-

-

P30I

Reset

0

0

0

0

0

0

0

X

Access

R

R

R

R

R

R

R

R

Port 3 input/output control register

Register symbol: P3DIR
Address:

x'36008065

Purpose:

This register sets the port 3 pin for input or output.
(0: input; 1: output)

Bit No.

7

6

5

4

3

2

1

0

Bit name

-

-

-

-

-

-

-

P30D

Reset

0

0

0

0

0

0

0

0

Access

R

R

R

R

R

R

R

R/W

Advertising