624
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
Interrupt function
Interrupt event
Event flag
Set control bit
PEC error
PECERR
Timeout /Tlow error
TIMOUT
SMBus Alert
SMBALERT
Note: 1. STARTBF, ADDRF, ADDR10F, STOPF, BSF, RXDATNE and TXDATE are merged into the event interrupt
channel through logical OR.
2. BUSERR, ARLOST, ACKFAIL, OVERRUN, PECERR, TIMEOUT and SMBALERT are merged into the error
interrupt channel through logical OR.
I2C registers
These peripheral registers can be operated by half word (16 bits) or word (32 bits)
22.6.1
I2C register
overview
Table 22-3 I2C register overview
Offset
Register
31
30
29
28
27
26
2
5
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
000h
I2C_CTRL1
Reserved
S
W
R
E
S
E
T
R
es
er
ve
d
S
M
B
AL
E
R
T
P
E
C
AC
KPOS
AC
KE
N
S
T
OPGE
N
S
T
AR
T
GE
N
NO
E
XT
E
ND
GC
E
N
P
E
C
E
N
AR
P
E
N
S
M
B
T
YPE
R
es
er
ve
d
S
M
B
M
OD
E
EN
Reset Value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
004h
I2C_CTRL2
Reserved
DM
AL
AST
DM
AE
N
B
UFI
NT
E
N
E
VT
INT
E
N
E
R
R
INT
E
N
R
es
er
ve
d
CLKFREQ[5:0]
Reset Value
0
0
0
0
0
0
0
0
0
0
0
008h
I2C_OADDR1
Reserved
AD
DR
M
OD
E
R
es
er
ve
d
Reserved
AD
DR
[9:8]
ADDR[7:1]
AD
DR
0
Reset Value
0
0
0
0
0
0
0
0
0
0
0
00Ch
I2C_OADDR2
Reserved
ADDR2[7:1]
DU
AL
E
N
Reset Value
0
0
0
0
0
0
0
0
010h
I2C_DAT
Reserved
DATA[7:0]
Reset Value
0
0
0
0
0
0
0
0
014h
I2C_STS1
Reserved
S
M
B
AL
E
R
T
T
IM
OU
T
R
es
er
ve
d
P
E
C
E
R
R
OV
E
R
R
UN
AC
KFAI
L
AR
L
OST
B
USE
R
R
T
XD
AT
E
R
XD
AT
NE
R
es
er
ve
d
S
T
OPF
AD
DR
10F
B
S
F
AD
DR
F
S
T
AR
T
B
F
Reset Value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
018h
I2C_STS2
Reserved
PECVAL[7:0]
DU
AL
F
L
AG
S
M
B
HA
DD
R
S
M
B
DA
DD
R
GC
AL
L
AD
DR
R
es
er
ve
d
T
R
F
B
USY
M
S
M
OD
E
Reset Value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
01Ch
I2C_CLKCTRL
Reserved
F
S
M
OD
E
DU
T
Y
R
es
er
ve
d
CLKCTRL[11:0]
Reset Value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
020h
I2C_TMRISE
Reserved
TMRISE[5:0]
Reset Value
0
0
0
0
0
0