AT89C5131-PLTIL ATMEL Corporation, AT89C5131-PLTIL Datasheet - Page 95
AT89C5131-PLTIL
Manufacturer Part Number
AT89C5131-PLTIL
Description
8-bit Flash Microcontroller with Full Speed USB Device
Manufacturer
ATMEL Corporation
Datasheet
1.AT89C5131-PLTIL.pdf
(176 pages)
- Current page: 95 of 176
- Download datasheet (3Mb)
Registers
Serial Peripheral Control
Register (SPCON)
4136B–USB–09/03
Figure 45. 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.
•
Table 75 describes this register and explains the use of each bit.
Table 75. SPCON Register
SPCON - Serial Peripheral Control Register (0C3H)
Number
SPR2
Bit
The Serial Peripheral Control Register does the following:
–
–
–
–
–
7
6
5
5
4
3
7
Selects one of the Master clock rates
Configure 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
Bit Mnemonic Description
SPIF
MODF
SSDIS
SPEN
SSDIS
MSTR
CPHA
SPR2
SPEN
CPOL
6
Serial Peripheral Rate 2
Bit with SPR1 and SPR0 define the clock rate.
Serial Peripheral Enable
Cleared to disable the SPI interface.
Set to enable the SPI interface.
SS Disable
Cleared to enable SS in both Master and Slave modes.
Set to disable SS in both Master and Slave modes. In Slave mode, this bit has
no effect if CPHA = “0”.
Serial Peripheral Master
Cleared to configure the SPI as a Slave.
Set to configure the SPI as a Master.
Clock Polarity
Cleared to have the SCK set to “0” in idle state.
Set to have the SCK set to “1” in idle low.
Clock Phase
Cleared to have the data sampled when the SCK leaves the idle state (see
CPOL).
Set to have the data sampled when the SCK returns to idle state (see CPOL).
SSDIS
5
SPI Transmitter
CPU Interrupt Request
SPI Receiver/Error
CPU Interrupt Request
MSTR
4
CPOL
3
CPHA
CPU Interrupt Request
2
SPI
AT89C5131
SPR1
1
SPR0
0
95
Related parts for AT89C5131-PLTIL
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
8-bit Flash Microcontroller With Full Speed Usb Device At89c5131
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
2-Wire Serial EEPROM
Manufacturer:
ATMEL Corporation
Datasheet: