MC68HC908AP16CFA MOTOROLA [Motorola, Inc], MC68HC908AP16CFA Datasheet - Page 315

no-image

MC68HC908AP16CFA

Manufacturer Part Number
MC68HC908AP16CFA
Description
Microcontrollers
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
15.13.2 SPI Status and Control Register
MC68HC908AP Family — Rev. 2.5
MOTOROLA
Address: $0011
The SPI status and control register contains flags to signal these
conditions:
The SPI status and control register also contains bits that perform these
functions:
SPRF — SPI Receiver Full Bit
Reset:
Read:
Write:
This clearable, read-only flag is set each time a byte transfers from
the shift register to the receive data register. SPRF generates a CPU
interrupt request if the SPRIE bit in the SPI control register is set also.
During an SPRF CPU interrupt, the CPU clears SPRF by reading the
SPI status and control register with SPRF set and then reading the
SPI data register. Reset clears the SPRF bit.
Freescale Semiconductor, Inc.
For More Information On This Product,
Figure 15-14. SPI Status and Control Register (SPSCR)
1 = Receive data register full
0 = Receive data register not full
Receive data register full
Failure to clear SPRF bit before next byte is received (overflow
Transmit data register empty
Enable mode fault error detection
error)
Inconsistent logic level on SS pin (mode fault error)
Enable error interrupts
Select master SPI baud rate
SPRF
Bit 7
0
Go to: www.freescale.com
= Unimplemented
ERRIE
6
0
OVRF
5
0
MODF
4
0
Serial Peripheral Interface Module (SPI)
SPTE
3
1
MODFEN
2
0
SPR1
1
0
I/O Registers
Data Sheet
SPR0
Bit 0
0
315

Related parts for MC68HC908AP16CFA