Panasonic MN103001G/F01K User Manual

Page 421

Advertising
background image

I/O Ports

15-55

Port A input/output control register

Register symbol: PADIR
Address:

x'36008074

Purpose:

This register sets the port A pins for input or output.
Valid when the PAM is "1".
(0: input; 1: output)

Bit No.

7

6

5

4

3

2

1

0

Bit name

PA7D PA6D PA5D PA4D PA3D PA2D PA1D PA0D

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 A output mode register

Register symbol: PAMD

Address:

x'36008034

Purpose:

When PAM is "1", the port A pins are set as a general-purpose port; when PAM is "0", the

port A pins are set as address pins.

When PAPU is "1", the port A pins are pulled up.

Note : The setting of PAPU that pulls up (or does not pull up ) the port A pins can be made regardless

of the value of PAM.

Bit No.

7

6

5

4

3

2

1

0

Bit name

-

-

-

-

-

-

PAPU PAM

Reset

0

0

0

0

0

0

0(1)

0

Access

R

R

R

R

R

R

R/W

R/W

() are set in addresses/data multiplex mode.

Advertising