English
Language : 

UPSD3354DV-40U6 Datasheet, PDF (148/272 Pages) STMicroelectronics – fast 8032 MCU with programmable logic
Synchronous peripheral interface (SPI)
UPSD33xx
Table 87.
Bit 7
–
SPICON1: SPI Interface Control register 1 (SFR D7h, Reset Value 00h)
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
–
–
–
TEIE
RORIE
TIE
RIE
Table 88. SPICON1 register bit definition
Bit
Symbol
R/W
Definition
7-4
–
–
Reserved
Transmission End Interrupt Enable
3
TEIE
RW 0 = Disable Interrupt for Transmission End
1 = Enable Interrupt for Transmission End
Receive Overrun Interrupt Enable
2
RORIE
RW 0 = Disable Interrupt for Receive Overrun
1 = Enable Interrupt for Receive Overrun
Transmission Interrupt Enable
) 1
TIE
RW 0 = Disable Interrupt for SPITDR empty
t(s 1 = Enable Interrupt for SPITDR empty
c Reception Interrupt Enable
u 0
RIE
RW 0 = Disable Interrupt for SPIRDR full
rod 1 = Enable Interrupt for SPIRDR full
te P Table 89.
ole Bit 7
bs DIV128
SPICLKD: SPI Prescaler (Clock Divider) register (SFR D2h, Reset Value
04h)
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
DIV64
DIV32
DIV16
DIV8
DIV4
–
–
) - O Table 90.
t(s Bit
duc 7
Pro 6
lete5
Obso 4
SPICLKD register bit definition
Symbol
R/W
Definition
DIV128
DIV64
DIV32
DIV16
0 = No division
RW
1 = Divide fOSC clock by 128
0 = No division
RW
1 = Divide fOSC clock by 64
0 = No division
RW
1 = Divide fOSC clock by 32
0 = No division
RW
1 = Divide fOSC clock by 16
0 = No division
3
DIV8
RW
1 = Divide fOSC clock by 8
0 = No division
2
DIV4
RW
1 = Divide fOSC clock by 4
1-0
Not Used
–
148/272
Doc ID 9685 Rev 7