Status Register 2 (I2C_Sr2) - ST STM32F102 Series Reference Manual

Hide thumbs Also See for STM32F102 Series:
Table of Contents

Advertisement

RM0008
23.6.7

Status register 2 (I2C_SR2)

Address offset: 0x18
Reset value:0x0000
15
14
13
12
r
r
r
Bits 15:8 PEC[7:0] Packet Error Checking Register
This register contains the internal PEC when ENPEC=1.
Bit 7 DUALF: Dual Flag (Slave mode)
0: Received address matched with OAR1
1: Received address matched with OAR2
– Cleared by hardware after a Stop condition or repeated Start condition, or when PE=0.
Bit 6 SMBHOST: SMBus Host Header (Slave mode)
0: No SMBus Host address
1: SMBus Host address received when SMBTYPE=1 and ENARP=1.
– Cleared by hardware after a Stop condition or repeated Start condition, or when PE=0.
Bit 5 SMBDEFAULT: SMBus Device Default Address (Slave mode)
0: No SMBus Device Default address
1: SMBus Device Default address received when ENARP=1
– Cleared by hardware after a Stop condition or repeated Start condition, or when PE=0.
Bit 4 GENCALL: General Call Address (Slave mode)
0: No General Call
1: General Call Address received when ENGC=1
– Cleared by hardware after a Stop condition or repeated Start condition, or when PE=0.
Bit 3 Reserved, forced by hardware to 0.
11
10
9
PEC[7:0]
r
r
r
r
Inter-integrated circuit (I
8
7
6
5
SMB
SMB
DUALF
DEF
HOST
AULT
r
r
r
r
2
C) interface
4
3
2
1
GEN
Res.
TRA
BUSY
CALL
r
r
r
0
MSL
r
605/690

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F102 Series and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Stm32f101 seriesStm32f103 series

Table of Contents