![Geehy SEMICONDUCTOR APM32F405 Series Скачать руководство пользователя страница 356](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630356.webp)
www.geehy.com Page 355
Field
Name
R/W
Description
(1) Stop bit is generated
(2) Repeated start bit is generated
(3) I2CEN=0
5
SMBDADDRFLG
R
SMBus Device Received Default Address Flag in Slave Mode
0: Failed to receive the default address
1: Received the default address when ARPEN=1
This bit can be set to 1 by hardware; and be cleared by
hardware when one of the following conditions is met:
(1) Stop bit is generated
(2) Repeated start bit is generated
(3) I2CEN=0
6
SMMHADDR
R
SMBus Device Received Master Header Flag in Slave Mode
0: Failed to receive the master head address
1: Received the master head address when SMBTSEL=1 and
ARPEN=1
This bit can be set to 1 by hardware; and be cleared by
hardware when one of the following conditions is met:
(1) Stop bit is generated
(2) Repeated start bit is generated
(3) I2CEN=0
7
DUALADDRFLG
R
Flag of receiving the double-address matching in slave mode
(Slave Mode Received Dual Address Match Flag)
0: The received address matches the content of ADDR1 register
1: The received address matches the content of ADDR2 register
This bit can be set to 1 by hardware; and be cleared by
hardware when one of the following conditions is met:
(1) Stop bit is generated
(2) Repeated start bit is generated
(3) I2CEN=0
15:8
PECVALUE
R
Save PEC value (Save Packet Error Checking Value)
When PECEN=1, the internal PEC value is saved in
PECVALUE.
Master clock control register (I2C_CLKCTRL)
Offset address: 0x1C
Reset value: 0x0000
Field
Name
R/W
Description
11:0
CLKS [11:0] R/W
Clock Setup in Fast/Standard Master Mode
In I2C standard mode or SMBus mode:
T
high
=CLKS × T
PCLK1
T
low
=CLKS × T
PCLK1
In I2C fast mode:
When FDUTYCFG=0:
T
high
=CLKS×T
PCLK1
T
low
=2×CLKS× T
PCLK1
When FDUTYCFG=1:
T
high
=9 × CLKS × T
PCLK1