ST STM32F2 User Manual page 979

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

UM1940
__LL_I2C_SPEED_FAST_TO_CCR
__LL_I2C_10BIT_ADDRESS
__LL_I2C_10BIT_HEADER_WRITE
Compute Speed Standard clock range to
a Clock Control Register
(I2C_CCR_CCR) value.
Parameters:
__PCLK__: This parameter must be a
value of peripheral clock (in Hz).
__SPEED__: This parameter must be a
value lower than 100kHz (in Hz).
Return value:
Value: between Min_Data=0x004 and
Max_Data=0xFFF.
Description:
Compute Speed Fast clock range to a
Clock Control Register (I2C_CCR_CCR)
value.
Parameters:
__PCLK__: This parameter must be a
value of peripheral clock (in Hz).
__SPEED__: This parameter must be a
value between Min_Data=100Khz and
Max_Data=400Khz (in Hz).
__DUTYCYCLE__: This parameter can
be one of the following values:
Return value:
Value: between Min_Data=0x001 and
Max_Data=0xFFF
Description:
Get the Least significant bits of a 10-Bits
address.
Parameters:
__ADDRESS__: This parameter must be
a value of a 10-Bits slave address.
Return value:
Value: between Min_Data=0x00 and
Max_Data=0xFF
Description:
Convert a 10-Bits address to a 10-Bits
header with Write direction.
Parameters:
__ADDRESS__: This parameter must be
a value of a 10-Bits slave address.
DocID028236 Rev 2
LL I2C Generic Driver
LL_I2C_DUTYCYCLE_2
LL_I2C_DUTYCYCLE_16_9
979/1371

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents

Save PDF