RM0082
LS_I2C controller
Doc ID 018672 Rev 1
637/844
28.6.23
IC_TXFLR and IC_RXFLR registers (0x074 - 0x078)
The IC_TXFLR (transmit FIFO level) and the IC_RXFLR (receive FIFO level) are RO
registers which contain the number of valid entries in the transmit and in the receive FIFO
buffer, respectively. The IC_TXFLR and IC_RXFLR bit assignments are given in
These registers increment whenever data is placed into the transmit or receive FIFO, and
decrement when data is taken from the transmit or receive FIFO. They are cleared when
either the I
2
C controller is disabled or whenever there is a transmission abort. Besides, the
IC_TXFLR register is cleared also if the slave bulk transfer mode (
) is aborted.
28.6.24 IC_TX_ABRT_SOURCE register (0x080)
The IC_TX_ABRT_SOURCE (Transmit Abort Source) is a RW register which indicates the
source of the transmission abort signal. This register is cleared whenever the processor
reads it or when the processor issues a clear signal to all interrupts. The
IC_TX_ABRT_SOURCE bit assignments are given in
.
[03]
RFNE
1’h0
Receive FIFO not empty.
If set, this bit indicates that the receive FIFO
contains one or more entries. This bit is cleared
when the receive FIFO is empty. This bit can be
polled by software to completely empty the receive
FIFO.
[02]
TFE
1’h1
Transmit FIFO completely empty.
If set, this bit indicates that the transmit FIFO is
completely empty. This bit is cleared when the
FIFO contains one or more valid entries. This bit
does not request an interrupt.
[01]
TFNF
1’h1
Transmit FIFO not full.
If set, this bit indicates that the transmit FIFO
contains one or more empty location (that is, it is
not full). This bit is cleared when it is full.
[00]
ACTIVITY
1’h0
I
2
C activity status.
Table 567.
IC_STATUS register bit assignments (continued)
Bit
Name
Reset
value
Description
Table 568.
IC_TXFLR and IC_RXFLR register bit assignments
Bit
Name
Type
Reset
value
Description
[31:04]
Reserved
-
Read: undefined. Write: should be zero.
[03:00]
TXFLR/ RXFLR
RO
4’h0
Transmit (or receive) FIFO level.