14.6.2.15 I2C FIFO Receive (I2CFFRX) Register (Offset = 21h) [reset = 0h]
The I2C receive FIFO register (I2CFFRX) is a 16-bit register that contains the control and status bits for the
receive FIFO mode of operation on the I2C peripheral.
Figure 14-33. I2C FIFO Receive (I2CFFRX) Register
15
14
13
12
11
10
9
8
RESERVED
RXFFRST
RXFFST
R-0h
R/W-0h
R-0h
7
6
5
4
3
2
1
0
RXFFINT
RXFFINTCLR
RXFFIENA
RXFFIL
R-0h
R-0/W1S-0h
R/W-0h
R/W-0h
Table 14-24. I2C FIFO Receive (I2CFFRX) Register Field Descriptions
Bit
Field
Type
Reset
Description
15-14
RESERVED
R
0h
Reserved
13
RXFFRST
R/W
0h
I2C receive FIFO reset bit
Reset type: SYSRSn
0h (R/W) = Reset the receive FIFO pointer to 0000 and hold the
receive FIFO in the reset state.
1h (R/W) = Enable the receive FIFO operation.
12-8
RXFFST
R
0h
Contains the status of the receive FIFO:
xxxxx Receive FIFO contains xxxxx bytes
00000 Receive FIFO is empty.
Reset type: SYSRSn
7
RXFFINT
R
0h
Receive FIFO interrupt flag.
This bit cleared by a CPU write of a 1 to the RXFFINTCLR bit. If the
RXFFIENA bit is set, this bit will generate an interrupt when it is set
Reset type: SYSRSn
0h (R/W) = Receive FIFO interrupt condition has not occurred.
1h (R/W) = Receive FIFO interrupt condition has occurred.
6
RXFFINTCLR
R-0/W1S
0h
Receive FIFO interrupt flag clear bit.
Reset type: SYSRSn
0h (R/W) = Writes of zeros have no effect. Reads return a zero.
1h (R/W) = Writing a 1 to this bit clears the RXFFINT flag.
5
RXFFIENA
R/W
0h
Receive FIFO interrupt enable bit.
Reset type: SYSRSn
0h (R/W) = Disabled. RXFFINT flag does not generate an interrupt
when set.
1h (R/W) = Enabled. RXFFINT flag does generate an interrupt when
set.
4-0
RXFFIL
R/W
0h
Receive FIFO interrupt level.
These bits set the status level that will set the receive interrupt flag.
When the RXFFST4-0 bits reach a value equal to or greater than
these bits, the RXFFINT flag is set. This will generate an interrupt if
the RXFFIENA bit is set.
Note: Since these bits are reset to zero, the receive FIFO interrupt
flag will be set if the receive FIFO operation is enabled and the I2C
is taken out of reset. This will generate a receive FIFO interrupt if
enabled. To avoid this, modify these bits on the same instruction as
or prior to setting the RXFFRST bit. Because the I2C on this device
has a 4-level receive FIFO, these bits cannot be configured for an
interrupt of more than 4 FIFO levels.
Reset type: SYSRSn
Inter-Integrated Circuit Module (I2C)
876
TMS320x2806x Microcontrollers
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......