Status Register (Spsr) - Renesas RZ/A Series User Manual

Hide thumbs Also See for RZ/A Series:
Table of Contents

Advertisement

RZ/A1L Group, RZ/A1LU Group, RZ/A1LC Group
16.3.4

Status Register (SPSR)

SPSR indicates the operating status.
Bit
Bit Name
7
SPRF
6
TEND
5
SPTEF
4, 3
R01UH0437EJ0600 Rev.6.00
Jan 29, 2021
Bit:
7
6
5
SPRF
TEND SPTEF
Initial value:
0
1
1
R/W:
R
R
R
Note: * Only 0 can be written to clear the flag after reading 1.
Initial Value R/W
Function
0
R
Receive Buffer Full Flag
Indicates that the number of receive data units in the receive buffer
(SPRX) is equal to or greater than the receive buffer data triggering
number specified in the buffer control register (SPBFCR).
0: The number of receive data units in the receive buffer is less than the
receive buffer data triggering number.
1: The number of receive data units in the receive buffer is equal to or
greater than the receive buffer data triggering number.
[Clearing conditions]
• The receive buffer data is read until the number of data units in the
receive buffer becomes less than the specified receive buffer data
triggering number.
• Receive buffer data reset is enabled.
• Power-on reset
[Setting condition]
• The number of data units in the receive buffer is equal to or greater
than the specified receive buffer data triggering number.
1
R
Transmit End
This bit is set to 1 when transmission is completed, and this bit is 0 when
transmission is not completed.
[Clearing condition]
• When transmit data are transferred from the transmit register to the
shift register.
[Setting condition]
• When the number of data units in the transmit buffer (SPTX) is zero
when a serial transfer is completed.
Note: This bit is valid only in SPI master mode.
1
R
Transmit Buffer Empty Flag
Indicates that the number of transmit data units in the transmit buffer
(SPTX) is equal to or less than the transmit buffer data triggering number
specified in the buffer control register (SPBFCR).
0: The number of transmit data units in the transmit buffer is equal to or
1: The number of transmit data units in the transmit buffer is less than the
[Clearing condition]
• When data is written to the transmit buffer until the number of transmit
data units in the transmit buffer exceeds the specified transmit buffer
data triggering number.
[Setting conditions]
• When the number of transmit data units in the transmit buffer is less
than the specified transmit buffer data triggering number.
• When transmit buffer data reset is enabled.
• Power-on reset
All 0
R
Reserved
The write value should always be 0. Otherwise, operation cannot be
guaranteed.
16. Renesas Serial Peripheral Interface
4
3
2
1
MODF
OVRF
0
0
0
0
R
R
R/(W)*
R
R/(W)*
greater than the specified transmit buffer data triggering number.
specified transmit buffer data triggering number.
0
0
16-8

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rz/a1 seriesRz/a1lu seriesRz/a1lc series

Table of Contents