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o
n
. H
o
w
e
v
e
r
,
i
f
s
y
n
c
h
r
o
n
o
u
s
c
l
o
c
k
s
i
n
p
u
t
a
r
e
c
a
r
r
i
e
d
o
n
,
t
h
e
t
r
a
n
s
m
i
t
d
a
t
a
w
i
l
l
b
e
o
u
t
p
u
t
c
o
n
t
i
n
u
o
u
s
l
y
f
r
o
m
t
h
e
S
O
U
T
2
p
i
n
b
e
c
a
u
s
e
s
h
i
f
t
s
o
f
s
e
r
i
a
l
I
/
O
2
s
h
i
f
t
r
e
g
i
s
t
e
r
i
s
c
o
n
t
i
n
u
e
d
a
s
l
o
n
g
a
s
s
y
n
c
h
r
o
n
o
u
s
c
l
o
c
k
s
a
r
e
i
n
p
u
t
.
N
o
t
e
s
●Serial I/O2 Operating
The serial I/O2 counter is initialized to “7” by writing to the serial
I/O2 register.
After writing, whenever a synchronous clock changes from “H” to
“L”, data is output from the SOUT2 pin. Moreover, whenever a syn-
chronous clock changes from “L” to “H”, data is taken in from the
SIN2 pin, and 1 bit shift of the serial I/O2 register is carried out si-
multaneously.
When the internal clock is selected as a synchronous clock, it is
as follows if a synchronous clock is counted 8 times.
•Serial I/O2 counter = “0”
•Synchronous clock stops in “H” state
•Serial I/O2 interrupt request bit = “1”
The SOUT2 pin is in a high impedance state after transfer is com-
pleted.
When the external clock is selected as a synchronous clock, if a
synchronous clock is counted 8 times, the serial I/O2 interrupt re-
quest bit is set to “1”, and the SOUT2 pin holds the output level of
D7. However, if a synchronous clock continues being input, the
shift of the serial I/O2 register is continued and transmission data
continues being output from the SOUT2 pin.










