English
Language : 

MC68HC912DG128 Datasheet, PDF (268/452 Pages) Motorola, Inc – Microcontrollers
Freescale Semiconductor, Inc.
Multiple Serial Interface
CPOL, CPHA — SPI Clock Polarity, Clock Phase
These two bits are used to specify the clock format to be used in SPI
operations. When the clock polarity bit is cleared and data is not being
transferred, the SCK pin of the master device is low. When CPOL is
set, SCK idles high. See Figure 14-4 and Figure 14-5.
SSOE — Slave Select Output Enable
The SS output feature is enabled only in the master mode by
asserting the SSOE and DDS7.
LSBF — SPI LSB First enable
0 = Data is transferred most significant bit first
1 = Data is transferred least significant bit first
Normally data is transferred most significant bit first.This bit does not
affect the position of the MSB and LSB in the data register. Reads and
writes of the data register will always have MSB in bit 7.
SP0CR2 — SPI Control Register 2
Bit 7
6
5
0
0
0
RESET:
0
0
0
$00D1
4
3
2
1
Bit 0
0
PUPS
RDPS SPSWAI SPC0
0
1
0
0
0
Read or write anytime.
PUPS — Pull-Up Port S Enable
0 = No internal pull-ups on port S
1 = All port S input pins have an active pull-up device. If a pin is
programmed as output, the pull-up device becomes inactive
RDPS — Reduce Drive of Port S
0 = Port S output drivers operate normally
1 = All port S output pins have reduced drive capability for lower
power and less noise
SPSWAI — Serial Interface Stop in WAIT mode
0 = Serial interface clock operates normally
1 = Halt serial interface clock generation in WAIT mode
Technical Data
268
MC68HC912DG128 — Rev 3.0
Multiple Serial Interface
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA