Toshiba TLCS-900/H1 Series Manual page 468

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

Advertisement

(3-1) SPI Status Register (SPIST)
The SPIST register contains three bits that indicates the status of data communication.
SPIST
Bit Symbol
(0824H)
Read/Write
Reset State
Function
(0825H)
Bit Symbol
Read/Write
Reset State
Function
(a) TEMP
For UNIT-mode transmission, this bit is cleared to "0" when the transmit register
(SPITD) contains valid data; otherwise, it is set to "1".
For Sequential-mode transmission, this bit is set to "1" when the transmit FIFO
buffer contains no valid data.
(b) TEND
This bit is cleared to "0" when the SPITD register or the transmit FIFO contains
valid transmit data, and also when the transmission is in progress. This bit is set to "1"
after completing the data transmission where the SPITD register and the transmit
FIFO contain no valid data.
(c) REND
For UNIT-mode reception, this bit is set to "1" when completing the data reception
and valid data is stored into the receive data register (if there is any valid data). This
bit is cleared to "0" when the receive register (SPIRD) contains no valid data, or when
the reception is in progress.
For Sequential-mode reception, this bit is set to "1" when the 32-byte receive FIFO is
full with the valid data after completing the reception of the last data. This bit is
cleared to "0" when there is still an empty space of one byte or more in the FIFO.
The RFUL flag does not exist because its function is exactly the same as the REND
flag.
SPIST Register
7
6
5
15
14
13
Figure 3.17.9 SPIST Register
92CF30-466
4
3
2
TEMP
R
1
Transmit
FIFO
Status
0: No empty
space
1: Has an
empty space
12
11
10
TMP92CF30
1
0
TEND
REND
R
1
0
Transmission
Reception
Status
Status
0:
0: Reception
Transmission
in progress
in progress
or not having
or having
receive data
transmit data
1: Reception
1:
Ended or
Transmission
FIFO full
ended
9
8
2009-06-12

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tmp92cf30fg

Table of Contents