MOTOROLA
PROGRAMMING REFERENCE
MMC2001
C-32
REFERENCE MANUAL
DRV — Drive Type
This bit controls the configuration of the SPI_CLK, SPI_EN and SPI_MOSI output
buffers in either master mode of the ISPI (MSTR=1). In slave mode, this bit is ignored.
0 =
Outputs are totem-pole while in either master mode
1 =
Outputs are open-drain while in either master mode
MSTR — Master Mode
This bit controls the mode of the ISPI. In slave mode, the SPI_CLK and SPI_EN pins
are inputs; in master modes, they are outputs.
0 =
ISPI operates in slave mode
1 =
ISPI operates in either interval mode or manual mode (see IVL_EN in SICR)
IRQ_EN — Interrupt Request Enable
This bit enables/disables the ISPI interrupt request output signal. This bit is cleared to
zero on reset.
0 =
Interrupts disabled
1 =
Interrupts enabled
PHA — Phase
This bit controls the phase shift of the SPI_CLK.
0 =
Normal phase
1 =
Shift advance to opposite phase
POL — Polarity
This bit controls the polarity of the SPI_CLK.
0 =
Normal polarity
1 =
Inverted polarity
SPIGP — SPI_GP Control
This bit controls the data on the SPI_GP pin.
0 =
Pin driven low
1 =
Pin driven high
BAUD RATE
These bits select the baud rate of the ISPI bit clock based on divisions of the system
clock. The master clock for the ISPI is HI_REFCLK.
Table C-15 BAUD RATE Values
Value
Divide By
000
8
001
16
010
32
011
64
100
128
101
256
110
512
111
1024
Freescale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc.
..