beautypg.com

NEC PD17062 User Manual

Page 204

background image

204

µ

PD17062

16.1.1 SIO0CH

The SIO0CH flag is used to select the channel of the serial interface.

When the SIO0CH flag is set to 0, the serial interface hardware is connected to CH0. When the SIO0CH flag

is set to 1, the serial interface hardware is connected to CH1.

The external pin of the unselected channels is used as a general-purpose port.

Table 16-4 Channel Setting of Serial Interface

16.1.2 SB

The SB flag specifies the serial interface protocol.

When the SB flag is set to 0, serial I/O mode is specified. When the SB flag is set to 1, two-wire bus mode

is specified.

Since CH1 does not support two-wire bus mode, the SB flag must be set to 0 when CH1 is used.

Table 16-5 Specification of Serial Interface Protocol

SIO0CH

Channel to be selected

0

CH0

1

CH1

SB

Protocol

0

Serial I/O mode

1

Two-wire bus mode