AT83C5122_08 ATMEL [ATMEL Corporation], AT83C5122_08 Datasheet - Page 143

no-image

AT83C5122_08

Manufacturer Part Number
AT83C5122_08
Description
C51 Microcontroller with USB and Smart Card Reader Interfaces
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Serial Peripheral Status Register
(SPSTA)
4202F–SCR–07/2008
The
conditions:
Table 86. Serial Peripheral Status and Control Register - SPSTA (C4h)
Reset Value = 00X0XXXXb
Number
3 - 0
SPIF
Bit
Data transfer complete
Write collision
Inconsistent logic level on SS pin (mode fault error)
Serial Peripheral Status Register contains flags to signal the following
7
7
6
5
4
Mnemonic
SSERR
WCOL
MODF
WCOL
SPIF
Bit
6
-
Mode Description
R/W
RW
SSERR
R
R
R
R
5
Serial Peripheral data transfer flag
Clear by hardware to indicate data transfer is in progress or has been
approved by a clearing sequence.
Set by hardware to indicate that the data transfer has been completed.
Write Collision flag
Cleared by hardware to indicate that no collision has occurred or has
been approved by a clearing sequence.
Set by hardware to indicate that a collision has been detected.
Synchronous Serial Slave Error flag
Set by hardware when SS is modified before the end of a received data.
Cleared by disabling the SPI (clearing SPEN bit in SPCON).
Mode Fault
Cleared by hardware to indicate that the SS pin is at appropriate logic
level, or has been approved by a clearing sequence.
Set by hardware to indicate that the SS pin is at inappropriate logic level
Reserved
The value read from this bit is indeterminate. Do not change these bits.
AT83R5122, AT8xC5122/23
MODF
4
3
-
2
-
1
-
0
-
143

Related parts for AT83C5122_08