RM0082
LS_I2C controller
Doc ID 018672 Rev 1
635/844
28.6.20 Interrupt
clearing registers(0x044 - 0x068)
With the aim to clear an individual interrupt (among those supported by the I
2
C controller,
and listed in
), a specific RO register must be read, according to below:
Note:
RX_FULL and TX_EMPTY interrupts have no a specific clearing register, because they are
automatically cleared by hardware when buffer level goes below/above the threshold,
respectively.
28.6.21 IC_ENABLE
register(0x06C)
The IC_ENABLE is a RW register which allow enabling/disabling the I
2
C controller. The
IC_ENABLE bit assignments are given in
Table 564.
IC_CLR_INTR register bit assignments
Bit
Name
Type
Reset
value
Description
[15:01]
Reserved
-
Read: undefined.
[00]
CLR_INTR
RO
1’h0
Reading this register causes interrupt to be
cleared.
Table 565.
Interrupt clearing registers
Register to be read
Relevant interrupt to be cleared (
)
IC_CLR_RX_UNDER
RX_UNDER
IC_CLR_RX_OVER
RX_OVER
IC_CLR_TX_OVER
TX_OVER
IC_CLR_RD_REQ
RD_REQ
IC_CLR_TX_ABRT
TX_ABRT
IC_CLR_RX_DONE
RX_DONE
IC_CLR_ACTIVITY
ACTIVITY
IC_CLR_STOP_DET
STOP_DET
IC_CLR_START_DET
START_DET
IC_CLR_GEN_CALL
GEN_CALL