RM0082
LS_I2C controller
Doc ID 018672 Rev 1
633/844
Note:
M_GEN_CALL bit should be set to 1 when IC_ACK_GENERAL_CALL register is set to 0.
28.6.16 IC_RAW_INTR_STAT register(0x034)
The IC_RAW_INTR_STAT is a RO register which indicates the raw interrupt status (prior to
masking by IC_INTR_MASK register,
) of the I
2
C controller. As bit
assignments show in
, each bit in this register is associated to an interrupt source
(
), and if a bit is set it indicates that relevant interrupt has been issued –
regardless of masking.
Note:
Bit 9 and 10 are used only in debug mode.
There is no status bit for a RESTART condition because it is detected as a normal start
condition. The I2C protocol does not care whether it is a START or RESTART because both
conditions start from the IDLE state and send the message to all the slaves on the bus.
28.6.17 IC_RX_TL
register(0x038)
The IC_RX_TL is a 8 bit RW register which controls the level of entries (or above) in the
receive FIFO that triggers the RX_FULL interrupt. The IC_RX_TL bit assignments are given
in
.
Note:
This register is automatically cleared by hardware when buffer level goes below the
threshold.
Table 561.
IC_RAW_INTR_STAT register bit assignments
Bit
Name
Type
Reset
value
Description
[15:12]
Reserved
-
Read: undefined.
[11]
GEN_CALL
RO
1’h0
Refer to
for a detailed description
of these interrupt sources.
[10]
START_DET
RO
1’h0
[09]
STOP_DET
RO
1’h0
[08]
ACTIVITY
RO
1’h0
[07]
RX_DONE
RO
1’h0
[06]
TX_ABRT
RO
1’h0
[05]
RD_REQ
RO
1’h0
[04]
TX_EMPTY
RO
1’h0
[03]
TX_OVER
RO
1’h0
[02]
RX_FULL
RO
1’h0
[01]
RX_OVER
RO
1’h0
[00]
RX_UNDER
RO
1’h0