eUSCI_B SPI Registers
819
SLAU367P – October 2012 – Revised April 2020
Copyright © 2012–2020, Texas Instruments Incorporated
Enhanced Universal Serial Communication Interface (eUSCI) – SPI Mode
31.5.6 UCBxIE Register
eUSCI_Bx Interrupt Enable Register
Figure 31-18. UCBxIE 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
Reserved
UCTXIE
UCRXIE
r-0
r-0
r-0
r-0
r-0
r-0
rw-0
rw-0
Table 31-17. UCBxIE Register Description
Bit
Field
Type
Reset
Description
15-2
Reserved
R
0h
Reserved
1
UCTXIE
RW
0h
Transmit interrupt enable
0b = Interrupt disabled
1b = Interrupt enabled
0
UCRXIE
RW
0h
Receive interrupt enable
0b = Interrupt disabled
1b = Interrupt enabled
31.5.7 UCBxIFG Register
eUSCI_Bx Interrupt Flag Register
Figure 31-19. UCBxIFG 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
Reserved
UCTXIFG
UCRXIFG
r-0
r-0
r-0
r-0
r-0
r-0
rw-1
rw-0
Table 31-18. UCBxIFG Register Description
Bit
Field
Type
Reset
Description
15-2
Reserved
R
0h
Reserved
1
UCTXIFG
RW
1h
Transmit interrupt flag. UCTXIFG is set when UCxxTXBUF empty.
0b = No interrupt pending
1b = Interrupt pending
0
UCRXIFG
RW
0h
Receive interrupt flag. UCRXIFG is set when UCxxRXBUF has received a
complete character.
0b = No interrupt pending
1b = Interrupt pending