Atmel AT91M55800A Answering Machine User Manual


 
199
1745D–ATARM–04-Nov-05
AT91M55800A
20.7.5 SPI Status Register
Register Name: SP_SR
Access Type: Read-only
Reset State: 0
Offset: 0x10
RDRF: Receive Data Register Full (Code Label SP_RDRF)
0 = No data has been received since the last read of SP_RDR.
1 = Data has been received and the received data has been transferred from the serializer to SP_RDR since the last read
of SP_RDR.
TDRE: Transmit Data Register Empty (Code Label SP_TDRE)
0 = Data has been written to SP_TDR and not yet transferred to the serializer.
1 = The last data written in the Transmit Data Register has been transferred in 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 (Code Label SP_MODF)
0 = No Mode Fault has been detected since the last read of SP_SR.
1 = A Mode Fault occurred since the last read of the SP_SR.
OVRES: Overrun Error Status (Code Label SP_OVRES)
0 = No overrun has been detected since the last read of SP_SR.
1 = An overrun has occurred since the last read of SP_SR.
An overrun occurs when SP_RDR is loaded at least twice from the serializer since the last read of the SP_RDR.
SPENDRX: End of Receiver Transfer (Code Label SP_ENDRX)
0 = The End of Transfer signal from the Peripheral Data Controller channel dedicated to the receiver is inactive.
1 = The End of Transfer signal from the Peripheral Data Controller channel dedicated to the receiver is active.
SPENDTX: End of Transmitter Transfer (Code Label SP_ENDTX)
0 = The End of Transfer signal from the Peripheral Data Controller channel dedicated to the transmitter is inactive.
1 = The End of Transfer signal from the Peripheral Data Controller channel dedicated to the transmitter is active.
SPIENS: SPI Enable Status (Code Label SP_SPIENS)
0 = SPI is disabled.
1 = SPI is enabled.
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
7 6 5 4 3 2 1 0
SPENDTX SPENDRX OVRES MODF TDRE RDRF