at91rm3400 ATMEL Corporation, at91rm3400 Datasheet - Page 245

no-image

at91rm3400

Manufacturer Part Number
at91rm3400
Description
Atmel Advanced At91 Arm Microcontroller
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
at91rm3400-AU-002
Manufacturer:
Atmel
Quantity:
10 000
SPI Status Register
Name:
Access Type:
• 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 serializer to SPI_RDR since the last read
of SPI_RDR.
• TDRE: Transmit Data Register Empty
0 = Data has been written to SPI_TDR and not yet transferred to the serializer.
1 = The last data written in the Transmit Data Register has been transferred to the serializer.
TDRE equals zero when the SPI is disabled or at reset. The SPI enable command sets this bit to one.
• 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 the 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 serializer 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 or SPI_RNCR.
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 have a value other than 0.
1 = Both SPI_RCR and SPI_RNCR have a value of 0.
• TXBUFE: TX Buffer Empty
0 = SPI_TCR or SPI_TNCR have a value other than 0.
1 = Both SPI_TCR and SPI_TNCR have a value of 0.
• SPIENS: SPI Enable Status
0 = SPI is disabled.
1 = SPI is enabled.
1790A–ATARM–11/03
TXBUFE
31
23
15
7
SPI_SR
Read-only
RXBUFF
30
22
14
6
ENDTX
29
21
13
5
ENDRX
28
20
12
4
OVRES
27
19
11
3
MODF
26
18
10
2
TDRE
AT91RM3400
25
17
9
1
SPIENS
RDRF
24
16
8
0
245

Related parts for at91rm3400