English
Language : 

MMC2107 Datasheet, PDF (384/618 Pages) –
Freescale Semiconductor, Inc.
Serial Peripheral Interface Module (SPI)
17.7.7 SPI Port Data Register
Address: 0x00cb_0007
Bit 7
6
5
4
3
2
1
Bit 0
Read:
RSVD7
Write:
RSVD6
RSVD5
RSVD4 PORTSP3 PORTSP2 PORTSP1 PORTSP0
Reset: 0
0
0
0
0
0
0
0
Pin function:
SS
SCK
MOSI/
MOMI
MISO/
SISO
Figure 17-8. SPI Port Data Register (SPIPORT)
Read: Anytime
Write: Anytime
RSVD[7:4] — Reserved
Writing to these read/write bits updates their values but has no effect
on functionality.
PORTSP[3:0] — SPI Port Data Bits
Data written to SPIPORT drives pins only when they are configured
as general-purpose outputs.
Reading an input (DDRSP bit clear) returns the pin level; reading an
output (DDRSP bit set) returns the pin driver input level.
Writing to any of the PORTSP[3:0] pins does not change the pin state
when the pin is configured for SPI output.
SPIPORT I/O function depends upon the state of the SPE bit in
SPICR1 and the state the DDRSP bits in SPIDDR.
Table 17-6. SPI Port Summary
Pullup Enable Control
Reduced Drive Control
Wired-OR
Mode Control
Register
Bit
Reset
State
Register
Bit
Reset
State
Register
Bit
Reset
State
SPIPURD PUPSP
0 SPIPURD RDPSP[1:0] Full drive SPICR1 SWOM Normal
Technical Data
384
Serial Peripheral Interface Module (SPI)
For More Information On This Product,
Go to: www.freescale.com
MMC2107 – Rev. 2.0
MOTOROLA