beautypg.com

NEC PD17062 User Manual

Page 37

background image

37

µ

PD17062

Fig. 5-6 Correspondence Between Port Registers and Ports (Pins)

70H

P0A

71H

P0B

72H

P0C

73H

P0D

70H

P1A

71H

P1B

72H

P1C

73H

Fixed at 0

b

3

P0A3

b

2

P0A2

b

1

P0A1

b

0

P0A0

b

3

P0B3

b

2

P0B2

b

1

P0B1

b

0

P0B0

b

3

P0C3

b

2

P0C2

b

1

P0C1

b

0

P0C0

b

3

P0D3

b

2

P0D2

b

1

P0D1

b

0

P0D0

b

3

P1A3

b

2

P1A2

b

1

P1A1

b

0

P1A0

b

3

P1B3

b

2

P1B2

b

1

P1B1

b

0

P1B0

b

3

P1C3

b

2

P1C2

b

1

P1C1

b

0

P1C0

Port0A

Port0B

Port0C

Port0D

Port1A

Port1B

Port1C

P0A

3

P0A

2

P0A

1

P0A

0

P0B

3

P0B

2

P0B

1

P0B

0

P0C

3

P0C

2

P0C

1

P0C

0

P0D

3

P0D

2

P0D

1

P0D

0

P1A

3

P1A

2

P1A

1

P1A

0

P1B

3

P1B

2

P1B

1

P1B

0

P1C

3

P1C

2

P1C

1

General-purpose port data register

Address

Bank Symbol

Bit

symbol

Corresponding

port

Pin

Symbol

Input or output

BANK0
BANK2

BANK1

Input and output

(group I/O)

Output

Input

Input and output

(bit I/O)

Output

Input and output

(bit I/O)

Input and output

(bit I/O)