AT89C51IC2-RLTIM ATMEL [ATMEL Corporation], AT89C51IC2-RLTIM Datasheet - Page 77
AT89C51IC2-RLTIM
Manufacturer Part Number
AT89C51IC2-RLTIM
Description
8-bit Flash Microcontroller with 2-wire Interface
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
1.AT89C51IC2-RLTIM.pdf
(147 pages)
- Current page: 77 of 147
- Download datasheet (2Mb)
Registers
Serial Peripheral Control
Register (SPCON)
4301C–8051–06/06
Figure 32. 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 58 describes this register and explains the use of each bit
Table 58. SPCON Register
SPCON - Serial Peripheral Control Register (0C3H)
Bit Number
SPR2
SPIF
MODF
SSDIS
The Serial Peripheral Control Register does the following:
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
7
7
6
5
4
3
2
SPEN
6
Bit Mnemonic
SSDIS
MSTR
SPR2
SPEN
CPOL
CPHA
SPI Transmitter
CPU Interrupt Request
SSDIS
SPI Receiver/error
CPU Interrupt Request
5
Description
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’. When SSDIS is set, no MODF
interrupt request is generated
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).
MSTR
4
CPOL
3
CPU Interrupt Request
SPI
.
CPHA
2
AT89C51IC2
SPR1
1
SPR0
0
77
Related parts for AT89C51IC2-RLTIM
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
Part Number:
Description:
At89c51ic2 8-bit Flash Microcontroller With 2-wire Interface
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
IC MICRO CTRL 24MHZ 44TQFP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC MICRO CTRL 24MHZ 44PLCC
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC MICRO CTRL 24MHZ 44PLCC
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC MICRO CTRL 24MHZ 40DIP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC MICRO CTRL 24MHZ 40DIP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
8-bit microcontroller with 4K bytes flash, 5V, 20MHz
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
8-bit microcontroller with 4K bytes flash, 5V, 20MHz
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
357-036-542-201 CARDEDGE 36POS DL .156 BLK LOPRO
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
IC MICRO CTRL 24MHZ 44TQFP
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
IC 8051 MCU FLASH 4K 44TQFP
Manufacturer:
Atmel
Datasheet: