mc68hc708mp16 Freescale Semiconductor, Inc, mc68hc708mp16 Datasheet - Page 279

no-image

mc68hc708mp16

Manufacturer Part Number
mc68hc708mp16
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc708mp16CFU
Manufacturer:
FRE/MOT
Quantity:
20 000
13.14.2 SPI Status and Control Register
MC68HC708MP16
Freescale Semiconductor
Rev. 3.1
Address: $001C
The SPI status and control register contains flags to signal the following
conditions:
The SPI status and control register also contains bits that perform the
following 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.
Figure 13-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
error)
Inconsistent logic level on SS pin (mode fault error)
Transmit data register empty
Enable error interrupts
Enable mode fault error detection
Select master SPI baud rate
Serial Peripheral Interface Module (SPI)
SPRF
Bit 7
0
= Unimplemented
ERRIE
6
0
OVRF
5
0
MODF
4
0
Serial Peripheral Interface Module (SPI)
SPTE
3
1
MODFEN
2
0
SPR1
1
0
Technical Data
SPR0
Bit 0
0
279

Related parts for mc68hc708mp16