MC68HC708XL36 FREESCALE [Freescale Semiconductor, Inc], MC68HC708XL36 Datasheet - Page 228

no-image

MC68HC708XL36

Manufacturer Part Number
MC68HC708XL36
Description
HCMOS Microcontroller Unit
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
SPI
I/O Registers
SPI Control
Register
MC68HC708XL36
228
Address: $0010
Three registers control and monitor SPI operation:
The SPI control register does the following:
SPRIE — SPI Receiver Interrupt Enable Bit
Reset:
Read:
Write:
This read/write bit enables CPU interrupt requests or DMA service
requests generated by the SPRF bit. The SPRF bit is set when a byte
transfers from the shift register to the receive data register. Reset
clears the SPRIE bit.
Freescale Semiconductor, Inc.
For More Information On This Product,
1 = SPRF CPU interrupt requests or SPRF DMA service requests
0 = SPRF CPU interrupt requests or SPRF DMA service requests
SPI control register (SPCR)
SPI status and control register (SPSCR)
SPI data register (SPDR)
Enables SPI module interrupt requests
Selects CPU interrupt requests or DMA service requests
Configures the SPI module as master or slave
Selects serial clock polarity and phase
Configures the SPSCK, MOSI, and MISO pins as open-drain
outputs
Enables the SPI module
SPRIE
Bit 7
enabled
disabled
0
Go to: www.freescale.com
Figure 14. SPI Control Register (SPCR)
DMAS
6
0
SPI
SPMSTR
5
1
CPOL
4
0
CPHA
3
1
SPWOM
2
0
SPE
1
0
MOTOROLA
SPTIE
Bit 0
28-spi_c
0

Related parts for MC68HC708XL36