LS_I2C controller
RM0082
634/844
Doc ID 018672 Rev 1
28.6.18 IC_TX_TL
register(0x03C)
The IC_TX_TL is a 8 bit RW register which controls the level of entries (or below) in the
transmit FIFO that triggers the TX_EMPTY interrupt. The IC_TX_TL bit assignments are
given in
Note:
This register is automatically cleared by hardware when buffer level goes above the
threshold.
28.6.19 IC_CLR_INTR register(0x040)
The IC_CLR_INTR is a RO register which allows to clear the combined interrupt, all
individual interrupts and the TX_ABRT_SOURCE register (
). To clear a
specific interrupt, relevant clearing register has to be used (
).
The IC_CLR_INTR bit assignments are given in
Table 562.
IC_RX_TL register bit assignments
Bit
Name
Type
Reset
value
Description
[15:08]
Reserved
-
Read: undefined. Write: should be zero.
[07:00]
RX_TL
RW
8’h00
RX_FULL interrupt threshold.
This 8 bit field value is the number of entries in
the receive FIFO of the I
2
C controller which
defines the RX_FULL interrupt threshold, as
(RX_TL + 1). The RX_TL valid range is 0
(8’h00) to 255 (8’hFF), resulting in threshold
ranging from 1 to 256.
Apart from numerical valid range, an additional
restriction is that hardware does not allow the
RX_TL value to be set to a value larger than
the depth of the buffer. If an attempt is made to
do that, the actual value set will be the
maximum depth of the buffer.
Table 563.
IC_TX_TL register bit assignments
Bit
Name
Reset
value
Description
[15:08]
Reserved
-
Read: undefined. Write: should be zero.
[07:00]
TX_TL
8’h0
TX_EMPTY interrupt threshold.
This 8 bit field value is the number of entries in the
transmit FIFO of the I
2
C controller which directly
defines the TX_EMPTY interrupt threshold. The
TX_TL valid range is 0 (8’h00) to 255 (8’hFF),
resulting in threshold ranging from 0 to 255,),
Apart from numerical valid range, an additional
restriction is that hardware does not allow the
TX_TL value to be set to a value larger than the
depth of the buffer. If an attempt is made to do that,
the actual value set will be the maximum depth of
the buffer.