TMP91C824
91C824-175
Example: Program to stop data transmission (when an external clock is used)
SBI0DBR
INTSBI interrupt
request
<SIOS>
<SIOF>
<SEF>
SCK pin (output)
SO pin
b
a
0
a
1
a
2
a
3
a
4
a
5
a
6
a
7
b
0
b
1
b
2
b
3
b
4
b
5
b
6
b
7
*
Clear<SIOS>
a
Write transmitted data
(a) Internal clock
SBI0DBR
INTSBI interrupt
request
<SIOS>
<SIOF>
<SEF>
SCK pin (input)
SO pin
b
a
0
a
1
a
2
a
3
a
4
a
5
a
6
a
7
b
0
b
1
b
2
b
3
b
4
b
5
b
6
b
7
*
Clear <SIOS>
a
Write transmitted data
(b) External clock
Figure 3.10.26
Transfer Mode
STEST1: BIT
SEF, (SBI0SR)
; If <SEF> = 1 then loop
JR NZ, STEST1
STEST2: BIT
0, (P6)
; If SCK ]= 0 then loop
JR Z, STEST2
LD
(SBI0CR1),
00000111B
; <SIOS>
←
0