beautypg.com

22 p1bbion (35h), 23 p0bbion (36h) – NEC PD17062 User Manual

Page 85

background image

85

µ

PD17062

9.22 P1BBIOn (35H)

P1BBIOn specifies the PORT1B I/O. When P1BBIOn is set to 0, PORT1B becomes an input port. When

P1BBIOn is set to 1, PORT1B becomes an output port.

9.23 P0BBIOn (36H)

P0BBIOn specifies the PORT0B I/O. When P0BBIOn is set to 0, PORT0B becomes an input port. When

P0BBIOn is set to 1, PORT0B becomes an output port.

b

3

b

2

b

1

b

0

P0BBIO3

P0BBIO2

P0BBIO0

36H

0

1

P0BBIO1

P0B

0

I/O setting

0

1

P0B

1

I/O setting

0

1

P0B

2

I/O setting

0

1

P0B

3

I/O setting

P0B

0

input port

P0B

0

output port

P0B

1

input port

P0B

1

output port

P0B

2

input port

P0B

2

output port

P0B

3

input port

P0B

3

output port

b

3

b

2

b

1

b

0

P1BBIO3

P1BBIO2

P1BBIO0

35H

0

1

P1BBIO1

P1B

0

I/O setting

0

1

P1B

1

I/O setting

0

1

P1B

2

I/O setting

0

1

P1B

3

I/O setting

P1B

0

input port

P1B

0

output port

P1B

1

input port

P1B

1

output port

P1B

2

input port

P1B

2

output port

P1B

3

input port

P1B

3

output port