MS51
Dec. 17, 2019
Page
93
of 316
Rev 1.01
M
S51
SE
RIES
TE
CHNICA
L REF
ERE
N
CE MA
NU
A
L
I2STAT
– I
2
C Status
Regiser
Address
Reset Value
I2STAT
BDH, all pages
1111_1000 b
7
6
5
4
3
2
1
0
I2STAT[7:3]
0
0
0
R
R
R
R
Bit
Name
Description
7:3
I2STAT[7:3]
I
2
C status code
The MSB five bits of I2STAT contains the status code. There are 27 possible status codes.
When I2STAT is F8H, no relevant state information is available and SI flag keeps 0. All other 26
status codes correspond to the I
2
C states. When each of these status is entered, SI will be set
as logic 1 and a interrupt is requested.
2:0
0
The least significant three bits of I2STAT are always read as 0.