Panasonic MN103001G/F01K User Manual

Page 425

Advertising
background image

I/O Ports

15-59

Port B input/output control register

Register symbol: PBDIR
Address:

x'36008075

Purpose:

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

Bit No.

7

6

5

4

3

2

1

0

Bit name

PB7D PB6D PB5D PB4D PB3D PB2D PB1D PB0D

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

Register symbol: PBMD

Address:

x'36008035

Purpose:

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

B pins are set as address pins.

When PBPU is "1", the port B pins are pulled up.

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

of the value of PBM.

Bit No.

7

6

5

4

3

2

1

0

Bit name

-

-

-

-

-

-

PBPU PBM

Reset

0

0

0

0

0

0

0(1)

0

Access

R

R

R

R

R

R

R/W

R/W

() are set in address/data multiplex mode.

Advertising