s908qc16vdse Freescale Semiconductor, Inc, s908qc16vdse Datasheet - Page 185

no-image

s908qc16vdse

Manufacturer Part Number
s908qc16vdse
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
SPRIE — SPI Receiver Interrupt Enable Bit
SPMSTR — SPI Master Bit
CPOL — Clock Polarity Bit
CPHA — Clock Phase Bit
SPWOM — SPI Wired-OR Mode Bit
SPE — SPI Enable
SPTIE— SPI Transmit Interrupt Enable
Freescale Semiconductor
This read/write bit enables 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.
This read/write bit selects master mode operation or slave mode operation.
This read/write bit determines the logic state of the SPSCK pin between transmissions. (See
Figure 15-4
identical CPOL values.
This read/write bit controls the timing relationship between the serial clock and SPI data. (See
Figure 15-4
identical CPHA values. When CPHA = 0, the SS pin of the slave SPI module must be high between
bytes. (See
This read/write bit configures pins SPSCK, MOSI, and MISO so that these pins become open-drain
outputs.
This read/write bit enables the SPI module. Clearing SPE causes a partial reset of the SPI. (See
Resetting the
This read/write bit enables interrupt requests generated by the SPTE bit. SPTE is set when a byte
transfers from the transmit data register to the shift register.
1 = SPRF interrupt requests enabled
0 = SPRF interrupt requests disabled
1 = Master mode
0 = Slave mode
1 = Wired-OR SPSCK, MOSI, and MISO pins
0 = Normal push-pull SPSCK, MOSI, and MISO pins
1 = SPI module enabled
0 = SPI module disabled
1 = SPTE interrupt requests enabled
0 = SPTE interrupt requests disabled
Reset:
Read:
Write:
Figure
and
and
SPI.)
Figure
Figure
MC68HC908QC16 • MC68HC908QC8 • MC68HC908QC4 Data Sheet, Rev. 4
SPRIE
15-12.)
Bit 7
R
0
15-6.) To transmit data between SPI modules, the SPI modules must have
15-6.) To transmit data between SPI modules, the SPI modules must have
= Reserved
Figure 15-13. SPI Control Register (SPCR)
R
6
0
SPMSTR
5
1
CPOL
4
0
CPHA
3
1
SPWOM
2
0
SPE
1
0
SPTIE
Bit 0
0
Registers
15.3.5
185

Related parts for s908qc16vdse