beautypg.com

16 port1c i/o setting (27h), 17 serial i/o0 status register (28h) – NEC PD17062 User Manual

Page 82

background image

82

µ

PD17062

9.16 PORT1C I/O SETTING (27H)

9.17 SERIAL I/O0 STATUS REGISTER (28H)

b

3

b

2

b

1

b

0

SIO0SF8

SIO0SF9

SBBSY

28H

0

1

SBSTT

Busy condition detection

0

1

Start condition detection

0

1

9 clock detection

0

1

8 clock detection

Detects the stop condition

Detects the start condition

Resets when the contents of the clock counter become 9

Detects the start condition

Resets when the contents of the clock counter become 0 or 1

Sets when the contents of the clock counter become 9

Resets when the contents of the clock counter become 0 or 1

Sets when the contents of the clock counter become 8

b

3

b

2

b

1

b

0

0

0

P1CGIO

27H

0

1

0

P1C port I/O setting

P1C

1

, P1C

2

, P1C

3

: input port

P1C

1

, P1C

2

, P1C

3

: output port