English
Language : 

UPSD3422_06 Datasheet, PDF (140/293 Pages) STMicroelectronics – Turbo Plus Series Fast Turbo 8032 MCU with USB and Programmable Logic
SPI (synchronous peripheral interface)
uPSD34xx
Table 63.
Bit 7
–
SPICON0: control register 0 (SFR D6h, reset value 00h)
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
TE
RE
SPIEN
SSEL
FLSB
SBO
Bit 0
–
Bit
Symbol
R/W
Definition
7
–
–
Reserved
Transmitter Enable
6
TE
RW 0 = Transmitter is disabled
1 = Transmitter is enabled
Receiver Enable
5
RE
RW 0 = Receiver is disabled
1 = Receiver is enabled
SPI Enable
4
SPIEN
RW 0 = Entire SPI Interface is disabled
1 = Entire SPI Interface is enabled
Slave Selection
0 = SPISEL output pin is constant logic '1' (slave device not
3
SSEL
RW selected)
1 = SPISEL output pin is logic '0' (slave device is selected)
during data transfers
First LSB
2
FLSB
RW 0 = Transfer the most significant bit (MSB) first
1 = Transfer the least significant bit (LSB) first
Sampling Polarity
0 = Sample transfer data at the falling edge of clock (SPICLK
1
SPO
–
is '0' when idle)
1 = Sample transfer data at the rising edge of clock (SPICLK is
'1' when idle)
0
–
–
Reserved
140/293