at83c5122 ATMEL Corporation, at83c5122 Datasheet - Page 143

no-image

at83c5122

Manufacturer Part Number
at83c5122
Description
At83c5123 C51 Microcontroller With Usb And Smart Card Reader Interfaces
Manufacturer
ATMEL Corporation
Datasheet
Registers
Serial Peripheral Control
Register (SPCON)
4202E–SCR–06/06
Mode Fault flag, MODF: This bit becomes set to indicate that the level on the SS is
inconsistent with the mode of the SPI. MODF with SSDIS reset, generates receiver/error
CPU interrupt requests.
Figure 89 gives a logical view of the above statements.
Figure 89. SPI Interrupt Requests Generation
There are three registers in the module that provide control, status and data storage
functions. These registers are describes in the following paragraphs.
The Serial Peripheral Control Register does the following:
Selects one of the Master clock rates
Configures the SPI module as Master or Slave
Selects serial clock polarity and phase
Enables the SPI module
Frees the SS pin for a general-purpose
SPIF
MODF
SSDIS
CPU Interrupt Request
SPI Transmitter
SPI Receiver/error
CPU Interrupt Request
CPU Interrupt Request
SPI
AT8xC5122/23
143

Related parts for at83c5122