mc68hc908gp20 Freescale Semiconductor, Inc, mc68hc908gp20 Datasheet - Page 338

no-image

mc68hc908gp20

Manufacturer Part Number
mc68hc908gp20
Description
M68hc08 Family Of 8-bit Microcontroller Units Mcus
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc908gp20CFB
Manufacturer:
FREESCALE
Quantity:
1 831
20.14 I/O Registers
20.14.1 SPI Control Register
Advance Information
338
Address: $0010
Three registers control and monitor SPI operation:
The SPI control register:
SPRIE — SPI Receiver Interrupt Enable Bit
Reset:
Read:
Write:
This read/write bit enables CPU interrupt 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.
1 = SPRF CPU interrupt requests
0 = SPRF CPU interrupt requests
SPI control register (SPCR)
SPI status and control register (SPSCR)
SPI data register (SPDR)
Enables SPI module interrupt 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
0
Figure 20-13. SPI Control Register (SPCR)
= Unimplemented
DMAS
6
0
SPMSTR
5
1
CPOL
4
0
CPHA
3
1
MC68HC908GP20
SPWOM
Freescale Semiconductor
2
0
SPE
1
0
Rev 2.1
SPTIE
Bit 0
0

Related parts for mc68hc908gp20