beautypg.com

NEC PD17062 User Manual

Page 195

background image

195

µ

PD17062

15.3.3 Port0A Bit I/O Selection Register (P0ABIO)

Port0B Bit I/O Selection Register (P0BBIO)

Port1B Bit I/O Selection Register (P1BBIO)

Port1C Group I/O Selection Register (P1CGPIO)

The Port0A bit I/O selection register sets I/O for each pin of P0A. The Port0B bit I/O selection register sets

I/O for each pin of P0B. The Port1B bit I/O selection register sets I/O for each pin of P1B. The Port1C group

I/O selection register sets I/O for each pin of P1C.

The following explains the configuration and functions.

b

3

b

2

b

1

b

0

0

0

0

P
1
C

G

I

O

b

3

b

2

b

1

b

0

P
1
B
B

I

O

3

P
1
B
B

I

O

2

P
1
B
B

I

O

1

P
1
B
B

I

O

0

b

3

b

2

b

1

b

0

P
0
B
B

I

O

3

P
0
B
B

I

O

2

P
0
B
B

I

O

1

P
0
B
B

I

O

0

b

2

b

1

b

0

P
0
A
B

I

O

3

P
0
A
B

I

O

2

P
0
A
B

I

O

1

P
0
A
B

I

O

0

b

3

27H

35H

36H

37H

R/W

R/W

R/W

R/W

Read/

write

Power-on
Clock stop
CE

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0
1

Register

Flag symbol

Port1C group

I/O selection

(P1CGPIO)

Port1B bit

I/O selection

(P1BBIO)

Port0B bit

I/O selection

(P0BBIO)

Port0A bit

I/O selection

(P0ABIO)

Flag symbol

Flag symbol

Flag symbol

Address

Sets I/O of each general-
purpose port

Port0A

P0A

0

pin

P0A

1

pin

P0A

2

pin

P0A

3

pin

P0B

0

pin

P0B

1

pin

P0B

2

pin

P0B

3

pin

P1B

0

pin

P1B

1

pin

P1B

2

pin

P1B

3

pin

P1C

3

to P1C

1

pins

Port0B

Port1B

Port1C

Input port

Fixed at 0

Output port

At reset