LS_I2C controller
RM0082
636/844
Doc ID 018672 Rev 1
28.6.22 IC_STATUS
register(0x070)
The IC_STATUS is a RO register which is used to indicate the current transfer status and the
FIFO status. The status register may be read at any time. None of the bits in this register
request an interrupt. The IC_STATUS bit assignments are given in
Table 566.
IC_ENABLE register bit assignments
Bit
Name
Type
Reset
value
Description
[15:01]
Reserved
-
Read: undefined. Write: should be zero.
[00]
ENABLE
RW
1’h0
I
2
C controller enable.
Setting this bit, the I
2
C controller is enabled,
otherwise (bit cleared) it is disabled.
Software should not disable the I
2
C controller
while it is active. With this aim, the ACTIVITY
bit in IC_STATUS register (
can be polled by software. When disabled, if
the module was transmitting, the I
2
C controller
stops as well as deletes the contents of the
transmit buffer after the current transfer is
complete. If the module was receiving, the I
2
C
controller stops the current transfer at the end
of the current byte and does not acknowledge
the transfer.
Table 567.
IC_STATUS register bit assignments
Bit
Name
Reset
value
Description
[15:07]
Reserved
-
Read: undefined.
[06]
SLV_ACTIVITY
1’h0
Slave FSM activity status.
This bit reports the slave Finite State Machine
(FSM) status, according to the encoding:
‘b0, In IDLE state. = Not active.
‘b1, Not in IDLE state. = Active.
[05]
MST_ACTIVITY
1’h0
Master FSM activity status.
This bit reports the master FSM status, according
to the encoding:
‘b0, In IDLE state. = Not active.
‘b1,Not in IDLE state. = Active.
Note: ACTIVITY field (bit[0]) in this register is the
OR of SLV_ACTIVITY and MST_ACTIVITY bits.
[04]
RFF
1’h0
Receive FIFO completely full.
If set, this bit indicates that the receive FIFO is
completely full. This bit is cleared when the receive
FIFO contains one or more empty locations.