eUSCI_B I2C Registers
858
SLAU367P – October 2012 – Revised April 2020
Copyright © 2012–2020, Texas Instruments Incorporated
Enhanced Universal Serial Communication Interface (eUSCI) – I
2
C Mode
32.4.16 UCBxIFG Register
eUSCI_Bx I2C Interrupt Flag Register
Figure 32-32. UCBxIFG Register
15
14
13
12
11
10
9
8
Reserved
UCBIT9IFG
UCTXIFG3
UCRXIFG3
UCTXIFG2
UCRXIFG2
UCTXIFG1
UCRXIFG1
r0
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
7
6
5
4
3
2
1
0
UCCLTOIFG
UCBCNTIFG
UCNACKIFG
UCALIFG
UCSTPIFG
UCSTTIFG
UCTXIFG0
UCRXIFG0
rw-0
rw-0
rw-0
rw-0
rw-0
rw-0
rw-1
rw-0
Table 32-19. UCBxIFG Register Description
Bit
Field
Type
Reset
Description
15
Reserved
R
0h
Reserved
14
UCBIT9IFG
RW
0h
Bit position 9 interrupt flag
0b = No interrupt pending
1b = Interrupt pending
13
UCTXIFG3
RW
0h
eUSCI_B transmit interrupt flag 3. UCTXIFG3 is set when UCBxTXBUF is empty
in slave mode, if the slave address defined in UCBxI2COA3 was on the bus in
the same frame.
0b = No interrupt pending
1b = Interrupt pending
12
UCRXIFG3
RW
0h
Receive interrupt flag 3. UCRXIFG3 is set when UCBxRXBUF has received a
complete byte in slave mode and if the slave address defined in UCBxI2COA3
was on the bus in the same frame.
0b = No interrupt pending
1b = Interrupt pending
11
UCTXIFG2
RW
0h
eUSCI_B transmit interrupt flag 2. UCTXIFG2 is set when UCBxTXBUF is empty
in slave mode, if the slave address defined in UCBxI2COA2 was on the bus in
the same frame.
0b = No interrupt pending
1b = Interrupt pending
10
UCRXIFG2
RW
0h
Receive interrupt flag 2. UCRXIFG2 is set when UCBxRXBUF has received a
complete byte in slave mode and if the slave address defined in UCBxI2COA2
was on the bus in the same frame.
0b = No interrupt pending
1b = Interrupt pending
9
UCTXIFG1
RW
0h
eUSCI_B transmit interrupt flag 1. UCTXIFG1 is set when UCBxTXBUF is empty
in slave mode, if the slave address defined in UCBxI2COA1 was on the bus in
the same frame.
0b = No interrupt pending
1b = Interrupt pending
8
UCRXIFG1
RW
0h
Receive interrupt flag 1. UCRXIFG1 is set when UCBxRXBUF has received a
complete byte in slave mode and if the slave address defined in UCBxI2COA1
was on the bus in the same frame.
0b = No interrupt pending
1b = Interrupt pending
7
UCCLTOIFG
RW
0h
Clock low time-out interrupt flag
0b = No interrupt pending
1b = Interrupt pending
6
UCBCNTIFG
RW
0h
Byte counter interrupt flag. When using this interrupt the user needs to ensure
enough processing bandwidth (see the Byte Counter Interrupt section).
0b = No interrupt pending
1b = Interrupt pending