EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #979 background imageLoading...
Page #979 background image
UM1940
LL I2C Generic Driver
DocID028236 Rev 2
979/1371
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.
__LL_I2C_SPEED_FAST_TO_CCR
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:
LL_I2C_DUTYCYCLE_2
LL_I2C_DUTYCYCLE_16_9
Return value:
Value: between Min_Data=0x001 and
Max_Data=0xFFF
__LL_I2C_10BIT_ADDRESS
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
__LL_I2C_10BIT_HEADER_WRITE
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.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals