Inter-integrated Circuit (I2C) Interface
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
275
This is a read-only register used to indicate the current transfer status and FIFO status. The status register may be read at any time. None of the
bits in this register request an interrupt.
When the I
2
C is disabled by writing 0 in bit 0 of the IC_ENABLE
register:
Bits 1 and 2 are set to 1
Bits 3 and 4 are set to 0
When the master or slave state machine goes to idle and ic_en=0:
Bits 5 and 6 are set to 0
31
30
29
…
9
8
7
6
5
4
3
2
1
0
RSVD
SLV_ACTIVITY
MST_ACTIVITY
RFF
RFNE
TFE
TFNF
ACTIVITY
R
R
R
R
R
R
R
Bit
Name
Access
Reset
Description
31:7
RSVD
N/A
-
Reserved
6
SLV_ACTIVITY
R
0x0
Slave FSM Activity Status. When the Slave Finite State Machine (FSM) is not in the IDLE
state, this bit is set.
0: Slave FSM is in IDLE state so the Slave part of I
2
C is not Active
1: Slave FSM is not in IDLE state so the Slave part of I
2
C is Active
5
MST_ACTIVITY
R
0x0
Master FSM Activity Status. When the Master Finite State Machine (FSM) is not in the
IDLE state, this bit is set.
0: Master FSM is in IDLE state so the Master part of I
2
C is not Active
1: Master FSM is not in IDLE state so the Master part of I
2
C is Active
4
RFF
R
0x0
Receive FIFO Completely Full. When the receive FIFO is completely full, this bit is set.
When the receive FIFO contains one or more empty location, this bit is cleared.
0: Receive FIFO is not full
1: Receive FIFO is full
3
RFNE
R
0x0
Receive FIFO Not Empty. This bit is set when the receive FIFO contains one or more
entries; it is cleared when the receive FIFO is empty.
0: Receive FIFO is empty
1: Receive FIFO is not empty
2
TFE
R
0x1
Transmit FIFO Completely Empty. When the transmit FIFO is completely empty, this bit
is set. When it contains one or more valid entries, this bit is cleared. This bit field does
not request an interrupt.
0: Transmit FIFO is not empty
1: Transmit FIFO is empty
1
TFNF
R
0x1
Transmit FIFO Not Full. Set when the transmit FIFO contains one or more empty
locations, and iss cleared when the FIFO is full.
0: Transmit FIFO is full
1: Transmit FIFO is not full
0
ACTIVITY
R
0x0
I
2
C Activity Status, is the OR of
SLV_ACTIVITY
and
MST_ACTIVITY
bits.
13.3.2.30
IC_TXFLR
Name:
I
2
C Transmit FIFO Level Register
Size:
32 bits
Address offset
: 0x74
Read/write access
: read-only
This register contains the number of valid data entries in the transmit FIFO buffer. It is cleared whenever:
The I
2
C is disabled
Whenever there is a transmit abort caused by any of the events tracked in the IC_TX_ABRT_SOURCE register and read IC_CLR_TX_ABRT
register
The register increments whenever data is placed into the transmit FIFO and decrements when data is taken from the transmit FIFO.
31
30
29
…
8
7
6
5
4
3
2
1
0
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03