Atmel Xplained Pro Evaluation Kit ATSAM4E-XPRO ATSAM4E-XPRO データシート
![Atmel](https://files.manualsbrain.com/attachments/0369829915bda09f9c2e00fb805a7753579683b5/common/fit/150/50/8d2bf08978ec3e5bc63f4343ac5e91ce8d0e40045619fa520d910d64af8f/brand_logo.png)
製品コード
ATSAM4E-XPRO
SAM4E [DATASHEET]
Atmel-11157D-ATARM-SAM4E16-SAM4E8-Datasheet_12-Jun-14
812
35.8.5 SPI Status Register
Name: SPI_SR
Address:
0x40088010
Access:
Read-only
RDRF: Receive Data Register Full
0: No data has been received since the last read of SPI_RDR.
1: Data has been received and the received data has been transferred from the shift register to SPI_RDR since the last
read of SPI_RDR.
read of SPI_RDR.
TDRE: Transmit Data Register Empty
0: Data has been written to SPI_TDR and not yet transferred to the shift register.
1: The last data written in the SPI_TDR has been transferred to the shift register.
TDRE equals zero when the SPI is disabled or at reset. The SPI enable command sets this bit to 1.
MODF: Mode Fault Error
0: No mode fault has been detected since the last read of SPI_SR.
1: A mode fault occurred since the last read of SPI_SR.
OVRES: Overrun Error Status
0: No overrun has been detected since the last read of SPI_SR.
1: An overrun has occurred since the last read of SPI_SR.
An overrun occurs when SPI_RDR is loaded at least twice from the shift register since the last read of the SPI_RDR.
ENDRX: End of RX Buffer
0: The Receive Counter register has not reached 0 since the last write in SPI_RCR
.
1: The Receive Counter register has reached 0 since the last write in SPI_RCR
or SPI_RNCR
ENDTX: End of TX Buffer
0: The Transmit Counter register has not reached 0 since the last write in SPI_TCR
or SPI_TNCR
.
1: The Transmit Counter register has reached 0 since the last write in SPI_TCR
or SPI_TNCR
RXBUFF: RX Buffer Full
0: SPI_RCR
or SPI_RNCR
has a value other than 0.
1: Both SPI_RCR
have a value of 0.
31
30
29
28
27
26
25
24
–
–
–
–
–
–
–
–
23
22
21
20
19
18
17
16
–
–
–
–
–
–
–
SPIENS
15
14
13
12
11
10
9
8
–
–
–
–
–
UNDES
TXEMPTY
NSSR
7
6
5
4
3
2
1
0
TXBUFE
RXBUFF
ENDTX
ENDRX
OVRES
MODF
TDRE
RDRF