Toshiba TLCS-900/L1 Series Manual page 180

Original cmos 16-bit microcontroller
Hide thumbs Also See for TLCS-900/L1 Series:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tmp91c824fgJtmp91c824-s

Table of Contents