eUSCI_B SPI Registers
953
SLAU356I – March 2015 – Revised June 2019
Copyright © 2015–2019, Texas Instruments Incorporated
Enhanced Universal Serial Communication Interface (eUSCI) – SPI Mode
25.5.2 UCBxBRW Register
eUSCI_Bx Bit Rate Control Register 1
Figure 25-14. UCBxBRW Register
15
14
13
12
11
10
9
8
UCBRx
rw
rw
rw
rw
rw
rw
rw
rw
7
6
5
4
3
2
1
0
UCBRx
rw
rw
rw
rw
rw
rw
rw
rw
Modify only when UCSWRST = 1.
Table 25-13. UCBxBRW Register Description
Bit
Field
Type
Reset
Description
15-0
UCBRx
RW
0h
Bit clock prescaler setting.
25.5.3 UCBxSTATW Register
eUSCI_Bx Status Register
Figure 25-15. UCBxSTATW Register
15
14
13
12
11
10
9
8
Reserved
r0
r0
r0
r0
r0
r0
r0
r0
7
6
5
4
3
2
1
0
UCLISTEN
UCFE
UCOE
Reserved
UCBUSY
rw-0
rw-0
rw-0
r0
r0
r0
r0
r-0
Modify only when UCSWRST = 1.
Table 25-14. UCBxSTATW Register Description
Bit
Field
Type
Reset
Description
15-8
Reserved
R
0h
Reserved
7
UCLISTEN
RW
0h
Listen enable. The UCLISTEN bit selects loopback mode.
0b = Disabled
1b = Enabled. The transmitter output is internally fed back to the receiver.
6
UCFE
RW
0h
Framing error flag. This bit indicates a bus conflict in 4-wire master mode. UCFE
is not used in 3-wire master or any slave mode.
0b = No error
1b = Bus conflict occurred
5
UCOE
RW
0h
Overrun error flag. This bit is set when a character is transferred into UCxRXBUF
before the previous character was read. UCOE is cleared automatically when
UCxRXBUF is read, and must not be cleared by software. Otherwise, it does not
function correctly.
0b = No error
1b = Overrun error occurred
4-1
Reserved
R
0h
Reserved
0
UCBUSY
R
0h
eUSCI busy. This bit indicates if a transmit or receive operation is in progress.
0b = eUSCI inactive
1b = eUSCI transmitting or receiving