Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
450
/
631
Bit field
Name
Description
Hardware sets this bit to' 1' (when the corresponding setting is enabled) when the received slave
address matches the content in the OADDR register, or a general call or SMBus device default
address or SMBus host or SMBus alter is recognized.
Note: After receiving NACK, the I2C_STS1.ADDRF bit will not be set.
0
STARTBF
Start bit (Master mode)
After the STS1 register is read by software, writing to the data register will clear this bit, or when
I2C_CTRL1.EN=0, the hardware will clear this bit.
0: Start condition was not sent;
1: Start condition has been sent.
This bit is set to' 1' when the start condition is sent.
I2C Status register 2 (I2C_STS2)
Address offset: 0x18
Reset value: 0x0002
Bit field
Name
Description
15:8
PECVAL[7:0]
Packet error checking register
Stores the internal PEC value When I2C_CTRL1.PECEN =1.
7
DUALFLAG
Dual flag(Slave mode)
Hardware clears this bit when a stop condition or a repeated start condition is generated, or when
I2C_CTRL1.EN=0.
0: Received address matches the content in OADDR1;
1: Received address matches the content in OADDR2.
6
SMBHADDR
SMBus host header
(
Slave mode
)
Hardware clears this bit when a stop condition or a repeated start condition is generated, or when
I2C_CTRL1.EN=0.
0: SMBus host address was not received;
1: when I2C_CTRL1.SMBTYPE=1 and I2C_CTRL1.ARPEN=1, SMBus host address is
received.
5
SMBDADDR
SMBus device default address
(
Slave mode
)
Hardware clears this bit when a stop condition or a repeated start condition is generated, or when
I2C_CTRL1.EN=0.
0: The default address of SMBus device has not been received;
1: when I2C_CTRL1.ARPEN=1, the default address of SMBus device is received.
4
GCALLADDR
General call address(Slave mode)
Hardware clears this bit when a stop condition or a repeated start condition is generated, or when
I2C_CTRL1.EN=0.