Inter-integrated Circuit (I2C) Interface
User Manual All information provided in this document is subject to legal disclaimers. © REALTEK 2019. All rights reserved.
269
7
M_RX_DONE
R/W
0x0
6
M_TX_ABRT
R/W
0x0
5
M_RD_REQ
R/W
0x0
4
M_TX_EMPTY
R/W
0x0
3
M_TX_OVER
R/W
0x0
2
M_RX_FULL
R/W
0x0
1
M_RX_OVER
R/W
0x0
0
M_RX_UNDER
R/W
0x0
13.3.2.14
IC_RAW_INTR_STAT
Name:
I
2
C Raw Interrupt Status Register
Size:
32 bits
Address offset
: 0x34
Read/write access
: read-only
Unlike the IC_INTR_STAT
register, these bits are not masked so they always show the true status of the I
2
C.
31
30
29
28
27
26
25
24
RSVD
23
22
21
20
19
18
17
16
RSVD
15
14
13
12
11
10
9
8
DMA_I2C_DONE
MS_CODE_DET
RSVD
ADDR_MATCH
GEN_CALL
START_DET
STOP_DET
ACTIVITY
R
R
R
R
R
R
R
7
6
5
4
3
2
1
0
RX_DONE
TX_ABRT
RD_REQ
TX_EMPTY
TX_OVER
RX_FULL
RX_OVER
RX_UNDER
R
R
R
R
R
R
R
R
Bit
Name
Access
Reset Description
31:16 RSVD
N/A
-
Reserved
15
DMA_I2C_DONE R
0x0
Set when DMA operation is finished.
14
MS_CODE_DET
R
0x0
Indicates whether Master code is indicated in HS mode.
13
RSVD
N/A
-
Reserved
12
ADDR_MATCH
R
0x0
Set when slave address is matched in low power mode
11
GEN_CALL
R
0x0
Set only when a General Call address is received and it is acknowledged. It stays set until it is
cleared either by disabling I
2
C or when the CPU reads bit 0 of the IC_CLR_GEN_CALL register.
I
2
C stores the received data in the Rx buffer.
10
START_DET
R
0x0
Indicates whether a START or RESTART condition has occurred on the I
2
C interface regardless
of whether I
2
C is operating in slave or master mode.
9
STOP_DET
R
0x0
Indicates whether a STOP condition has occurred on the I
2
C interface regardless of whether
I
2
C is operating in slave or master mode.
Note:
There is no status bit for a RESTART condition because it is detected as a normal start
condition. The I
2
C 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.
8
ACTIVITY
R
0x0
This bit captures I
2
C activity and stays set until it is cleared. There are four ways to clear it.
Disabling the I
2
C
Reading the IC_CLR_ACTIVITY register
Reading the IC_CLR_INTR register
System reset
Once this bit is set, it stays set unless one of the four methods is used to clear it. Even if the
I
2
C module is idle, this bit remains set until cleared, indicating that there was activity on the
bus.
7
RX_DONE
R
0x0
When the I
2
C is acting as a slave-transmitter, this bit is set to 1 if the master does not
acknowledge a transmitted byte. This occurs on the last byte of the transmission, indicating
that the transmission is done.
Realtek confidential files
The document authorized to
SZ99iot
2019-05-15 10:08:03