Registers
1449
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Serial Peripheral Interface (SPI)
29.3.6 SPI Pin Control Register 0 (SPIPC0)
The SPI pin control register 0 (SPIPC0) is shown in
and described in
(1)
Not all devices support multiple slave chip select (SPIx_SCS[n]) pins, see your device-specific data manual for supported pins. If the pins
are not available, the corresponding bit is reserved and should be cleared to 0.
Figure 29-23. SPI Pin Control Register 0 (SPIPC0)
31
16
Reserved
R-0
15
12
11
10
9
8
Reserved
SOMIFUN
SIMOFUN
CLKFUN
ENAFUN
R-0
R/W-0
R/W-0
R/W-0
R/W-0
7
0
SCS0FUN[
n
]
(1)
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 29-14. SPI Pin Control Register 0 (SPIPC0) Field Descriptions
Bit
Field
Value
Description
31-12
Reserved
0
Reads return zero and writes have no effect.
11
SOMIFUN
Slave out, master in pin function. This bit determines whether the SPIx_SOMI pin is to be used as a
general-purpose I/O pin or as a SPI functional pin.
0
SPIx_SOMI pin is a GPIO pin.
1
SPIx_SOMI pin is a SPI functional pin.
10
SIMOFUN
Slave in, master out pin function. This bit determines whether the SPIx_SIMO pin is to be used as a
general-purpose I/O pin or as a SPI functional pin.
0
SPIx_SIMO pin is a GPIO pin.
1
SPIx_SIMO pin is a SPI functional pin.
9
CLKFUN
SPI clock pin function. This bit determines whether the SPIx_CLK pin is to be used as a general-
purpose I/O pin, or as a SPI functional pin.
0
SPIx_CLK pin is a GPIO pin.
1
SPIx_CLK pin is a SPI functional pin.
8
ENAFUN
SPI enable pin function. This bit determines whether the SPIx_ENA pin is to be used as a general-
purpose I/O pin, or as a SPI functional pin.
0
SPIx_ENA pin is a GPIO pin.
1
SPIx_ENA pin is a SPI functional pin.
7-0
SCS0FUN[
n
]
SPI chip select pin
n
function. This bit determines whether the SPIx_SCS[n] pin is to be used as a
general-purpose I/O pin, or as a SPI functional pin.
Not all devices support multiple slave chip select (SPIx_SCS[n]) pins, see your device-specific data
manual for supported pins. If the pins are not available, the corresponding bit is reserved and should be
cleared to 0.
0
SPIx_SCS[n] pin is a GPIO pin.
1
SPIx_SCS[n] pin is a SPI functional pin.