μ
PD17072,17073
52
– – – – – – – – -
0
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
ADCCH1
Selects pin used for A/D converter
– – – – – – – – -
ADCCH0
Table 8-1. Peripheral Hardware Control Functions of Peripheral Control Registers (3/4)
Peripheral
Control register
Peripheral hardware control function
At reset
hardware
Name
Address
Read/ b
3
Functional outline
Set value
Power-
Clock
CE
Write
b
2
Symbol
ON stop
b
1
b
0
0
1
A/D
A/D converter
(BANK1)
R/W
0
Fixed to 0
0
0
0
converter
channel select
5CH
register
A/D converter
(BANK1)
R/W
ADCRFSEL3
Sets compare voltage
– – – – – – – – –
0
0
0
reference
5DH
ADCRFSEL2
– – – – – – – – –
voltage setting
ADCRFSEL1
– – – – – – – – –
register
ADCRFSEL0
A/D converter
(BANK1)
R/W
0
Fixed to 0
0
0
0
compare start
5EH
0
register
0
ADCSTRT
Invalid/Stop
Starts/operates
A/D converter
(BANK1)
R
0
Fixed to 0
0
0
0
compare result
5FH
0
detection register
0
ADCCMP
Detects compare result
V
ADCIN
< V
REF
V
ADCIN
> V
REF
General-
Port 0B bit I/O
(BANK1)
R/W
P0BBIO3
– – – – – – – – –
P0B3 pin
Input
Output
0
0
0
purpose
select register
6EH
P0BBIO2
– – – – – – – – –
P0B2 pin
port
P0BBIO1
– – – – – – – – –
P0B1 pin
P0BBIO0
P0B0 pin Sets I/O mode of
Port 0C bit I/O
(BANK1)
R/W
P0DBIO3
– – – – – – – – –
P0D3 pin these pins (bit I/O)
select register
6FH
P0DBIO2
– – – – – – – – –
P0D2 pin
P0CBIO1
– – – – – – – – –
P0C1 pin
P0CBIO0
P0C0 pin
Serial
Serial I/O mode
(BANK1)
R/W
0
Fixed to 0
0
0
0
interface
select register
60H
SIOSEL
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
Selects serial I/O mode of P0B3/SI/SO1 pin
Serial input
Serial output
SIOHIZ
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
Sets P1C0/SO0 pin in serial output mode
Serial output
SIOTS
Sets start or stop of operation
Stops operation
Starts operation
Serial I/O clock
(BANK1)
R/W
0
Fixed to 0
0
0
0
select register
61H
0
SIOCK1
– – – – – – – – -
Sets clock of serial interface
SIOCK0
comparator operation
0
Not used
0
0
1
1
AD0
AD1
AD1
1
0
1
0
External clock
12.5 kHz 18.75 kHz 37.5 kHz
0
1
0
1
1
0
1
– – – – – – – – -
– – – – – – – – -
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
– – – – – – – – -
– – – – – – – – -
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
– – – – – – – – -
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
V
REF
=
x + 0.5
16
×
V
DD
(V)
(0
≤
x
≤
0FH)