Registers
1451
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Serial Peripheral Interface (SPI)
29.3.8 SPI Pin Control Register 2 (SPIPC2)
The SPI pin control register 2 (SPIPC2) 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-25. SPI Pin Control Register 2 (SPIPC2)
31
16
Reserved
R-0
15
12
11
10
9
8
Reserved
SOMIDIN
SIMODIN
CLKDIN
ENADIN
R-0
R-U
R-U
R-U
R-U
7
0
SCS0DIN[
n
]
(1)
R-U
LEGEND: R = Read only; U = Undefined; -
n
= value after reset
Table 29-16. SPI Pin Control Register 2 (SPIPC2) Field Descriptions
Bit
Field
Value
Description
31-12
Reserved
0
Reads return zero and writes have no effect.
11
SOMIDIN
SPIx_SOMI data in. This bit reflects the value of the SPIx_SOMI pin.
0
Current value of SPIx_SOMI pin is logic 0.
1
Current value of SPIx_SOMI pin is logic 1.
10
SIMODIN
SPIx_SIMO data in. This bit reflects the value of the SPIx_SIMO pin.
0
Current value of SPIx_SIMO pin is logic 0.
1
Current value of SPIx_SIMO pin is logic 1.
9
CLKDIN
Clock data in. This bit reflects the value of the SPIx_CLK pin.
0
Current value of SPIx_CLK pin is logic 0.
1
Current value of SPIx_CLK pin is logic 1.
8
ENADIN
SPIx_ENA data in. This bit reflects the value of the SPIx_ENA pin.
0
Current value of SPIx_ENA pin is logic 0.
1
Current value of SPIx_ENA pin is logic 1.
7-0
SCS0DIN[
n
]
SPIx_SCS[n] data in. This bit reflects the value of the SPIx_SCS[n] 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
Current value of SPIx_SCS[n] pin is logic 0.
1
Current value of SPIx_SCS[n] pin is logic 1.