English
Language : 

PD17012_15 Datasheet, PDF (171/320 Pages) Renesas Technology Corp – 4-BIT SINGLE-CHIP MICROCONTROLLERS WITH DIGITAL TUNING SYSTEM HARDWARE
µPD17012, 17P012
15.3.2 Pin status setting by serial I/O mode select register
Table 15-1 shows the status of each pin set by the serial I/O mode select register.
As shown in this table, the I/O select flag of each pin must also be manipulated to set each pin.
For details of the I/O select flag, refer to 10. GENERAL-PURPOSE PORTS.
Table 15-1. Pin Status Setting by Serial I/O Mode Select Register
SIO1MODE
Communication b2 Setting of
mode
serial output
S
I
O
1
H
I
Z
3-wire
serial I/O
0 General-
purpose port
1 Serial output
b1 b0 Clock
direction
Pin symbol
SS
II
OO
11
CC
KK
10
0 0 External clock P0A2/SCK1
0 1 Internal clock
10
11
P0A1/SO1
P0A0/SI1
I/O select
flag of each
pin
P PP
0 00
A AA
B BB
I II
O OO
2 10
Pin
Pin setting status
0
Wait : General-purpose input port
Wait released : External clock input
1
Wait : General-purpose output port
Wait released : External clock input
0
Wait : General-purpose input port
Wait released : Internal clock output
1
Wait : General-purpose output port
Wait released : General-purpose input port
0
General-purpose input port
1
General-purpose output port
0
General-purpose input port
1
Serial output
0 Serial input
1 General-purpose output port
Data Sheet U10101EJ4V0DS
169