AT89C5122 ATMEL [ATMEL Corporation], AT89C5122 Datasheet - Page 145

no-image

AT89C5122

Manufacturer Part Number
AT89C5122
Description
MICROCONTROLLER WITH USB AND SMART CARD READER INTERFACES
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89C5122D-ALRUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5122D-RDRIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5122D-RDRUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5122D-RDVIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5122D-SISUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C5122D-UM
Manufacturer:
MAXIM
Quantity:
1 001
Part Number:
AT89C5122DS-RDTUM
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT89C5122DS-UM
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Serial Peripheral Status Register
(SPSTA)
4202D–SCR–06/05
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.
MODF
4
3
-
2
-
1
-
0
-
145

Related parts for AT89C5122