72
µ
PD17062
Table 9-1 Peripheral Hardware Control Functions of Control Registers (3/5)
Remark *: Retains the previous state. **: Indefinite
Peripheral hardware
Control register Peripheral hardware control function At reset
Register Ad-
dress Read/
write
b3
b2
b1
b0
Symbol Function outline Set value
01
P
o
w
e
r
O
n
S
T
O
P
C
E
A/D converterGeneral-purpose portSerial interface
A/D converter
controll
register
Port 1C group
I/O select
register
Port 1B bit I/O
select register
Port 0B bit I/O
select register
Port 0A bit I/O
select register
Serial I/O0
mode select
register
Serial I/O0
wait control
register
21H R/W
27H R/W
35H R/W
36H R/W
37H R/W
08H R/W
18H R/W
ADCCH2
ADCCH1
ADCCH0
ADCCMP
0
0
0
P1CGIO
P1BBIO3
P1BBIO2
P1BBIO1
P1BBIO0
P0BBIO3
P0BBIO2
P0BBIO1
P0BBIO0
P0ABIO3
P0ABIO2
P0ABIO1
P0ABIO0
SIO0CH
SB
SIO0MS
SIO0TX
SBACK
SIO0NWT
SIO0WRQ1
SIO0WRQ0
Selects the pin used as an
A/D converter
Detects the comparison result
Fixed at 0
Sets I/O of port 1C (group I/O)
P1B
3
pin
P1B
2
pin
P1B
1
pin
P1B
0
pin
P0B
3
pin
P0B
2
pin
P0B
1
pin
P0B
0
pin
P0A
3
pin
P0A
2
pin
P0A
1
pin
P0A
0
pin
I/O setting
(bit I/O)
Sets the number of communication lines
Sets the communication method
Sets master/slave
Sets the transfer direction
Sets and detects acknowledge (I
2
C bus method)
Sets the wait permission
Sets the wait mode
0: AD0
2: AD2
4: AD4
6, 7: Not to be set
1: AD1
3: AD3
5: AD5
V
IN
< V
REF
V
IN
> V
REF
Input Output
Input Output
2-wire method 3-wire method
Serial I/O method
I
2
C bus method
(only for 2-wire method)
Master operation Slave operation
Reception Transmission
Permitted Released
Sets and detects 0 and 1
0110
0011
No
wait Data
wait
Acknow-
ledge
wait
Ad-
dress
wait
000
000
000
000
000
** * *