English
Language : 

MC68HC05V12 Datasheet, PDF (107/246 Pages) Freescale Semiconductor, Inc – HCMOS Microcontreller Unit
Freescale Semiconductor, Inc.
Serial Peripheral Interface (SPI)
SPI Registers
10.6 SPI Registers
The three registers in the SPI, described here, provide control, status,
and data storage functions. These registers are:
• Serial peripheral control register (SPCR)
• Serial peripheral status register (SPSR)
• Serial peripheral data I/O register (SPDR)
10.6.1 Serial Peripheral Control Register
Address: $000A
Bit 7
6
5
4
3
2
1
Read:
SPIE SPE
Write:
0
MSTR CPOL CPHA SPR1
Reset: 0
0
0
0
0
1
U
= Unimplemented
U = Unaffected
Figure 10-4. SPI Control Register (SPCR)
Bit 0
SPR0
U
SPIE — Serial Peripheral Interrupt Enable Bit
1 = SPI interrupt if SPIF = 1
0 = SPIF interrupts disabled
SPE — Serial Peripheral System Enable Bit
1 = SPI system on; port B becomes SPI pins
0 = SPI system off
MSTR — Master Mode Select Bit
1 = Master mode
0 = Slave mode
MC68HC05V12 — Rev. 2.0
Serial Peripheral Interface (SPI)
For More Information On This Product,
Go to: www.freescale.com
Technical Data