NuMicro® NUC029LEE/NUC029SEE
32-bit Arm
®
Cortex
®
-M0 Microcontroller
Aug, 2018
Page
409
of
497
Rev 1.00
N
U
MICRO
®
N
UC02
9L
E
E
/N
UC029
S
E
E
T
E
CHN
ICA
L R
E
F
E
R
E
NC
E
M
A
NU
A
L
I
2
C Status Register (I2CSTATUS )
Register
Offset
R/W Description
Reset Value
I2CSTATUS
n=0,1
0x0C
R
I
2
C Status Register
0x0000_00F8
31
30
29
28
27
26
25
24
Reserved
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
Reserved
7
6
5
4
3
2
1
0
I2CSTATUS
Bits
Description
[31:8]
Reserved
Reserved.
[7:0]
I2CSTATUS
I
2
C Status Register
There are 26 possible status codes.
When I2CSTATUS contains 0xF8, no serial interrupt is requested.
All other I2CSTATUS values correspond to defined I
2
C states. When each of these states
is entered, a status interrupt is requested (SI (I2CON[3])= 1). A valid status code is present
in I2CSTATUS one cycle after SI is set by hardware and is still present one cycle after SI
has been reset by software.
In addition, states 0x00 stands for a Bus Error. A Bus Error occurs when a START or
STOP condition is present at an illegal position in the formation frame. Example of illegal
position are during the serial transfer of an address byte, a data byte or an acknowledge
bit.